Repository navigation
Releases
Releases · hupe1980/meterstore
v0.21.0
meterstore 0.21.0
Added
obis_lastgang_direction(code)in SQL:'IMPORT'for1-0:1.29.x,
'EXPORT'for1-0:2.29.x, null otherwise —metering's
ObisCode::lastgang_direction.
Changed — breaking
metering0.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 depsfails when the resolved graph enablesserdeonrust_decimal
orjiff1, 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
meterstore 0.20.0
Added
correct_if_currenttakes 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::PredecessorMismatchnames the stale slot (meterstore::Slot).
Changed — breaking
metering0.28, and with itjiff1 in place oftime: instants are
jiff::Timestamp, datesjiff::civil::Date, spansjiff::SignedDuration.
Years arei16and monthsi8(VersionScope::new,bilanzierungsmonat).correct_if_current(&[StoredSeries]) -> Vec<Displacement>. A correction
spanning the watermark returnsMixedTierBatch; one naming a slot twice is
anEncodeerror.HotStore::append_single_tiertakes one expected predecessor per row.TieringWatermark::to_property,ArchivalWindow::to_propertyand
PartitionId::relation_namereturnString.
Fixed
- A stored value PostgreSQL returns but the store cannot decode, such as
'infinity'in atimestamptz, is a non-retryableError::Decodenaming the
column rather than a retryableError::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
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
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_currentpublishes a successor to one observed interval version.
A stale correction returns the expected and actual scoped versions.Error::PartialAppendreports acknowledged effects and the underlying failure
when an append stops partway.Error::SubjectSuppressedidentifies an
erased subject's refused registration without including the identifier.
Changed — breaking
- MeterStore's public measurement types come from
metering0.27. Applications
that pass these types across the store API must also usemetering0.27. - Custom
HotStore::append_single_tierimplementations take an optional scoped
predecessor. Conditional cold writes require snapshot pinning, guarded commits
and an enforced cold-append lease. StoredValueincludes the stored interval end (to), orNonefor 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
parquetversion 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
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 exposecreate_table_for(&config); their storage traits take the same
configuration increate_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
urldependency 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
v0.16.0
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
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
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
meterstore 0.13.0
Changes since v0.12.0
- Refactor test comments for clarity and consistency (b2c6134)
meterstore = "0.13.0"