Skip to content

Bump the go-dependencies group across 2 directories with 6 updates#532

Merged
bgentry merged 2 commits intomasterfrom
dependabot/go_modules/go-dependencies-2eb4b46d3a
Mar 24, 2026
Merged

Bump the go-dependencies group across 2 directories with 6 updates#532
bgentry merged 2 commits intomasterfrom
dependabot/go_modules/go-dependencies-2eb4b46d3a

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 23, 2026

Bumps the go-dependencies group with 2 updates in the / directory: github.com/jackc/pgx/v5 and github.com/riverqueue/river.
Bumps the go-dependencies group with 2 updates in the /riverproui directory: github.com/jackc/pgx/v5 and github.com/riverqueue/river.

Updates github.com/jackc/pgx/v5 from 5.8.0 to 5.9.1

Changelog

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

5.9.1 (March 22, 2026)

  • Fix: batch result format corruption when using cached prepared statements (reported by Dirkjan Bussink)

5.9.0 (March 21, 2026)

This release includes a number of new features such as SCRAM-SHA-256-PLUS support, OAuth authentication support, and PostgreSQL protocol 3.2 support.

It significantly reduces the amount of network traffic when using prepared statements (which are used automatically by default) by avoiding unnecessary Describe Portal messages. This also reduces local memory usage.

It also includes multiple fixes for potential DoS due to panic or OOM if connected to a malicious server that sends deliberately malformed messages.

  • Require Go 1.25+
  • Add SCRAM-SHA-256-PLUS support (Adam Brightwell)
  • Add OAuth authentication support for PostgreSQL 18 (David Schneider)
  • Add PostgreSQL protocol 3.2 support (Dirkjan Bussink)
  • Add tsvector type support (Adam Brightwell)
  • Skip Describe Portal for cached prepared statements reducing network round trips
  • Make LoadTypes query easier to support on "postgres-like" servers (Jelte Fennema-Nio)
  • Default empty user to current OS user matching libpq behavior (ShivangSrivastava)
  • Optimize LRU statement cache with custom linked list and node pooling (Mathias Bogaert)
  • Optimize date scanning by replacing regex with manual parsing (Mathias Bogaert)
  • Optimize pgio append/set functions with direct byte shifts (Mathias Bogaert)
  • Make RowsAffected faster (Abhishek Chanda)
  • Fix: Pipeline.Close panic when server sends multiple FATAL errors (Varun Chawla)
  • Fix: ContextWatcher goroutine leak (Hank Donnay)
  • Fix: stdlib discard connections with open transactions in ResetSession (Jeremy Schneider)
  • Fix: pipelineBatchResults.Exec silently swallowing lastRows error
  • Fix: ColumnTypeLength using BPCharArrayOID instead of BPCharOID
  • Fix: TSVector text encoding returning nil for valid empty tsvector
  • Fix: wrong error messages for Int2 and Int4 underflow
  • Fix: Numeric nil Int pointer dereference with Valid: true
  • Fix: reversed strings.ContainsAny arguments in Numeric.ScanScientific
  • Fix: message length parsing on 32-bit platforms
  • Fix: FunctionCallResponse.Decode mishandling of signed result size
  • Fix: returning wrong error in configTLS when DecryptPEMBlock fails (Maxim Motyshen)
  • Fix: misleading ParseConfig error when default_query_exec_mode is invalid (Skarm)
  • Fix: missed Unwatch in Pipeline error paths
  • Clarify too many failed acquire attempts error message
  • Better error wrapping with context and SQL statement (Aneesh Makala)
  • Enable govet and ineffassign linters (Federico Guerinoni)
  • Guard against various malformed binary messages (arrays, hstore, multirange, protocol messages)
  • Fix various godoc comments (ferhat elmas)
  • Fix typos in comments (Oleksandr Redko)
