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.17.0 #67

Merged
merged 1 commit into from
Feb 16, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 15, 2025

This PR contains the following updates:

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

Release Notes

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

v0.17.0

Compare Source

Added
  • Exposed TestConfig struct on Config under the Test field for configuration that is specific to test environments. For now, the only field on this type is Time, which can be used to set a synthetic TimeGenerator for tests. A stubbable time generator was added as rivertest.TimeStub to allow time to be easily stubbed in tests. PR #​754.
  • New 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. The Worker type provides a realistic execution environment with access to the full range of River features, including river.ClientFromContext, middleware (both global and per-worker), and timeouts. PR #​753.
Changed
  • Errors returned from retryable jobs are now logged with warning logs instead of error logs. Error logs are still used for jobs that error after reaching max_attempts. PR #​743.
  • Remove range variable capture in for loops and use simplified range 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 handle nil values in bytea[] 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 returns rivertype.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 #​760

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 update of dependent libraries label Feb 15, 2025
@renovate renovate bot requested a review from a team as a code owner February 15, 2025 22:07
Copy link
Contributor Author

renovate bot commented Feb 15, 2025

ℹ 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):

  • 3 additional dependencies were updated

Details:

Package Change
github.com/riverqueue/river/riverdriver v0.16.0 -> v0.17.0
github.com/riverqueue/river/rivershared v0.16.0 -> v0.17.0
golang.org/x/mod v0.22.0 -> v0.23.0

@github-actions github-actions bot removed the dependencies update of dependent libraries label Feb 15, 2025
@golanglemonade golanglemonade merged commit 40ba111 into main Feb 16, 2025
12 checks passed
@golanglemonade golanglemonade deleted the renovate/river-monorepo branch February 16, 2025 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant