Added
- The River CLI will now respect the standard set of
PG*
environment variables likePGHOST
,PGPORT
,PGDATABASE
,PGUSER
,PGPASSWORD
, andPGSSLMODE
to configure a target database when the--database-url
parameter is omitted. PR #702. - Add missing doc for
JobRow.UniqueStates
+ revealrivertype.UniqueOptsByStateDefault()
to provide access to the default set of unique job states. PR #707.
Changed
- Sleep durations are now logged as Go-like duration strings (e.g. "10s") in either text or JSON instead of duration strings in text and nanoseconds in JSON. PR #699.
- Altered the migration comments from
river migrate-get
to include the "line" of the migration being run (main
, or for River Proworkflow
andsequence
) to make them more distinguishable. PR #703. - Fewer slice allocations during unique insertions. PR #705.
Fixed
- Exponential backoffs at degenerately high job attempts (>= 310) no longer risk overflowing
time.Duration
. PR #698.