From e9d88fd4ba3fb724a4c1e346b98fb27ae5422523 Mon Sep 17 00:00:00 2001 From: GordonYuanyc Date: Tue, 20 Oct 2026 17:57:45 -0400 Subject: [PATCH] chore(release): 0.4.0 Cargo.toml: version 0.4.0, with Cargo.lock to match. CHANGELOG.md: close [Unreleased] as [0.4.0] - 2026-10-20 with a summary of the release, and add the compare links for it. README.md: the crates.io and git-dependency examples pin 0.4 / v0.4.0. Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 15 ++++++++++++++- Cargo.lock | 2 +- Cargo.toml | 2 +- README.md | 4 ++-- 4 files changed, 18 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f831f21..904006b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,18 @@ signals a backwards-compatible change. ## [Unreleased] +## [0.4.0] - 2026-10-20 + +Breaking release. ASAPv1 is the one serialized form: protobuf, the legacy +MessagePack wrappers and `serde` on sketch types are removed. Public names +follow one scheme (every write is `update`, getters drop `get_`, acronyms are +one word). Adds ASAPv1 deltas for the counter, HLL, DDSketch and SetAggregator +sketches, `TupleKey` heap keys, `Vector3D`, Count-Min and Count Sketch with +Space-Saving, and the experimental `CountMinHll` and `MicroCm`. Fixes the +UnivMon cardinality and L2 estimators, a KllDynamic NaN panic and an +`OctoRuntime::flush` race. See **Changed** and **Removed** below for the +renames and wire changes. + ### Added - **`Hydra::query_group_total(key)`** returns a subpopulation's total mass @@ -948,7 +960,8 @@ Initial crates.io release. Pre-release tag. Not published to crates.io. -[Unreleased]: https://github.com/ProjectASAP/asap_sketchlib/compare/v0.3.0...HEAD +[Unreleased]: https://github.com/ProjectASAP/asap_sketchlib/compare/v0.4.0...HEAD +[0.4.0]: https://github.com/ProjectASAP/asap_sketchlib/compare/v0.3.0...v0.4.0 [0.3.0]: https://github.com/ProjectASAP/asap_sketchlib/compare/v0.2.2...v0.3.0 [0.2.2]: https://github.com/ProjectASAP/asap_sketchlib/compare/v0.2.1...v0.2.2 [0.2.1]: https://github.com/ProjectASAP/asap_sketchlib/compare/v0.2.0...v0.2.1 diff --git a/Cargo.lock b/Cargo.lock index 73e03e7c..c371c218 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,7 +4,7 @@ version = 4 [[package]] name = "asap_sketchlib" -version = "0.3.0" +version = "0.4.0" dependencies = [ "core_affinity", "crossbeam-channel", diff --git a/Cargo.toml b/Cargo.toml index 77489e38..bfeff287 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "asap_sketchlib" -version = "0.3.0" +version = "0.4.0" edition = "2024" rust-version = "1.85" license = "MIT" diff --git a/README.md b/README.md index dce7176d..d4dca816 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ cargo add asap_sketchlib ```toml [dependencies] -asap_sketchlib = "0.3" +asap_sketchlib = "0.4" ``` API docs are hosted on [docs.rs](https://docs.rs/asap_sketchlib). @@ -52,7 +52,7 @@ Alternatively, pin to a tagged revision from GitHub: ```toml [dependencies] -asap_sketchlib = { git = "https://github.com/ProjectASAP/asap_sketchlib", tag = "v0.3.0" } +asap_sketchlib = { git = "https://github.com/ProjectASAP/asap_sketchlib", tag = "v0.4.0" } ``` ### Count distinct users with HyperLogLog