Skip to content

Commit f603d0d

Browse files
authored
prepare v0.31.0 (#1154)
[skip ci]
1 parent 6b9b622 commit f603d0d

File tree

9 files changed

+37
-35
lines changed

9 files changed

+37
-35
lines changed

CHANGELOG.md

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

88
## [Unreleased]
99

10+
## [0.31.0] - 2026-02-21
11+
1012
### Added
1113

1214
- Added root River CLI flag `--statement-timeout` so Postgres session statement timeout can be set explicitly for commands like migrations. Explicit flag values take priority over database URL query params, and query params still take priority over built-in defaults. [PR #1142](https://github.com/riverqueue/river/pull/1142).
1315

1416
### Fixed
1517

16-
- Fix connection leak in `Listener.Connect` in case where `afterConnectExec` failed. Thanks Johan Kjölhede ([@GiGurra](https://github.com/GiGurra))! [PR #1147](https://github.com/riverqueue/river/pull/1147).
18+
- Fix connection leak in `Listener.Connect` in case where `afterConnectExec` failed. Thanks Johan Kjölhede ([@GiGurra](https://github.com/GiGurra))! [PR #1147](https://github.com/riverqueue/river/pull/1147).
1719
- Fix missing `ticker.Stop` in producer's `pollForSettingChanges` ([@GiGurra](https://github.com/GiGurra)). [PR #1148](https://github.com/riverqueue/river/pull/1148).
1820
- Fix accidental use of cancelled context for `Notifier.Ping` ([@GiGurra](https://github.com/GiGurra)). [PR #1149](https://github.com/riverqueue/river/pull/1149).
1921
- Add jitter to fetch poll loop to prevent producer stampeding ([@GiGurra](https://github.com/GiGurra)). [PR #1150](https://github.com/riverqueue/river/pull/1150).

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.8.0
99
github.com/lmittmann/tint v1.1.3
10-
github.com/riverqueue/river v0.30.2
11-
github.com/riverqueue/river/riverdriver v0.30.2
12-
github.com/riverqueue/river/riverdriver/riverpgxv5 v0.30.2
13-
github.com/riverqueue/river/riverdriver/riversqlite v0.30.2
14-
github.com/riverqueue/river/rivershared v0.30.2
15-
github.com/riverqueue/river/rivertype v0.30.2
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
1616
github.com/spf13/cobra v1.10.2
1717
github.com/stretchr/testify v1.11.1
1818
modernc.org/sqlite v1.45.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.8.0
1010
github.com/jackc/puddle/v2 v2.2.2
11-
github.com/riverqueue/river/riverdriver v0.30.2
12-
github.com/riverqueue/river/riverdriver/riverpgxv5 v0.30.2
13-
github.com/riverqueue/river/rivershared v0.30.2
14-
github.com/riverqueue/river/rivertype v0.30.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
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.30.2
8+
github.com/riverqueue/river/rivertype v0.31.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.8.0
99
github.com/lib/pq v1.11.2
10-
github.com/riverqueue/river v0.30.2
11-
github.com/riverqueue/river/riverdriver v0.30.2
12-
github.com/riverqueue/river/rivershared v0.30.2
13-
github.com/riverqueue/river/rivertype v0.30.2
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
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.30.2 // indirect
23+
github.com/riverqueue/river/riverdriver/riverpgxv5 v0.31.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.8.0
1111
github.com/lib/pq v1.11.2
12-
github.com/riverqueue/river v0.30.2
13-
github.com/riverqueue/river/riverdriver v0.30.2
14-
github.com/riverqueue/river/riverdriver/riverdatabasesql v0.30.2
15-
github.com/riverqueue/river/riverdriver/riverpgxv5 v0.30.2
16-
github.com/riverqueue/river/riverdriver/riversqlite v0.30.2
17-
github.com/riverqueue/river/rivershared v0.30.2
18-
github.com/riverqueue/river/rivertype v0.30.2
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
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.8.0
99
github.com/jackc/puddle/v2 v2.2.2
10-
github.com/riverqueue/river/riverdriver v0.30.2
11-
github.com/riverqueue/river/rivershared v0.30.2
12-
github.com/riverqueue/river/rivertype v0.30.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
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.30.2
9-
github.com/riverqueue/river/riverdriver v0.30.2
10-
github.com/riverqueue/river/rivershared v0.30.2
11-
github.com/riverqueue/river/rivertype v0.30.2
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
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.8.0
9-
github.com/riverqueue/river v0.30.2
10-
github.com/riverqueue/river/riverdriver v0.30.2
11-
github.com/riverqueue/river/riverdriver/riverpgxv5 v0.30.2
12-
github.com/riverqueue/river/rivertype v0.30.2
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
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)