Skip to content

Commit 8043b57

Browse files
authored
prepare v0.16.0 (#735)
[skip ci]
1 parent ee4cbd4 commit 8043b57

7 files changed

Lines changed: 25 additions & 22 deletions

File tree

CHANGELOG.md

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

88
## [Unreleased]
99

10+
## [0.16.0] - 2024-01-27
11+
1012
### Added
1113

1214
- `NeverSchedule` returns a `PeriodicSchedule` that never runs. This can be used to effectively disable the reindexer or any other maintenance service. [PR #718](https://github.com/riverqueue/river/pull/718).
@@ -19,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1921
- Snoozing a job now causes its `attempt` to be _decremented_, whereas previously the `max_attempts` would be incremented. In either case, this avoids allowing a snooze to exhaust a job's retries; however the new behavior also avoids potential issues with wrapping the `max_attempts` value, and makes it simpler to implement a `RetryPolicy` based on either `attempt` or `max_attempts`. The number of snoozes is also tracked in the job's metadata as `snoozes` for debugging purposes.
2022

2123
The implementation of the builtin `RetryPolicy` implementations is not changed, so this change should not cause any user-facing breakage unless you're relying on `attempt - len(errors)` for some reason. [PR #730](https://github.com/riverqueue/river/pull/730).
24+
2225
- `ByPeriod` uniqueness is now based off a job's `ScheduledAt` instead of the current time if it has a value. [PR #734](https://github.com/riverqueue/river/pull/734).
2326

2427
## [0.15.0] - 2024-12-26

cmd/river/go.mod

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ toolchain go1.23.5
77
require (
88
github.com/jackc/pgx/v5 v5.7.2
99
github.com/lmittmann/tint v1.0.6
10-
github.com/riverqueue/river v0.15.0
11-
github.com/riverqueue/river/riverdriver v0.15.0
12-
github.com/riverqueue/river/riverdriver/riverpgxv5 v0.15.0
13-
github.com/riverqueue/river/rivershared v0.15.0
14-
github.com/riverqueue/river/rivertype v0.15.0
10+
github.com/riverqueue/river v0.16.0
11+
github.com/riverqueue/river/riverdriver v0.16.0
12+
github.com/riverqueue/river/riverdriver/riverpgxv5 v0.16.0
13+
github.com/riverqueue/river/rivershared v0.16.0
14+
github.com/riverqueue/river/rivertype v0.16.0
1515
github.com/spf13/cobra v1.8.1
1616
github.com/stretchr/testify v1.10.0
1717
)

go.mod

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ require (
88
github.com/jackc/pgerrcode v0.0.0-20220416144525-469b46aa5efa
99
github.com/jackc/pgx/v5 v5.7.2
1010
github.com/jackc/puddle/v2 v2.2.2
11-
github.com/riverqueue/river/riverdriver v0.15.0
12-
github.com/riverqueue/river/riverdriver/riverdatabasesql v0.15.0
13-
github.com/riverqueue/river/riverdriver/riverpgxv5 v0.15.0
14-
github.com/riverqueue/river/rivershared v0.15.0
15-
github.com/riverqueue/river/rivertype v0.15.0
11+
github.com/riverqueue/river/riverdriver v0.16.0
12+
github.com/riverqueue/river/riverdriver/riverdatabasesql v0.16.0
13+
github.com/riverqueue/river/riverdriver/riverpgxv5 v0.16.0
14+
github.com/riverqueue/river/rivershared v0.16.0
15+
github.com/riverqueue/river/rivertype v0.16.0
1616
github.com/robfig/cron/v3 v3.0.1
1717
github.com/stretchr/testify v1.10.0
1818
github.com/tidwall/gjson v1.18.0

riverdriver/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ go 1.22.0
44

55
toolchain go1.23.5
66

7-
require github.com/riverqueue/river/rivertype v0.15.0
7+
require github.com/riverqueue/river/rivertype v0.16.0
88

99
require github.com/stretchr/testify v1.10.0 // indirect

riverdriver/riverdatabasesql/go.mod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ toolchain go1.23.5
77
require (
88
github.com/jackc/pgx/v5 v5.7.2
99
github.com/lib/pq v1.10.9
10-
github.com/riverqueue/river v0.15.0
11-
github.com/riverqueue/river/riverdriver v0.15.0
12-
github.com/riverqueue/river/rivershared v0.15.0
13-
github.com/riverqueue/river/rivertype v0.15.0
10+
github.com/riverqueue/river v0.16.0
11+
github.com/riverqueue/river/riverdriver v0.16.0
12+
github.com/riverqueue/river/rivershared v0.16.0
13+
github.com/riverqueue/river/rivertype v0.16.0
1414
github.com/stretchr/testify v1.10.0
1515
)
1616

riverdriver/riverpgxv5/go.mod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ toolchain go1.23.5
77
require (
88
github.com/jackc/pgx/v5 v5.7.2
99
github.com/jackc/puddle/v2 v2.2.2
10-
github.com/riverqueue/river v0.15.0
11-
github.com/riverqueue/river/riverdriver v0.15.0
12-
github.com/riverqueue/river/rivershared v0.15.0
13-
github.com/riverqueue/river/rivertype v0.15.0
10+
github.com/riverqueue/river v0.16.0
11+
github.com/riverqueue/river/riverdriver v0.16.0
12+
github.com/riverqueue/river/rivershared v0.16.0
13+
github.com/riverqueue/river/rivertype v0.16.0
1414
github.com/stretchr/testify v1.10.0
1515
)
1616

rivershared/go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ go 1.22.0
55
toolchain go1.23.5
66

77
require (
8-
github.com/riverqueue/river v0.15.0
9-
github.com/riverqueue/river/riverdriver v0.15.0
10-
github.com/riverqueue/river/rivertype v0.15.0
8+
github.com/riverqueue/river v0.16.0
9+
github.com/riverqueue/river/riverdriver v0.16.0
10+
github.com/riverqueue/river/rivertype v0.16.0
1111
github.com/stretchr/testify v1.10.0
1212
go.uber.org/goleak v1.3.0
1313
golang.org/x/mod v0.22.0

0 commit comments

Comments
 (0)