Skip to content

Releases

v0.21.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 17:15

meterstore 0.21.0

Added

  • obis_lastgang_direction(code) in SQL: 'IMPORT' for 1-0:1.29.x,
    'EXPORT' for 1-0:2.29.x, null otherwise — metering's
    ObisCode::lastgang_direction.

Changed — breaking

  • metering 0.29. A consumer reaches the shared types through it:
    metering::jiff, metering::rust_decimal, metering::dec!.
  • MeterStore no longer enables rust_decimal/serde. A consumer that relied on
    it enables the feature itself.

Verification

  • just deps fails when the resolved graph enables serde on rust_decimal
    or jiff 1, and names the crate that did.
  • Stored bytes are unchanged: the 0.21.0 stored-form record equals 0.20.0's.
  • 1099 tests pass (604 unit, 465 integration and 30 doc).
meterstore = "0.21.0"

v0.20.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 09:22

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"

v0.19.1

Choose a tag to compare

@github-actions github-actions released this 28 Nov 12:44

meterstore 0.19.1

Fixed

  • Fixed the docs.rs build for the SQL catalog API. Local and release checks
    exercise the hosted documentation configuration.
meterstore = "0.19.1"

v0.19.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 11:28

meterstore 0.19.0

Added

  • Settlement tables can select native quality, span and unit for replay checks.
    The typed delivery reader retains each winning slot's version and metadata.
  • correct_if_current publishes a successor to one observed interval version.
    A stale correction returns the expected and actual scoped versions.
  • Error::PartialAppend reports acknowledged effects and the underlying failure
    when an append stops partway. Error::SubjectSuppressed identifies an
    erased subject's refused registration without including the identifier.

Changed — breaking

  • MeterStore's public measurement types come from metering 0.27. Applications
    that pass these types across the store API must also use metering 0.27.
  • Custom HotStore::append_single_tier implementations take an optional scoped
    predecessor. Conditional cold writes require snapshot pinning, guarded commits
    and an enforced cold-append lease.
  • StoredValue includes the stored interval end (to), or None for point readings.

Fixed

  • A duplicate receipt carries the transaction time, span and reading terms of
    the original stored version, including when a higher version is current.
  • Authored retries match interval starts at stored microsecond precision. An
    interval whose endpoints collapse to one stored instant fails encoding.
    Pre-epoch timestamps round down consistently with query planning, and
    arrival-derived versions reject submillisecond instants before the epoch.

Dependencies

  • Raised the minimum parquet version to 58.4.2, which addresses plaintext
    Bloom filters in encrypted files. RUSTSEC-2026-0595

Verification

  • 1087 tests pass (597 unit, 460 integration and 30 doc).
meterstore = "0.19.0"

v0.18.1

Choose a tag to compare

@github-actions github-actions released this 23 Nov 14:36

meterstore 0.18.1

Added

  • Settlement writers can require each delivery to belong to one tier, declare
    which attributes must agree on replay and select an exact scale for native
    quantities. All three settings are available in the Rust builder and TOML.

Changed — breaking

  • Provision a tier with its validated table configuration. Both PostgreSQL and
    Iceberg expose create_table_for(&config); their storage traits take the same
    configuration in create_tables. The physical decimal scale is fixed at creation.
  • PostgreSQL’s overlap exclusion handles intersecting spans with different
    starts. The primary key handles equal starts within a reading and version.

Fixed

  • Hot writers back off between serialization retries and report displacements in
    committed order. A rejected bulk write rolls back the entire insert.
  • Authored retries preserve assertion attributes, canonical identity and original
    transaction time. Both tiers refuse redelivery under a different version scope.

Dependencies

  • Updated the locked url dependency to 2.5.9, the patched release for RUSTSEC-2026-0592.

Verification

  • 1075 tests pass (595 unit, 451 integration and 29 doc).
meterstore = "0.18.1"

v0.17.0

Choose a tag to compare

@github-actions github-actions released this 21 Nov 01:37

meterstore 0.17.0

Changes since v0.16.0

  • Release 0.17.0: metering 0.26 (687650d)
  • Publish to crates.io through trusted publishing (28f5e4d)
meterstore = "0.17.0"

v0.16.0

Choose a tag to compare

@github-actions github-actions released this 07 Nov 12:39

meterstore 0.16.0

Changes since v0.15.0

  • Release 0.16.0: iceberg 0.11, DataFusion 54, a store-owned pool (2a1f7ff)
meterstore = "0.16.0"

v0.15.0

Choose a tag to compare

@github-actions github-actions released this 09 Oct 19:23

meterstore 0.15.0

Changes since v0.14.0

  • Refactor code structure for improved readability and maintainability (64f621b)
meterstore = "0.15.0"

v0.14.0

Choose a tag to compare

@github-actions github-actions released this 19 Sep 19:35

meterstore 0.14.0

Changes since v0.13.0

  • Enhance CI feature matrix to run sets in parallel and ensure consistency between local and CI feature sets (9d4549c)
  • Enhance error handling in repo function and clarify tracked file constraints in tests (aae8ae1)
  • Refactor tests to utilize admin methods for snapshot and subject operations (bd34649)
meterstore = "0.14.0"

v0.13.0

Choose a tag to compare

@github-actions github-actions released this 09 Sep 04:04

meterstore 0.13.0

Changes since v0.12.0

  • Refactor test comments for clarity and consistency (b2c6134)
meterstore = "0.13.0"