Repository navigation
Releases
Releases · riverqueue/river
v0.51.2
Fixed
- Accept
sqlite:pathandsqlite::memory:in the CLI alongside the existingsqlite://forms, including offline migration SQL export. PR #1588. - Reject empty SQLite paths in commands that connect to a database; bare prefixes remain valid for offline migration SQL export. PR #1588.
- Fixed
JobListParams.Wherewriting into the firstNamedArgsit's given when merging multiple sets of named arguments, which could leak arguments into a map the caller reused for another query. It also no longer panics when the first set isnil. PR #1575.
ruby/v0.16.1
js/v0.3.2
java/v0.4.1
Fixed
- Normalize
sqlite://URLs before opening JDBC connections so relative paths remain relative andsqlite://:memory:opens an in-memory database. Preservesqlite:and nativejdbc:sqlite:URLs. PR #1588.- Upgrade note:
sqlite://var/lib/x.dbnow opens./var/lib/x.dbinstead of/var/lib/x.db. Usesqlite:///var/lib/x.dbto keep targeting the absolute path.
- Upgrade note:
- Reject empty SQLite paths in commands that connect to a database; bare prefixes remain valid for offline migration SQL export. PR #1588.
java/v0.4.0
Added
- Expose
Client.QUEUE_DEFAULT("default") for queue configuration and operations, matching the default queue constant in other River clients. PR #1557.
Fixed
- Isolate batch peer decoding failures so valid peers continue working, preserving each failed peer's own error through handler failures and completion retries. PR #1586.
v0.51.1
Fixed
- Fixed a client ignoring queue pause, resume, or metadata changes until it restarted when the queue control notification was lost, as happens if it's sent while the client's notifier is reconnecting. Clients with a notifier now also check their queues' settings once a minute. Issue #1579.
- Fixed the notifier never reconnecting when its connection went silent without an error, like after a dropped network path, because its health check ping had no timeout. The ping now times out after 10 seconds. Issue #1579.
- Fixed maintenance services logging errors during normal shutdown or leadership loss, including
PeriodicJobEnqueuerreportingError starting transaction: context canceledwhen stopped during staggered startup. Genuine query timeouts and database failures are still logged, and periodic job transactions now roll back even after cancellation. PR #1577.
rust/v0.6.0
Added
- Add
riverqueue migrate-getto export Postgres or SQLite migration SQL without a database connection, with Go-compatible version selection, exclusions, ordering, schema substitution, and migration headers. PR #1584.
rust/v0.5.1
Fixed
- Align migration CLI output with Go:
migrate-listshows every bundled version and name, marking the latest applied version with*; migration progress uses the Go format and reports when nothing remains to apply; successful validation is silent. SQL output now requires--show-sql, including with--dry-run. PR #1580. - Recover queue pause, resume, and metadata changes whose notifications were lost by polling persisted settings once a minute, including while the listener remains disconnected. Issue #1579.
- Fixed Postgres maintenance, including reindexing, reporting a failure when a query error raced with shutdown or leadership loss. Successful query results, including commits, are preserved. PR #1577.
js/v0.3.1
Fixed
- Fixed maintenance services logging failures during shutdown or leadership loss when a driver returned a socket or SQL error instead of the cancellation reason. Genuine query timeouts and database failures are still reported. PR #1577.
- Fixed a cancelled job that was retried being cancelled again when the client checked for cancellation requests, which it does while polling and after its notification stream reconnects. Retrying a job now clears its earlier attempt's cancellation request, like River for Go. PR #1564.
ruby/v0.16.0
Added
- Add
output:toClient#job_updateandRiver::JobUpdateParamsto persist job output immediately with an atomic metadata update that preserves other keys. Explicitoutput: nilstores JSON null; whenmetadata:is also supplied, output is applied to that replacement metadata. PR #1568.
Fixed
- Reduce database overhead in the Active Record and Sequel drivers: use
RETURNINGto avoid redundant row fetches, claim batches and clean up finalized jobs in one statement, and omit unnecessary transactions. Return Active Record connections to the pool after operations and avoid allocating models for job reads. Avoid slow Postgres fetching-index scans for updates and deletes targeting a job by ID when state statistics are stale. PR #1574. - Prevent ordinary job wakeups from interrupting maintenance error backoff and causing rapid retries during persistent failures. PR #1574.
- Enforce the 32 MiB encoded UTF-8 JSON limit for
Job#output=, preserving previous output when validation fails. PR #1569.