Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update river monorepo to v0.13.0 #126

Merged
merged 2 commits into from
Oct 9, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 9, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/riverqueue/river v0.12.1 -> v0.13.0 age adoption passing confidence
github.com/riverqueue/river/riverdriver/riverpgxv5 v0.12.1 -> v0.13.0 age adoption passing confidence

Release Notes

riverqueue/river (github.com/riverqueue/river)

v0.13.0

Compare Source

⚠️ Version 0.13.0 removes the original advisory lock based unique jobs implementation that was deprecated in v0.12.0. See details in the note below or the v0.12.0 release notes.

Added
  • A middleware system was added for job insertion and execution, providing the ability to extract shared functionality across workers. Both JobInsertMiddleware and WorkerMiddleware can be configured globally on the Client, and WorkerMiddleware can also be added on a per-worker basis using the new Middleware method on Worker[T]. Middleware can be useful for logging, telemetry, or for building higher level abstractions on top of base River functionality.

    Despite the interface expansion, users should not encounter any breakage if they're embedding the WorkerDefaults type in their workers as recommended. PR #​632.

Changed
  • Breaking change: The advisory lock unique jobs implementation which was deprecated in v0.12.0 has been removed. Users of that feature should first upgrade to v0.12.1 to ensure they don't see any warning logs about using the deprecated advisory lock uniqueness. The new, faster unique implementation will be used automatically as long as the UniqueOpts.ByState list hasn't been customized to remove required states (pending, scheduled, available, and running). As of this release, customizing ByState without these required states returns an error. PR #​614.
  • Single job inserts are now unified under the hood to use the InsertMany bulk insert query. This should not be noticeable to users, and the unified code path will make it easier to build new features going forward. PR #​614.
Fixed
  • Allow river.JobCancel to accept a nil error as input without panicking. PR #​634.

Configuration

📅 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies label Oct 9, 2024
Copy link
Contributor Author

renovate bot commented Oct 9, 2024

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 4 additional dependencies were updated

Details:

Package Change
github.com/riverqueue/river/riverdriver v0.12.1 -> v0.13.0
github.com/riverqueue/river/rivershared v0.12.1 -> v0.13.0
github.com/riverqueue/river/rivertype v0.12.1 -> v0.13.0
github.com/tidwall/gjson v1.17.3 -> v1.18.0

Signed-off-by: Sarah Funkhouser <[email protected]>
@github-actions github-actions bot added the config label Oct 9, 2024
@golanglemonade golanglemonade enabled auto-merge (squash) October 9, 2024 15:11
Copy link

sonarcloud bot commented Oct 9, 2024

@golanglemonade golanglemonade merged commit 096dd3e into main Oct 9, 2024
17 checks passed
@golanglemonade golanglemonade deleted the renovate/river-monorepo branch October 9, 2024 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants