Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.md | 2025-05-03 | 1.8 kB | |
v0.21.0 source code.tar.gz | 2025-05-03 | 407.2 kB | |
v0.21.0 source code.zip | 2025-05-03 | 570.6 kB | |
Totals: 3 Items | 979.5 kB | 2 |
⚠️ Internal APIs used for communication between River and River Pro have changed. If using River Pro, make sure to update River and River Pro to latest at the same time to get compatible versions.
Added
- Added
river/riverlog
containing middleware that injects a context logger to workers that collates log output and persists it with job metadata. This is paired with a River UI enhancement that shows logs in the UI. PR [#844]. - Added
JobInsertMiddlewareFunc
andWorkerMiddlewareFunc
to easily implement middleware with a function instead of a struct. PR [#844]. - Added
Config.Schema
which lets a non-default schema be injected explicitly into a River client that'll be used for all database operations. This may be particularly useful for proxies like PgBouncer that may not respect a schema configured insearch_path
. PR [#848]. - Added
rivertype.HookWorkEnd
hook interface that runs after a job has been worked. PR [#863]. - Added support for filtering jobs by a list of job IDs and by priorities in
JobList
andJobListParams
. For more flexible job listing. PR [#871].
Changed
- Client no longer returns an error if stopped before startup could complete (previously, it returned the unexported
ErrShutdown
). PR [#841].
Fixed
- A queue unpausing triggers an immediate fetch so that available jobs in the paused queue may be started faster than before. PR [#854].