Skip to content

Commit

Permalink
prepare v0.12.1 (#620)
Browse files Browse the repository at this point in the history
  • Loading branch information
bgentry authored Sep 26, 2024
1 parent 2b9dd83 commit bb8997e
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 22 deletions.
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

0 comments on commit bb8997e

Please sign in to comment.