Skip to content

v0.20.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 09:22
· 1 commit to main since this release

meterstore 0.20.0

Added

  • correct_if_current takes a batch: every slot's predecessor is checked in
    the publishing transaction or conditional Iceberg commit, so one stale slot
    refuses the whole correction and nothing is written.
  • Error::PredecessorMismatch names the stale slot (meterstore::Slot).

Changed — breaking

  • metering 0.28, and with it jiff 1 in place of time: instants are
    jiff::Timestamp, dates jiff::civil::Date, spans jiff::SignedDuration.
    Years are i16 and months i8 (VersionScope::new, bilanzierungsmonat).
  • correct_if_current(&[StoredSeries]) -> Vec<Displacement>. A correction
    spanning the watermark returns MixedTierBatch; one naming a slot twice is
    an Encode error.
  • HotStore::append_single_tier takes one expected predecessor per row.
  • TieringWatermark::to_property, ArchivalWindow::to_property and
    PartitionId::relation_name return String.

Fixed

  • A stored value PostgreSQL returns but the store cannot decode, such as
    'infinity' in a timestamptz, is a non-retryable Error::Decode naming the
    column rather than a retryable Error::Storage.

Verification

  • Stored bytes are unchanged: the 0.20.0 stored-form record equals 0.19.1's.
  • 1097 tests pass (602 unit, 465 integration and 30 doc).
meterstore = "0.20.0"