Skip to content

Commit 0274f75

Browse files
authored
prepare v0.32.0 (#1181)
[skip ci]
1 parent 8563dd7 commit 0274f75

9 files changed

Lines changed: 40 additions & 35 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10-
### Changed
10+
## [0.32.0] - 2026-03-23
11+
12+
### Added
1113

1214
- `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](https://github.com/riverqueue/river/pull/1157).
15+
16+
### Changed
17+
1318
- Improved `riverlog` performance and reduced memory amplification when appending to large persisted `river:log` histories. [PR #1157](https://github.com/riverqueue/river/pull/1157).
1419
- Reduced snooze-path memory amplification by setting `snoozes` in metadata updates before marshaling, avoiding an extra full-payload JSON rewrite. [PR #1159](https://github.com/riverqueue/river/pull/1159).
1520
- Schema names are now quoted in SQL operations, enabling the use of spaces and other odd characters. [PR #1175](https://github.com/riverqueue/river/pull/1175).

cmd/river/go.mod

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ toolchain go1.25.7
77
require (
88
github.com/jackc/pgx/v5 v5.9.1
99
github.com/lmittmann/tint v1.1.3
10-
github.com/riverqueue/river v0.31.0
11-
github.com/riverqueue/river/riverdriver v0.31.0
12-
github.com/riverqueue/river/riverdriver/riverpgxv5 v0.31.0
13-
github.com/riverqueue/river/riverdriver/riversqlite v0.31.0
14-
github.com/riverqueue/river/rivershared v0.31.0
15-
github.com/riverqueue/river/rivertype v0.31.0
10+
github.com/riverqueue/river v0.32.0
11+
github.com/riverqueue/river/riverdriver v0.32.0
12+
github.com/riverqueue/river/riverdriver/riverpgxv5 v0.32.0
13+
github.com/riverqueue/river/riverdriver/riversqlite v0.32.0
14+
github.com/riverqueue/river/rivershared v0.32.0
15+
github.com/riverqueue/river/rivertype v0.32.0
1616
github.com/spf13/cobra v1.10.2
1717
github.com/stretchr/testify v1.11.1
1818
modernc.org/sqlite v1.47.0

go.mod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ require (
88
github.com/jackc/pgerrcode v0.0.0-20240316143900-6e2875d9b438
99
github.com/jackc/pgx/v5 v5.9.1
1010
github.com/jackc/puddle/v2 v2.2.2
11-
github.com/riverqueue/river/riverdriver v0.31.0
12-
github.com/riverqueue/river/riverdriver/riverpgxv5 v0.31.0
13-
github.com/riverqueue/river/rivershared v0.31.0
14-
github.com/riverqueue/river/rivertype v0.31.0
11+
github.com/riverqueue/river/riverdriver v0.32.0
12+
github.com/riverqueue/river/riverdriver/riverpgxv5 v0.32.0
13+
github.com/riverqueue/river/rivershared v0.32.0
14+
github.com/riverqueue/river/rivertype v0.32.0
1515
github.com/robfig/cron/v3 v3.0.1
1616
github.com/stretchr/testify v1.11.1
1717
github.com/tidwall/gjson v1.18.0

riverdriver/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.25.0
55
toolchain go1.25.7
66

77
require (
8-
github.com/riverqueue/river/rivertype v0.31.0
8+
github.com/riverqueue/river/rivertype v0.32.0
99
github.com/stretchr/testify v1.11.1
1010
)
1111

riverdriver/riverdatabasesql/go.mod

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ toolchain go1.25.7
77
require (
88
github.com/jackc/pgx/v5 v5.9.1
99
github.com/lib/pq v1.12.0
10-
github.com/riverqueue/river v0.31.0
11-
github.com/riverqueue/river/riverdriver v0.31.0
12-
github.com/riverqueue/river/rivershared v0.31.0
13-
github.com/riverqueue/river/rivertype v0.31.0
10+
github.com/riverqueue/river v0.32.0
11+
github.com/riverqueue/river/riverdriver v0.32.0
12+
github.com/riverqueue/river/rivershared v0.32.0
13+
github.com/riverqueue/river/rivertype v0.32.0
1414
github.com/stretchr/testify v1.11.1
1515
)
1616

@@ -20,7 +20,7 @@ require (
2020
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
2121
github.com/jackc/puddle/v2 v2.2.2 // indirect
2222
github.com/pmezard/go-difflib v1.0.0 // indirect
23-
github.com/riverqueue/river/riverdriver/riverpgxv5 v0.31.0 // indirect
23+
github.com/riverqueue/river/riverdriver/riverpgxv5 v0.32.0 // indirect
2424
github.com/tidwall/gjson v1.18.0 // indirect
2525
github.com/tidwall/match v1.2.0 // indirect
2626
github.com/tidwall/pretty v1.2.1 // indirect

riverdriver/riverdrivertest/go.mod

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ require (
99
github.com/jackc/pgerrcode v0.0.0-20240316143900-6e2875d9b438
1010
github.com/jackc/pgx/v5 v5.9.1
1111
github.com/lib/pq v1.12.0
12-
github.com/riverqueue/river v0.31.0
13-
github.com/riverqueue/river/riverdriver v0.31.0
14-
github.com/riverqueue/river/riverdriver/riverdatabasesql v0.31.0
15-
github.com/riverqueue/river/riverdriver/riverpgxv5 v0.31.0
16-
github.com/riverqueue/river/riverdriver/riversqlite v0.31.0
17-
github.com/riverqueue/river/rivershared v0.31.0
18-
github.com/riverqueue/river/rivertype v0.31.0
12+
github.com/riverqueue/river v0.32.0
13+
github.com/riverqueue/river/riverdriver v0.32.0
14+
github.com/riverqueue/river/riverdriver/riverdatabasesql v0.32.0
15+
github.com/riverqueue/river/riverdriver/riverpgxv5 v0.32.0
16+
github.com/riverqueue/river/riverdriver/riversqlite v0.32.0
17+
github.com/riverqueue/river/rivershared v0.32.0
18+
github.com/riverqueue/river/rivertype v0.32.0
1919
github.com/stretchr/testify v1.11.1
2020
github.com/tidwall/gjson v1.18.0
2121
github.com/tidwall/sjson v1.2.5

riverdriver/riverpgxv5/go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ toolchain go1.25.7
77
require (
88
github.com/jackc/pgx/v5 v5.9.1
99
github.com/jackc/puddle/v2 v2.2.2
10-
github.com/riverqueue/river/riverdriver v0.31.0
11-
github.com/riverqueue/river/rivershared v0.31.0
12-
github.com/riverqueue/river/rivertype v0.31.0
10+
github.com/riverqueue/river/riverdriver v0.32.0
11+
github.com/riverqueue/river/rivershared v0.32.0
12+
github.com/riverqueue/river/rivertype v0.32.0
1313
github.com/stretchr/testify v1.11.1
1414
)
1515

riverdriver/riversqlite/go.mod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ go 1.25.0
55
toolchain go1.25.7
66

77
require (
8-
github.com/riverqueue/river v0.31.0
9-
github.com/riverqueue/river/riverdriver v0.31.0
10-
github.com/riverqueue/river/rivershared v0.31.0
11-
github.com/riverqueue/river/rivertype v0.31.0
8+
github.com/riverqueue/river v0.32.0
9+
github.com/riverqueue/river/riverdriver v0.32.0
10+
github.com/riverqueue/river/rivershared v0.32.0
11+
github.com/riverqueue/river/rivertype v0.32.0
1212
github.com/stretchr/testify v1.11.1
1313
github.com/tidwall/gjson v1.18.0
1414
github.com/tidwall/sjson v1.2.5

rivershared/go.mod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ toolchain go1.25.7
66

77
require (
88
github.com/jackc/pgx/v5 v5.9.1
9-
github.com/riverqueue/river v0.31.0
10-
github.com/riverqueue/river/riverdriver v0.31.0
11-
github.com/riverqueue/river/riverdriver/riverpgxv5 v0.31.0
12-
github.com/riverqueue/river/rivertype v0.31.0
9+
github.com/riverqueue/river v0.32.0
10+
github.com/riverqueue/river/riverdriver v0.32.0
11+
github.com/riverqueue/river/riverdriver/riverpgxv5 v0.32.0
12+
github.com/riverqueue/river/rivertype v0.32.0
1313
github.com/stretchr/testify v1.11.1
1414
github.com/tidwall/gjson v1.18.0
1515
go.uber.org/goleak v1.3.0

0 commit comments

Comments
 (0)