Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 24, 2025

Bumps the go-dependencies group with 3 updates in the / directory: github.com/go-playground/validator/v10, github.com/jackc/pgx/v5 and github.com/riverqueue/river/rivershared.

Updates github.com/go-playground/validator/v10 from 10.25.0 to 10.26.0

Release notes

Sourced from github.com/go-playground/validator/v10's releases.

v10.26.0

What's Changed

New Contributors

Full Changelog: go-playground/validator@v10.25.0...v10.26.0

Commits

Updates github.com/jackc/pgx/v5 from 5.7.2 to 5.7.4

Changelog

Sourced from github.com/jackc/pgx/v5's changelog.

5.7.4 (March 24, 2025)

  • Fix / revert change to scanning JSON null (Felix Röhrich)

5.7.3 (March 21, 2025)

  • Expose EmptyAcquireWaitTime in pgxpool.Stat (vamshiaruru32)
  • Improve SQL sanitizer performance (ninedraft)
  • Fix Scan confusion with json(b), sql.Scanner, and automatic dereferencing (moukoublen, felix-roehrich)
  • Fix Values() for xml type always returning nil instead of []byte
  • Add ability to send Flush message in pipeline mode (zenkovev)
  • Fix pgtype.Timestamp's JSON behavior to match PostgreSQL (pconstantinou)
  • Better error messages when scanning structs (logicbomb)
  • Fix handling of error on batch write (bonnefoa)
  • Match libpq's connection fallback behavior more closely (felix-roehrich)
  • Add MinIdleConns to pgxpool (djahandarie)
Commits

Updates github.com/riverqueue/river/rivershared from 0.18.0 to 0.20.2

Release notes

Sourced from github.com/riverqueue/river/rivershared's releases.

v0.20.2

Added

v0.20.1

Fixed

v0.20.0

Added

Changed

  • Set minimum Go version to Go 1.23. [PR #811](riverqueue/river#811).
  • Deprecate river.JobInsertMiddlewareDefaults and river.WorkerMiddlewareDefaults in favor of the more general river.MiddlewareDefaults embeddable struct. The two former structs will be removed in a future version. [PR #815](riverqueue/river#815).

Fixed

  • Cleanly error when attempting to add a queue at runtime to a Client which was not configured to run jobs (no Workers). [PR #826](riverqueue/river#826).

v0.19.0

⚠️ Version 0.19.0 has minor breaking changes for the Worker.Middleware, introduced fairly recently in 0.17.0 that has a worker's Middleware function now taking a non-generic JobRow parameter instead of a generic Job[T]. We tried not to make this change, but found the existing middleware interface insufficient to provide the necessary range of functionality we wanted, and this is a secondary middleware facility that won't be in use for many users, so it seemed worthwhile.

Added

  • Added a new "hooks" API for tying into River functionality at various points like job inserts or working. Differs from middleware in that it doesn't go on the stack and can't modify context, but in some cases is able to run at a more granular level (e.g. for each job insert rather than each batch of inserts). [PR #789](riverqueue/river#789).
  • river.Config has a generic Middleware setting that can be used as a convenient way to configure middlewares that implement multiple middleware interfaces (e.g. JobInsertMiddleware and WorkerMiddleware). Use of this setting is preferred over Config.JobInsertMiddleware and Config.WorkerMiddleware, which have been deprecated. [PR #804](riverqueue/river#804).

Changed

  • The river.RecordOutput function now returns an error if the output is too large. The output is limited to 32MB in size. [PR #782](riverqueue/river#782).
  • Breaking change: The Worker interface's Middleware function now takes a JobRow parameter instead of a generic Job[T]. This was necessary to expand the potential of what middleware can do: by letting the executor extract a middleware stack from a worker before a job is fully unmarshaled, the middleware can also participate in the unmarshaling process. [PR #783](riverqueue/river#783).
  • JobList has been reimplemented to use sqlc. [PR #795](riverqueue/river#795).
Changelog

Sourced from github.com/riverqueue/river/rivershared's changelog.

[0.20.2] - 2025-04-08

Added

[0.20.1] - 2025-04-05

Fixed

[0.20.0] - 2025-04-04

Added

Changed

  • Set minimum Go version to Go 1.23. [PR #811](riverqueue/river#811).
  • Deprecate river.JobInsertMiddlewareDefaults and river.WorkerMiddlewareDefaults in favor of the more general river.MiddlewareDefaults embeddable struct. The two former structs will be removed in a future version. [PR #815](riverqueue/river#815).

Fixed

  • Cleanly error when attempting to add a queue at runtime to a Client which was not configured to run jobs (no Workers). [PR #826](riverqueue/river#826).

[0.19.0] - 2025-03-16

⚠️ Version 0.19.0 has minor breaking changes for the Worker.Middleware, introduced fairly recently in 0.17.0 that has a worker's Middleware function now taking a non-generic JobRow parameter instead of a generic Job[T]. We tried not to make this change, but found the existing middleware interface insufficient to provide the necessary range of functionality we wanted, and this is a secondary middleware facility that won't be in use for many users, so it seemed worthwhile.

Added

  • Added a new "hooks" API for tying into River functionality at various points like job inserts or working. Differs from middleware in that it doesn't go on the stack and can't modify context, but in some cases is able to run at a more granular level (e.g. for each job insert rather than each batch of inserts). [PR #789](riverqueue/river#789).
  • river.Config has a generic Middleware setting that can be used as a convenient way to configure middlewares that implement multiple middleware interfaces (e.g. JobInsertMiddleware and WorkerMiddleware). Use of this setting is preferred over Config.JobInsertMiddleware and Config.WorkerMiddleware, which have been deprecated. [PR #804](riverqueue/river#804).

Changed

  • The river.RecordOutput function now returns an error if the output is too large. The output is limited to 32MB in size. [PR #782](riverqueue/river#782).
  • Breaking change: The Worker interface's Middleware function now takes a JobRow parameter instead of a generic Job[T]. This was necessary to expand the potential of what middleware can do: by letting the executor extract a middleware stack from a worker before a job is fully unmarshaled, the middleware can also participate in the unmarshaling process. [PR #783](riverqueue/river#783).
  • JobList has been reimplemented to use sqlc. [PR #795](riverqueue/river#795).
Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the go-dependencies group with 3 updates in the / directory: [github.com/go-playground/validator/v10](https://github.com/go-playground/validator), [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) and [github.com/riverqueue/river/rivershared](https://github.com/riverqueue/river).


Updates `github.com/go-playground/validator/v10` from 10.25.0 to 10.26.0
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](go-playground/validator@v10.25.0...v10.26.0)

Updates `github.com/jackc/pgx/v5` from 5.7.2 to 5.7.4
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](jackc/pgx@v5.7.2...v5.7.4)

Updates `github.com/riverqueue/river/rivershared` from 0.18.0 to 0.20.2
- [Release notes](https://github.com/riverqueue/river/releases)
- [Changelog](https://github.com/riverqueue/river/blob/master/CHANGELOG.md)
- [Commits](riverqueue/river@v0.18.0...v0.20.2)

---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
  dependency-version: 10.26.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-dependencies
- dependency-name: github.com/jackc/pgx/v5
  dependency-version: 5.7.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-dependencies
- dependency-name: github.com/riverqueue/river/rivershared
  dependency-version: 0.20.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Apr 24, 2025
@bgentry bgentry merged commit e7bcc14 into master Apr 24, 2025
2 checks passed
@bgentry bgentry deleted the dependabot/go_modules/go-dependencies-f51fe6a5b7 branch April 24, 2025 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants