fix(deps): update river monorepo to v0.17.0 #67
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.16.0
->v0.17.0
v0.16.0
->v0.17.0
v0.16.0
->v0.17.0
Release Notes
riverqueue/river (github.com/riverqueue/river)
v0.17.0
Compare Source
Added
TestConfig
struct onConfig
under theTest
field for configuration that is specific to test environments. For now, the only field on this type isTime
, which can be used to set a syntheticTimeGenerator
for tests. A stubbable time generator was added asrivertest.TimeStub
to allow time to be easily stubbed in tests. PR #754.rivertest.Worker
type to make it significantly easier to test River workers. Either real or synthetic jobs can be worked using this interface, generally without requiring any database interactions. TheWorker
type provides a realistic execution environment with access to the full range of River features, includingriver.ClientFromContext
, middleware (both global and per-worker), and timeouts. PR #753.Changed
max_attempts
. PR #743.for
loops and use simplifiedrange
syntax. Each of these requires Go 1.22 or later, which was already our minimum required version since Go 1.23 was released. PR #755.Fixed
riverdatabasesql
driver: properly handlenil
values inbytea[]
inputs. This fixes the driver's handling of empty unique keys on insert for non-unique jobs with the newer unique jobs implementation. PR #739.JobCompleteTx
now returnsrivertype.ErrNotFound
if the job doesn't exist instead of panicking. PR #753.NeverSchedule.Next
now returns the correct maximum time value, ensuring that the periodic job truly never runs. This fixes an issue where an incorrect maximum timestamp was previously used. Thanks Hubert Krauze (@krhubert)! PR #760Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.