Download Latest Version v0.40.0 source code.tar.gz (588.1 kB)
Email in envelope

Get an email when there's a new version of River SQL

Home / v0.39.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-06-03 2.0 kB
v0.39.0 source code.tar.gz 2026-06-03 573.9 kB
v0.39.0 source code.zip 2026-06-03 784.4 kB
Totals: 3 Items   1.4 MB 0

⚠️ Breaking API change: rivermigrate.Migrator.Validate and rivermigrate.Migrator.ValidateTx now take a *rivermigrate.ValidateOpts parameter. Pass nil to preserve previous behavior. We normally endeavor not to make any breaking API changes, but this one will keep the API in a much nicer state, and is on an ancillary function that most installations won't be using. PR [#1259]

Added

  • Added MetadataSet to stage job metadata updates from worker middleware, HookWorkBegin, workers, or HookWorkEnd, with changes persisted when the job is completed. PR [#1269]

Changed

  • Add rivermigrate.ValidateOpts.TargetVersion so validation can check migrations up to a specific target version, matching the target-version behavior available on Migrate and MigrateTx. Notably, this is a breaking API change as the validate functions previously didn't take any options. PR [#1259]
  • When using (*Migrator[TTx]).Migrate with a TargetVersion that's already applied, River now no-ops idempotently instead of returning an error as a user convenience. PR [#1260]
  • Add logging statement for dropped job and queue subscription events at warn level when a subscriber buffer is full. PR [#1271]

Fixed

  • Add a 10-second timeout around StandardPilot.JobGetAvailable so a stalled standard-pilot fetch no longer hangs a producer indefinitely. PR [#1255]
  • Fixed rivertest.Worker.Work and WorkJob to honor a configured custom Config.Schema when transitioning a job to its running state. Previously, the running-state update ran unqualified and could fail on a connection whose search_path didn't include the configured schema. PR [#1262]
Source: README.md, updated 2026-06-03