Skip to content

Releases

v0.51.2

Choose a tag to compare

@brandur brandur released this 09 Nov 19:35
8468ff2

Fixed

  • Accept sqlite:path and sqlite::memory: in the CLI alongside the existing sqlite:// 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.Where writing into the first NamedArgs it'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 is nil. PR #1575.

ruby/v0.16.1

Choose a tag to compare

@brandur brandur released this 09 Nov 21:15
8a08041

Fixed

  • Accept sqlite: and sqlite:// URLs with both Active Record and Sequel, including :memory: databases, while preserving the sqlite3: aliases. PR #1588.
  • Reject empty SQLite paths in commands that connect to a database; bare prefixes remain valid for offline migration SQL export. PR #1588.

js/v0.3.2

Choose a tag to compare

@brandur brandur released this 09 Nov 20:16
8a08041

Fixed

  • Accept sqlite:path and sqlite::memory: in the CLI alongside the existing sqlite:// forms, including offline migration SQL export. PR #1588.

java/v0.4.1

Choose a tag to compare

@brandur brandur released this 09 Nov 20:15
8a08041

Fixed

  • Normalize sqlite:// URLs before opening JDBC connections so relative paths remain relative and sqlite://:memory: opens an in-memory database. Preserve sqlite: and native jdbc:sqlite: URLs. PR #1588.
    • Upgrade note: sqlite://var/lib/x.db now opens ./var/lib/x.db instead of /var/lib/x.db. Use sqlite:///var/lib/x.db to keep targeting the absolute path.
  • 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

Choose a tag to compare

@brandur brandur released this 06 Nov 15:22
72ba253

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

Choose a tag to compare

@brandur brandur released this 05 Nov 20:17
6c72392

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 PeriodicJobEnqueuer reporting Error starting transaction: context canceled when 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

Choose a tag to compare

@brandur brandur released this 05 Nov 22:51
03b193e

Added

  • Add riverqueue migrate-get to 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

Choose a tag to compare

@brandur brandur released this 05 Nov 20:19
6c72392

Fixed

  • Align migration CLI output with Go: migrate-list shows 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

Choose a tag to compare

@brandur brandur released this 05 Nov 20:21
6c72392

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

Choose a tag to compare

@brandur brandur released this 04 Nov 12:35
1e8fa0d

Added

  • Add output: to Client#job_update and River::JobUpdateParams to persist job output immediately with an atomic metadata update that preserves other keys. Explicit output: nil stores JSON null; when metadata: is also supplied, output is applied to that replacement metadata. PR #1568.

Fixed

  • Reduce database overhead in the Active Record and Sequel drivers: use RETURNING to 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.