Commits
  • 4e4eaed Release v5.9.1
  • 6273188 Fix batch result format corruption when using cached prepared statements
  • f7b90c2 Merge pull request #2524 from dbussink/pipeline-result-format-reuse
  • 3ce6d75 Add failing test: batch scan corrupted in cache_statement mode
  • b4d8e62 Release v5.9.0
  • c227cd4 Bump minimum Go version from 1.24 to 1.25
  • f492c14 Use reflect.TypeFor instead of reflect.TypeOf for static types
  • ad8fb08 Use sync.WaitGroup.Go to simplify goroutine spawning
  • 3033773 Remove go1.26 build tag from synctest test
  • 83ffb3c Validate multirange element count against source length before allocating
  • Additional commits viewable in compare view

Updates github.com/riverqueue/river from 0.31.0 to 0.32.0

Release notes

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

v0.32.0

Added

  • riverlog.Middleware now supports MiddlewareConfig.MaxTotalBytes (default 8 MB) to cap total persisted river:log history per job. When the cap is exceeded, oldest log entries are dropped first while retaining the newest entry. Values over 64 MB are clamped to 64 MB. [PR #1157](riverqueue/river#1157).

Changed

  • Improved riverlog performance and reduced memory amplification when appending to large persisted river:log histories. [PR #1157](riverqueue/river#1157).
  • Reduced snooze-path memory amplification by setting snoozes in metadata updates before marshaling, avoiding an extra full-payload JSON rewrite. [PR #1159](riverqueue/river#1159).
  • Schema names are now quoted in SQL operations, enabling the use of spaces and other odd characters. [PR #1175](riverqueue/river#1175).

Fixed

  • riverpgxv5 now adapts JSON parameters for simple protocol / exec query modes so []byte JSON payloads are not encoded as bytea in pgx text-mode execution paths. This fixes invalid JSON syntax errors when running through protocol-constrained setups like PgBouncer transaction pooling while preserving normal behavior for explicit bytea parameters. Fixes #1153. [PR #1155](riverqueue/river#1155).
Changelog

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

[0.32.0] - 2026-03-23

Added

  • riverlog.Middleware now supports MiddlewareConfig.MaxTotalBytes (default 8 MB) to cap total persisted river:log history per job. When the cap is exceeded, oldest log entries are dropped first while retaining the newest entry. Values over 64 MB are clamped to 64 MB. [PR #1157](riverqueue/river#1157).

Changed

  • Improved riverlog performance and reduced memory amplification when appending to large persisted river:log histories. [PR #1157](riverqueue/river#1157).
  • Reduced snooze-path memory amplification by setting snoozes in metadata updates before marshaling, avoiding an extra full-payload JSON rewrite. [PR #1159](riverqueue/river#1159).
  • Schema names are now quoted in SQL operations, enabling the use of spaces and other odd characters. [PR #1175](riverqueue/river#1175).

Fixed

  • riverpgxv5 now adapts JSON parameters for simple protocol / exec query modes so []byte JSON payloads are not encoded as bytea in pgx text-mode execution paths. This fixes invalid JSON syntax errors when running through protocol-constrained setups like PgBouncer transaction pooling while preserving normal behavior for explicit bytea parameters. Fixes #1153. [PR #1155](riverqueue/river#1155).
Commits

Updates github.com/riverqueue/river/riverdriver from 0.31.0 to 0.32.0

Release notes

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

v0.32.0

Added

  • riverlog.Middleware now supports MiddlewareConfig.MaxTotalBytes (default 8 MB) to cap total persisted river:log history per job. When the cap is exceeded, oldest log entries are dropped first while retaining the newest entry. Values over 64 MB are clamped to 64 MB. [PR #1157](riverqueue/river#1157).

Changed

  • Improved riverlog performance and reduced memory amplification when appending to large persisted river:log histories. [PR #1157](riverqueue/river#1157).
  • Reduced snooze-path memory amplification by setting snoozes in metadata updates before marshaling, avoiding an extra full-payload JSON rewrite. [PR #1159](riverqueue/river#1159).
  • Schema names are now quoted in SQL operations, enabling the use of spaces and other odd characters. [PR #1175](riverqueue/river#1175).

Fixed

  • riverpgxv5 now adapts JSON parameters for simple protocol / exec query modes so []byte JSON payloads are not encoded as bytea in pgx text-mode execution paths. This fixes invalid JSON syntax errors when running through protocol-constrained setups like PgBouncer transaction pooling while preserving normal behavior for explicit bytea parameters. Fixes #1153. [PR #1155](riverqueue/river#1155).
Changelog

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

[0.32.0] - 2026-03-23

Added

  • riverlog.Middleware now supports MiddlewareConfig.MaxTotalBytes (default 8 MB) to cap total persisted river:log history per job. When the cap is exceeded, oldest log entries are dropped first while retaining the newest entry. Values over 64 MB are clamped to 64 MB. [PR #1157](riverqueue/river#1157).

Changed

  • Improved riverlog performance and reduced memory amplification when appending to large persisted river:log histories. [PR #1157](riverqueue/river#1157).
  • Reduced snooze-path memory amplification by setting snoozes in metadata updates before marshaling, avoiding an extra full-payload JSON rewrite. [PR #1159](riverqueue/river#1159).
  • Schema names are now quoted in SQL operations, enabling the use of spaces and other odd characters. [PR #1175](riverqueue/river#1175).

Fixed

  • riverpgxv5 now adapts JSON parameters for simple protocol / exec query modes so []byte JSON payloads are not encoded as bytea in pgx text-mode execution paths. This fixes invalid JSON syntax errors when running through protocol-constrained setups like PgBouncer transaction pooling while preserving normal behavior for explicit bytea parameters. Fixes #1153. [PR #1155](riverqueue/river#1155).
Commits

Updates github.com/riverqueue/river/riverdriver/riverpgxv5 from 0.31.0 to 0.32.0

Release notes

Sourced from github.com/riverqueue/river/riverdriver/riverpgxv5's releases.

v0.32.0

Added

  • riverlog.Middleware now supports MiddlewareConfig.MaxTotalBytes (default 8 MB) to cap total persisted river:log history per job. When the cap is exceeded, oldest log entries are dropped first while retaining the newest entry. Values over 64 MB are clamped to 64 MB. [PR #1157](riverqueue/river#1157).

Changed

  • Improved riverlog performance and reduced memory amplification when appending to large persisted river:log histories. [PR #1157](riverqueue/river#1157).
  • Reduced snooze-path memory amplification by setting snoozes in metadata updates before marshaling, avoiding an extra full-payload JSON rewrite. [PR #1159](riverqueue/river#1159).
  • Schema names are now quoted in SQL operations, enabling the use of spaces and other odd characters. [PR #1175](riverqueue/river#1175).

Fixed

  • riverpgxv5 now adapts JSON parameters for simple protocol / exec query modes so []byte JSON payloads are not encoded as bytea in pgx text-mode execution paths. This fixes invalid JSON syntax errors when running through protocol-constrained setups like PgBouncer transaction pooling while preserving normal behavior for explicit bytea parameters. Fixes #1153. [PR #1155](riverqueue/river#1155).
Changelog

Sourced from github.com/riverqueue/river/riverdriver/riverpgxv5's changelog.

[0.32.0] - 2026-03-23

Added

  • riverlog.Middleware now supports MiddlewareConfig.MaxTotalBytes (default 8 MB) to cap total persisted river:log history per job. When the cap is exceeded, oldest log entries are dropped first while retaining the newest entry. Values over 64 MB are clamped to 64 MB. [PR #1157](riverqueue/river#1157).

Changed

  • Improved riverlog performance and reduced memory amplification when appending to large persisted river:log histories. [PR #1157](riverqueue/river#1157).
  • Reduced snooze-path memory amplification by setting snoozes in metadata updates before marshaling, avoiding an extra full-payload JSON rewrite. [PR #1159](riverqueue/river#1159).
  • Schema names are now quoted in SQL operations, enabling the use of spaces and other odd characters. [PR #1175](riverqueue/river#1175).

Fixed

  • riverpgxv5 now adapts JSON parameters for simple protocol / exec query modes so []byte JSON payloads are not encoded as bytea in pgx text-mode execution paths. This fixes invalid JSON syntax errors when running through protocol-constrained setups like PgBouncer transaction pooling while preserving normal behavior for explicit bytea parameters. Fixes #1153. [PR #1155](riverqueue/river#1155).
Commits

Updates github.com/riverqueue/river/rivershared from 0.31.0 to 0.32.0

Release notes

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

v0.32.0

Added

  • riverlog.Middleware now supports MiddlewareConfig.MaxTotalBytes (default 8 MB) to cap total persisted river:log history per job. When the cap is exceeded, oldest log entries are dropped first while retaining the newest entry. Values over 64 MB are clamped to 64 MB. [PR #1157](riverqueue/river#1157).

Changed

  • Improved riverlog performance and reduced memory amplification when appending to large persisted river:log histories. [PR #1157](riverqueue/river#1157).
  • Reduced snooze-path memory amplification by setting snoozes in metadata updates before marshaling, avoiding an extra full-payload JSON rewrite. [PR #1159](riverqueue/river#1159).
  • Schema names are now quoted in SQL operations, enabling the use of spaces and other odd characters. [PR #1175](riverqueue/river#1175).

Fixed

  • riverpgxv5 now adapts JSON parameters for simple protocol / exec query modes so []byte JSON payloads are not encoded as bytea in pgx text-mode execution paths. This fixes invalid JSON syntax errors when running through protocol-constrained setups like PgBouncer transaction pooling while preserving normal behavior for explicit bytea parameters. Fixes #1153. [PR #1155](riverqueue/river#1155).
Changelog

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

[0.32.0] - 2026-03-23

Added

  • riverlog.Middleware now supports MiddlewareConfig.MaxTotalBytes (default 8 MB) to cap total persisted river:log history per job. When the cap is exceeded, oldest log entries are dropped first while retaining the newest entry. Values over 64 MB are clamped to 64 MB. [PR #1157](riverqueue/river#1157).

Changed

  • Improved riverlog performance and reduced memory amplification when appending to large persisted river:log histories. [PR #1157](riverqueue/river#1157).
  • Reduced snooze-path memory amplification by setting snoozes in metadata updates before marshaling, avoiding an extra full-payload JSON rewrite. [PR #1159](riverqueue/river#1159).
  • Schema names are now quoted in SQL operations, enabling the use of spaces and other odd characters. [PR #1175](riverqueue/river#1175).

Fixed

  • riverpgxv5 now adapts JSON parameters for simple protocol / exec query modes so []byte JSON payloads are not encoded as bytea in pgx text-mode execution paths. This fixes invalid JSON syntax errors when running through protocol-constrained setups like PgBouncer transaction pooling while preserving normal behavior for explicit bytea parameters. Fixes #1153. [PR #1155](riverqueue/river#1155).
Commits

Updates github.com/riverqueue/river/rivertype from 0.31.0 to 0.32.0

Release notes

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

v0.32.0

Added

  • riverlog.Middleware now supports MiddlewareConfig.MaxTotalBytes (default 8 MB) to cap total persisted river:log history per job. When the cap is exceeded, oldest log entries are dropped first while retaining the newest entry. Values over 64 MB are clamped to 64 MB. [PR #1157](riverqueue/river#1157).

Changed

  • Improved riverlog performance and reduced memory amplification when appending to large persisted river:log histories. [PR #1157](riverqueue/river#1157).
  • Reduced snooze-path memory amplification by setting snoozes in metadata updates before marshaling, avoiding an extra full-payload JSON rewrite. [PR #1159](riverqueue/river#1159).
  • Schema names are now quoted in SQL operations, enabling the use of spaces and other odd characters. [PR #1175](riverqueue/river#1175).

Fixed

  • riverpgxv5 now adapts JSON parameters for simple protocol / exec query modes so []byte JSON payloads are not encoded as bytea in pgx text-mode execution paths. This fixes invalid JSON syntax errors when running through protocol-constrained setups like PgBouncer transaction pooling while preserving normal behavior for explicit bytea parameters. Fixes #1153. [PR #1155](riverqueue/river#1155).
Changelog

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

[0.32.0] - 2026-03-23

Added

  • riverlog.Middleware now supports MiddlewareConfig.MaxTotalBytes (default 8 MB) to cap total persisted river:log history per job. When the cap is exceeded, oldest log entries are dropped first while retaining the newest entry. Values over 64 MB are clamped to 64 MB. [PR #1157](riverqueue/river#1157).

Changed

  • Improved riverlog performance and reduced memory amplification when appending to large persisted river:log histories. [PR #1157](riverqueue/river#1157).
  • Reduced snooze-path memory amplification by setting snoozes in metadata updates before marshaling, avoiding an extra full-payload JSON rewrite. [PR #1159](riverqueue/river#1159).
  • Schema names are now quoted in SQL operations, enabling the use of spaces and other odd characters. [PR #1175](riverqueue/river#1175).

Fixed

  • riverpgxv5 now adapts JSON parameters for simple protocol / exec query modes so []byte JSON payloads are not encoded as bytea in pgx text-mode execution paths. This fixes invalid JSON syntax errors when running through protocol-constrained setups like PgBouncer transaction pooling while preserving normal behavior for explicit bytea parameters. Fixes #1153. [PR #1155](riverqueue/river#1155).
Commits

Updates github.com/jackc/pgx/v5 from 5.8.0 to 5.9.1

Changelog

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

5.9.1 (March 22, 2026)

  • Fix: batch result format corruption when using cached prepared statements (reported by Dirkjan Bussink)

5.9.0 (March 21, 2026)

This release includes a number of new features such as SCRAM-SHA-256-PLUS support, OAuth authentication support, and PostgreSQL protocol 3.2 support.

It significantly reduces the amount of network traffic when using prepared statements (which are used automatically by default) by avoiding unnecessary Describe Portal messages. This also reduces local memory usage.

It also includes multiple fixes for potential DoS due to panic or OOM if connected to a malicious server that sends deliberately malformed messages.

  • Require Go 1.25+
  • Add SCRAM-SHA-256-PLUS support (Adam Brightwell)
  • Add OAuth authentication support for PostgreSQL 18 (David Schneider)
  • Add PostgreSQL protocol 3.2 support (Dirkjan Bussink)
  • Add tsvector type support (Adam Brightwell)
  • Skip Describe Portal for cached prepared statements reducing network round trips
  • Make LoadTypes query easier to support on "postgres-like" servers (Jelte Fennema-Nio)
  • Default empty user to current OS user matching libpq behavior (ShivangSrivastava)
  • Optimize LRU statement cache with custom linked list and node pooling (Mathias Bogaert)
  • Optimize date scanning by replacing regex with manual parsing (Mathias Bogaert)
  • Optimize pgio append/set functions with direct byte shifts (Mathias Bogaert)
  • Make RowsAffected faster (Abhishek Chanda)
  • Fix: Pipeline.Close panic when server sends multiple FATAL errors (Varun Chawla)
  • Fix: ContextWatcher goroutine leak (Hank Donnay)
  • Fix: stdlib discard connections with open transactions in ResetSession (Jeremy Schneider)
  • Fix: pipelineBatchResults.Exec silently swallowing lastRows error
  • Fix: ColumnTypeLength using BPCharArrayOID instead of BPCharOID
  • Fix: TSVector text encoding returning nil for valid empty tsvector
  • Fix: wrong error messages for Int2 and Int4 underflow
  • Fix: Numeric nil Int pointer dereference with Valid: true
  • Fix: reversed strings.ContainsAny arguments in Numeric.ScanScientific
  • Fix: message length parsing on 32-bit platforms
  • Fix: FunctionCallResponse.Decode mishandling of signed result size
  • Fix: returning wrong error in configTLS when DecryptPEMBlock fails (Maxim Motyshen)
  • Fix: misleading ParseConfig error when default_query_exec_mode is invalid (Skarm)
  • Fix: missed Unwatch in Pipeline error paths
  • Clarify too many failed acquire attempts error message
  • Better error wrapping with context and SQL statement (Aneesh Makala)
  • Enable govet and ineffassign linters (Federico Guerinoni)
  • Guard against various malformed binary messages (arrays, hstore, multirange, protocol messages)
  • Fix various godoc comments (ferhat elmas)
  • Fix typos in comments (Oleksandr Redko)
Commits
  • 4e4eaed Release v5.9.1
  • 6273188 Fix batch result format corruption when using cached prepared statements
  • f7b90c2 Merge pull request #2524 from dbussink/pipeline-result-format-reuse
  • 3ce6d75 Add failing test: batch scan corrupted in cache_statement mode
  • b4d8e62 Release v5.9.0
  • c227cd4 Bump minimum Go version from 1.24 to 1.25
  • f492c14 Use reflect.TypeFor instead of reflect.TypeOf for static types
  • ad8fb08 Use sync.WaitGroup.Go to simplify goroutine spawning
  • 3033773 Remove go1.26 build tag from synctest test
  • 83ffb3c Validate multirange element count against source length before allocating
  • Additional commits viewable in compare view

Updates github.com/riverqueue/river from 0.31.0 to 0.32.0

Release notes

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

v0.32.0

Added

  • riverlog.Middleware now supports MiddlewareConfig.MaxTotalBytes (default 8 MB) to cap total persisted river:log history per job. When the cap is exceeded, oldest log entries are dropped first while retaining the newest entry. Values over 64 MB are clamped to 64 MB. [PR #1157](riverqueue/river#1157).

Changed

  • Improved riverlog performance and reduced memory amplification when appending to large persisted river:log histories. [PR #1157](riverqueue/river#1157).
  • Reduced snooze-path memory amplification by setting snoozes in metadata updates before marshaling, avoiding an extra full-payload JSON rewrite. [PR #1159](riverqueue/river#1159).
  • Schema names are now quoted in SQL operations, enabling the use of spaces and other odd characters. [PR #1175](riverqueue/river#1175).

Fixed

  • riverpgxv5 now adapts JSON parameters for simple protocol / exec query modes so []byte JSON payloads are not encoded as bytea in pgx text-mode execution paths. This fixes invalid JSON syntax errors when running through protocol-constrained setups like PgBouncer transaction pooling while preserving normal behavior for explicit bytea parameters. Fixes #1153. [PR #1155](riverqueue/river#1155).
Changelog

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

[0.32.0] - 2026-03-23

Added

  • riverlog.Middleware now supports MiddlewareConfig.MaxTotalBytes (default 8 MB) to cap total persisted river:log history per job. When the cap is exceeded, oldest log entries are dropped first while retaining the newest entry. Values over 64 MB are clamped to 64 MB. [PR #1157](riverqueue/river#1157).

Changed

  • Improved riverlog performance and reduced memory amplification when appending to large persisted river:log histories. [PR #1157](riverqueue/river#1157).
  • Reduced snooze-path memory amplification by setting snoozes in metadata updates before marshaling, avoiding an extra full-payload JSON rewrite. [PR #1159](riverqueue/river#1159).
  • Schema names are now quoted in SQL operations, enabling the use of spaces and other odd characters. [PR #1175](riverqueue/river#1175).

Fixed

  • riverpgxv5 now adapts JSON parameters for simple protocol / exec query modes so []byte JSON payloads are not encoded as bytea in pgx text-mode execution paths. This fixes invalid JSON syntax errors when running through protocol-constrained setups like PgBouncer transaction pooling while preserving normal behavior for explicit bytea parameters. Fixes #1153. [PR #1155](riverqueue/river#1155).
Commits

Updates github.com/riverqueue/river/riverdriver from 0.31.0 to 0.32.0

Release notes

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

v0.32.0

Added

  • riverlog.Middleware now supports MiddlewareConfig.MaxTotalBytes (default 8 MB) to cap total persisted river:log history per job. When the cap is exceeded, oldest log entries are dropped first while retaining the newest entry. Values over 64 MB are clamped to 64 MB. [PR #1157](riverqueue/river#1157).

Changed

  • Improved riverlog performance and reduced memory amplification when appending to large persisted river:log histories. [PR #1157](riverqueue/river#1157).
  • Reduced snooze-path memory amplification by setting snoozes in metadata updates before marshaling, avoiding an extra full-payload JSON rewrite. [PR #1159](riverqueue/river#1159).
  • Schema names are now quoted in SQL operations, enabling the use of spaces and other odd characters. [PR #1175](riverqueue/river#1175).

Fixed

  • riverpgxv5 now adapts JSON parameters for simple protocol / exec query modes so []byte JSON payloads are not encoded as bytea in pgx text-mode execution paths. This fixes invalid JSON syntax errors when running through protocol-constrained setups like PgBouncer transaction pooling while preserving normal behavior for explicit bytea parameters. Fixes #1153. [PR #1155](riverqueue/river#1155).
Changelog

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

[0.32.0] - 2026-03-23

Added

  • riverlog.Middleware now supports MiddlewareConfig.MaxTotalBytes (default 8 MB) to cap total persisted river:log history per job. When the cap is exceeded, oldest log entries are dropped first while retaining the newest entry. Values over 64 MB are clamped to 64 MB. [PR #1157](riverqueue/river#1157).

Changed

  • Improved riverlog performance and reduced memory amplification when appending to large persisted river:log histories. [PR #1157](riverqueue/river#1157).
  • Reduced snooze-path memory amplification by setting snoozes in metadata updates before marshaling, avoiding an extra full-payload JSON rewrite. [PR #1159](riverqueue/river#1159).
  • Schema names are now quoted in SQL operations, enabling the use of spaces and other odd characters. [PR #1175](riverqueue/river#1175).

Fixed

  • riverpgxv5 now adapts JSON parameters for simple protocol / exec query modes so []byte JSON payloads are not encoded as bytea in pgx text-mode execution paths. This fixes invalid JSON syntax errors when running through protocol-constrained setups like PgBouncer transaction pooling while preserving normal behavior for explicit bytea parameters. Fixes #1153. [PR #1155](riverqueue/river#1155).
Commits

Updates github.com/riverqueue/river/rivershared from 0.31.0 to 0.32.0

Release notes

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

v0.32.0

Added

  • riverlog.Middleware now supports MiddlewareConfig.MaxTotalBytes (default 8 MB) to cap total persisted river:lo...

    Description has been truncated

Bumps the go-dependencies group with 2 updates in the / directory: [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) and [github.com/riverqueue/river](https://github.com/riverqueue/river).
Bumps the go-dependencies group with 2 updates in the /riverproui directory: [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) and [github.com/riverqueue/river](https://github.com/riverqueue/river).


Updates `github.com/jackc/pgx/v5` from 5.8.0 to 5.9.1
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](jackc/pgx@v5.8.0...v5.9.1)

Updates `github.com/riverqueue/river` from 0.31.0 to 0.32.0
- [Release notes](https://github.com/riverqueue/river/releases)
- [Changelog](https://github.com/riverqueue/river/blob/master/CHANGELOG.md)
- [Commits](riverqueue/river@v0.31.0...v0.32.0)

Updates `github.com/riverqueue/river/riverdriver` from 0.31.0 to 0.32.0
- [Release notes](https://github.com/riverqueue/river/releases)
- [Changelog](https://github.com/riverqueue/river/blob/master/CHANGELOG.md)
- [Commits](riverqueue/river@v0.31.0...v0.32.0)

Updates `github.com/riverqueue/river/riverdriver/riverpgxv5` from 0.31.0 to 0.32.0
- [Release notes](https://github.com/riverqueue/river/releases)
- [Changelog](https://github.com/riverqueue/river/blob/master/CHANGELOG.md)
- [Commits](riverqueue/river@v0.31.0...v0.32.0)

Updates `github.com/riverqueue/river/rivershared` from 0.31.0 to 0.32.0
- [Release notes](https://github.com/riverqueue/river/releases)
- [Changelog](https://github.com/riverqueue/river/blob/master/CHANGELOG.md)
- [Commits](riverqueue/river@v0.31.0...v0.32.0)

Updates `github.com/riverqueue/river/rivertype` from 0.31.0 to 0.32.0
- [Release notes](https://github.com/riverqueue/river/releases)
- [Changelog](https://github.com/riverqueue/river/blob/master/CHANGELOG.md)
- [Commits](riverqueue/river@v0.31.0...v0.32.0)

Updates `github.com/jackc/pgx/v5` from 5.8.0 to 5.9.1
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](jackc/pgx@v5.8.0...v5.9.1)

Updates `github.com/riverqueue/river` from 0.31.0 to 0.32.0
- [Release notes](https://github.com/riverqueue/river/releases)
- [Changelog](https://github.com/riverqueue/river/blob/master/CHANGELOG.md)
- [Commits](riverqueue/river@v0.31.0...v0.32.0)

Updates `github.com/riverqueue/river/riverdriver` from 0.31.0 to 0.32.0
- [Release notes](https://github.com/riverqueue/river/releases)
- [Changelog](https://github.com/riverqueue/river/blob/master/CHANGELOG.md)
- [Commits](riverqueue/river@v0.31.0...v0.32.0)

Updates `github.com/riverqueue/river/rivershared` from 0.31.0 to 0.32.0
- [Release notes](https://github.com/riverqueue/river/releases)
- [Changelog](https://github.com/riverqueue/river/blob/master/CHANGELOG.md)
- [Commits](riverqueue/river@v0.31.0...v0.32.0)

Updates `github.com/riverqueue/river/rivertype` from 0.31.0 to 0.32.0
- [Release notes](https://github.com/riverqueue/river/releases)
- [Changelog](https://github.com/riverqueue/river/blob/master/CHANGELOG.md)
- [Commits](riverqueue/river@v0.31.0...v0.32.0)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v5
  dependency-version: 5.9.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-dependencies
- dependency-name: github.com/riverqueue/river
  dependency-version: 0.32.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-dependencies
- dependency-name: github.com/riverqueue/river/riverdriver
  dependency-version: 0.32.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-dependencies
- dependency-name: github.com/riverqueue/river/riverdriver/riverpgxv5
  dependency-version: 0.32.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-dependencies
- dependency-name: github.com/riverqueue/river/rivershared
  dependency-version: 0.32.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-dependencies
- dependency-name: github.com/riverqueue/river/rivertype
  dependency-version: 0.32.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.9.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-dependencies
- dependency-name: github.com/riverqueue/river
  dependency-version: 0.32.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-dependencies
- dependency-name: github.com/riverqueue/river/riverdriver
  dependency-version: 0.32.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-dependencies
- dependency-name: github.com/riverqueue/river/rivershared
  dependency-version: 0.32.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-dependencies
- dependency-name: github.com/riverqueue/river/rivertype
  dependency-version: 0.32.0
  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 Mar 23, 2026
@bgentry
Copy link
Contributor

bgentry commented Mar 24, 2026

Added a bump to riverpro v0.23.0 as well to stay aligned

@bgentry bgentry merged commit 4ad02f3 into master Mar 24, 2026
21 checks passed
@bgentry bgentry deleted the dependabot/go_modules/go-dependencies-2eb4b46d3a branch March 24, 2026 14:14
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.

1 participant