Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prepare v0.12.1 #620

Merged
merged 1 commit into from
Sep 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.12.1] - 2024-09-26

### Changed

- The `BatchCompleter` that marks jobs as completed can now batch database updates for _all_ states of jobs that have finished execution. Prior to this change, only `completed` jobs were batched into a single `UPDATE` call, while jobs moving to any other state used a single `UPDATE` per job. This change should significantly reduce database and pool contention on high volume system when jobs get retried, snoozed, cancelled, or discarded following execution. [PR #617](https://github.com/riverqueue/river/pull/617).
Expand Down
10 changes: 5 additions & 5 deletions cmd/river/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ toolchain go1.23.0
require (
github.com/jackc/pgx/v5 v5.7.1
github.com/lmittmann/tint v1.0.4
github.com/riverqueue/river v0.12.0
github.com/riverqueue/river/riverdriver v0.12.0
github.com/riverqueue/river/riverdriver/riverpgxv5 v0.12.0
github.com/riverqueue/river/rivershared v0.12.0
github.com/riverqueue/river/rivertype v0.12.0
github.com/riverqueue/river v0.12.1
github.com/riverqueue/river/riverdriver v0.12.1
github.com/riverqueue/river/riverdriver/riverpgxv5 v0.12.1
github.com/riverqueue/river/rivershared v0.12.1
github.com/riverqueue/river/rivertype v0.12.1
github.com/spf13/cobra v1.8.0
github.com/stretchr/testify v1.9.0
)
Expand Down
10 changes: 5 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ require (
github.com/jackc/pgerrcode v0.0.0-20220416144525-469b46aa5efa
github.com/jackc/pgx/v5 v5.7.1
github.com/jackc/puddle/v2 v2.2.2
github.com/riverqueue/river/riverdriver v0.12.0
github.com/riverqueue/river/riverdriver/riverdatabasesql v0.12.0
github.com/riverqueue/river/riverdriver/riverpgxv5 v0.12.0
github.com/riverqueue/river/rivershared v0.12.0
github.com/riverqueue/river/rivertype v0.12.0
github.com/riverqueue/river/riverdriver v0.12.1
github.com/riverqueue/river/riverdriver/riverdatabasesql v0.12.1
github.com/riverqueue/river/riverdriver/riverpgxv5 v0.12.1
github.com/riverqueue/river/rivershared v0.12.1
github.com/riverqueue/river/rivertype v0.12.1
github.com/robfig/cron/v3 v3.0.1
github.com/stretchr/testify v1.9.0
github.com/tidwall/gjson v1.17.3
Expand Down
2 changes: 1 addition & 1 deletion riverdriver/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ go 1.21

toolchain go1.23.0

require github.com/riverqueue/river/rivertype v0.12.0
require github.com/riverqueue/river/rivertype v0.12.1
8 changes: 4 additions & 4 deletions riverdriver/riverdatabasesql/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ toolchain go1.23.0
require (
github.com/jackc/pgx/v5 v5.7.1
github.com/lib/pq v1.10.9
github.com/riverqueue/river v0.12.0
github.com/riverqueue/river/riverdriver v0.12.0
github.com/riverqueue/river/rivershared v0.12.0
github.com/riverqueue/river/rivertype v0.12.0
github.com/riverqueue/river v0.12.1
github.com/riverqueue/river/riverdriver v0.12.1
github.com/riverqueue/river/rivershared v0.12.1
github.com/riverqueue/river/rivertype v0.12.1
github.com/stretchr/testify v1.9.0
)

Expand Down
8 changes: 4 additions & 4 deletions riverdriver/riverpgxv5/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ toolchain go1.23.0
require (
github.com/jackc/pgx/v5 v5.7.1
github.com/jackc/puddle/v2 v2.2.2
github.com/riverqueue/river v0.12.0
github.com/riverqueue/river/riverdriver v0.12.0
github.com/riverqueue/river/rivershared v0.12.0
github.com/riverqueue/river/rivertype v0.12.0
github.com/riverqueue/river v0.12.1
github.com/riverqueue/river/riverdriver v0.12.1
github.com/riverqueue/river/rivershared v0.12.1
github.com/riverqueue/river/rivertype v0.12.1
github.com/stretchr/testify v1.9.0
)

Expand Down
6 changes: 3 additions & 3 deletions rivershared/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ go 1.21
toolchain go1.23.0

require (
github.com/riverqueue/river v0.12.0
github.com/riverqueue/river/riverdriver v0.12.0
github.com/riverqueue/river/rivertype v0.12.0
github.com/riverqueue/river v0.12.1
github.com/riverqueue/river/riverdriver v0.12.1
github.com/riverqueue/river/rivertype v0.12.1
github.com/stretchr/testify v1.9.0
go.uber.org/goleak v1.3.0
golang.org/x/mod v0.9.0
Expand Down
Loading