Added
riverlog.Middlewarenow supportsMiddlewareConfig.MaxTotalBytes(default 8 MB) to cap total persistedriver:loghistory per job. When the cap is exceeded, oldest log entries are dropped first while retaining the newest entry. Values over 64 MB are clamped to 64 MB. PR #1157.
Changed
- Improved
riverlogperformance and reduced memory amplification when appending to large persistedriver:loghistories. PR #1157. - Reduced snooze-path memory amplification by setting
snoozesin metadata updates before marshaling, avoiding an extra full-payload JSON rewrite. PR #1159. - Schema names are now quoted in SQL operations, enabling the use of spaces and other odd characters. PR #1175.
Fixed
riverpgxv5now adapts JSON parameters forsimple protocol/execquery modes so[]byteJSON payloads are not encoded asbyteain pgx text-mode execution paths. This fixes invalid JSON syntax errors when running through protocol-constrained setups like PgBouncer transaction pooling while preserving normal behavior for explicitbyteaparameters. Fixes #1153. PR #1155.