github riverqueue/river v0.31.0

7 hours ago

Added

  • Added root River CLI flag --statement-timeout so Postgres session statement timeout can be set explicitly for commands like migrations. Explicit flag values take priority over database URL query params, and query params still take priority over built-in defaults. PR #1142.

Fixed

  • Fix connection leak in Listener.Connect in case where afterConnectExec failed. Thanks Johan Kjölhede (@GiGurra)! PR #1147.
  • Fix missing ticker.Stop in producer's pollForSettingChanges (@GiGurra). PR #1148.
  • Fix accidental use of cancelled context for Notifier.Ping (@GiGurra). PR #1149.
  • Add jitter to fetch poll loop to prevent producer stampeding (@GiGurra). PR #1150.

Changed

  • Upgrade supported Go versions to 1.25 and 1.26, and update CI accordingly. PR #1144.

Fixed

  • JobCountByQueueAndState now returns consistent results across drivers, including requested queues with zero jobs, and deduplicates repeated queue names in input. This resolves an issue with the sqlite driver in River UI reported in riverqueue/riverui#496. PR #1140.

Don't miss a new river release

NewReleases is sending notifications on new releases.