Releases: riverqueue/river
Releases · riverqueue/river
v0.0.23
Added
JobListParams.Kinds()
has been added so that jobs can now be listed by kind. PR #212.
Changed
- The underlying driver system's been entirely revamped so that River's non-test code is now decoupled from
pgx/v5
. This will allow additional drivers to be implemented, although there are no additional ones for now. PR #212.
Fixed
- Fixed a memory leak caused by allocating a new random source on every job execution. Thank you @shawnstephens for reporting ❤️ PR #240.
- Fix a problem where
JobListParams.Queues()
didn't filter correctly based on its arguments. PR #212. - Fix a problem in
DebouncedChan
where it would fire on its "out" channel too often when it was being signaled continuousy on its "in" channel. This would have caused work to be fetched more often than intended in busy systems. PR #222.
v0.0.22
v0.0.21
Changed
- Tweaked behavior of
JobRetry
so that it does actually update theScheduledAt
time of the job in all cases where the job is actually being rescheduled. As before, jobs which are already available with a pastScheduledAt
will not be touched by this query so that they retain their place in line. PR #211.
Fixed
- Fixed a leadership re-election issue that was exposed by the fix in #199. Because we were internally using the same TTL for both an internal timer/ticker and the database update to set the new leader expiration time, a leader wasn't guaranteed to successfully re-elect itself even under normal operation. PR #217.
v0.0.20
v0.0.19
Added
- Added
JobGet
andJobGetTx
to theClient
to enable easily fetching a single job row from code for introspection. [PR #186]. - Added
JobRetry
andJobRetryTx
to theClient
to enable a job to be retried immediately, even if it has already completed, been cancelled, or been discarded. [PR #190].
Changed
- Validate queue name on job insertion. Allow queue names with hyphen separators in addition to underscore. PR #184.