fix(deps): update river monorepo to v0.40.0#349
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
Contributor
Author
|
b67424a to
4096948
Compare
4096948 to
ec11e9d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.38.0→v0.40.0v0.38.0→v0.40.0v0.38.0→v0.40.0v0.38.0→v0.40.0Release Notes
riverqueue/river (github.com/riverqueue/river)
v0.40.0Compare Source
river_clientandriver_client_queue. These were added prospectively, but in the end were never used for anything. PR #1115.river_job.max_attempts. Go code was previously injecting a max value, so this has no functional effect on existing behavior. PR #1115.CURRENT_TIMESTAMPtoriver_queue.updated_at. Go code was previously injecting the current time, so this has no functional effect on existing behavior. PR #1115.jsoncolumns tojsonb. PR #1224.river_notificationtable. PR #1275.For SQLite, running River apps must be stopped briefly while the migration is run and their code upgrade to 0.40.0 so they start reading and inserting new values in
jsonbinstead ofjson.See documentation on running River migrations. If migrating with the CLI, make sure to update it to its latest version:
go install github.com/riverqueue/river/cmd/river@latest river migrate-up --database-url "$DATABASE_URL"If not using River's internal migration system, the raw SQL can alternatively be dumped with (or change
--database-urlto a Postgres URI for Postgres versions):Added
river_notificationtable that allows River to provide listen/notify-like functionality despite these functions not being supported outside of Postgres. PR #1275.JobStuckHandler, giving clients a hook to handle "stuck" jobs (i.e. ones which are passed timeout and haven't responded to context cancellation) and potentially open a new worker slot if so desired. PR #1291.Changed
json_each. PR #1276river.ResumableStepand return a validation error. PR #1281BatchCompleterwhen it's throughput is saturated with fewer warnings to console. PR #1292BatchCompleterraising throughput ~20% when it's the bottleneck in job processing (e.g. in benchmarks). PR #1293Fixed
JobCancelhaving no effect on running jobs when using a poll-only driver (e.g.riverdatabasesql). ThecontrolActionCancelevent was silently dropped infetchAndRunLoop'squeueControlChhandler instead of being forwarded tomaybeCancelJob. Note: this fix only works within a single process; cross-process cancels in poll-only setups must wait for the next poll cycle. PR #1245.REINDEX INDEX CONCURRENTLYartifacts like_ccnew1and_ccold2so the reindexer does not keep accumulating failed artifact indexes. Fixes #1296. PR #1297.v0.39.0Compare Source
rivermigrate.Migrator.Validateandrivermigrate.Migrator.ValidateTxnow take a*rivermigrate.ValidateOptsparameter. Passnilto preserve previous behavior. We normally endeavor not to make any breaking API changes, but this one will keep the API in a much nicer state, and is on an ancillary function that most installations won't be using. PR #1259Added
MetadataSetto stage job metadata updates from worker middleware,HookWorkBegin, workers, orHookWorkEnd, with changes persisted when the job is completed. PR #1269Changed
rivermigrate.ValidateOpts.TargetVersionso validation can check migrations up to a specific target version, matching the target-version behavior available onMigrateandMigrateTx. Notably, this is a breaking API change as the validate functions previously didn't take any options. PR #1259(*Migrator[TTx]).Migratewith aTargetVersionthat's already applied, River now no-ops idempotently instead of returning an error as a user convenience. PR #1260Fixed
StandardPilot.JobGetAvailableso a stalled standard-pilot fetch no longer hangs a producer indefinitely. PR #1255rivertest.Worker.WorkandWorkJobto honor a configured customConfig.Schemawhen transitioning a job to its running state. Previously, the running-state update ran unqualified and could fail on a connection whosesearch_pathdidn't include the configured schema. PR #1262Configuration
📅 Schedule: (UTC)
🚦 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.