Version 0.7.0
Pre-release
Pre-release
Changed
- [BC] The
pgjournal
implementation now supports the full range of unsignedjournal.Position
values. Theuint64
value-space is "mapped" onto theint64
space such thatuint64(0) == math.MinInt64
, thereby preserving order. Thejournal.position
column has been renamed toencoded_position
to make it clearer that the value can not be used as-is.
Fixed
- Calling
Range()
on an empty journal now correctly returnsjournal.ErrNotFound
. This issue affected all journal implementations.
Removed
- [BC] Removed
journal.MaxPosition
. All implementations now support the full unsigned 64-bit range ofjournal.Position
values. Technically, thememoryjournal
implementation is limited tomath.MaxInt
non-truncated records at any given time, but this is not practical anyway.