From 080250a9ff513b3aacdd189b7c054ffb73226b2f Mon Sep 17 00:00:00 2001 From: "hegel-release[bot]" <3077575+hegel-release[bot]@users.noreply.github.com> Date: Thu, 7 May 2026 19:03:14 +0000 Subject: [PATCH] Bump hegel-core to 0.8.1 --- RELEASE.md | 28 ++++++++++++++++++++++++++++ nix/flake.lock | 12 ++++++------ nix/flake.nix | 2 +- src/connection.cpp | 4 ++-- src/installer.h | 2 +- 5 files changed, 38 insertions(+), 10 deletions(-) create mode 100644 RELEASE.md diff --git a/RELEASE.md b/RELEASE.md new file mode 100644 index 0000000..bfa1153 --- /dev/null +++ b/RELEASE.md @@ -0,0 +1,28 @@ +RELEASE_TYPE: patch + +Bump our pinned hegel-core to [0.8.1](https://github.com/hegeldev/hegel-core/releases/tag/v0.8.1), incorporating the following changes: + +> This patch changes the default Hegel server settings when running inside Antithesis (i.e. when `ANTITHESIS_OUTPUT_DIR` is set in the environment) to disable health checks and database. Health checks are designed for the sort of small fast test you would run in your unit tests and are not sensible defaults for Antithesis, and the database is essentially useless inside Antithesis as replay is done via the fuzzer. +> +> — [v0.6.1](https://github.com/hegeldev/hegel-core/releases/tag/v0.6.1) + +> This release adds support for the `phases` parameter in the `run_test` protocol message, +> allowing clients to control which Hypothesis phases run (e.g. `generate`, `shrink`, +> `reuse`, `target`, `explicit`, `explain`). +> +> — [v0.7.0](https://github.com/hegeldev/hegel-core/releases/tag/v0.7.0) + +> This patch adds support for the `uuid` schema type, exposing Hypothesis's +> `uuids` strategy. UUIDs are returned to the client as strings in the +> canonical hyphenated form. An optional `version` field selects a specific +> UUID version (1-5). +> +> — [v0.7.1](https://github.com/hegeldev/hegel-core/releases/tag/v0.7.1) + +> This patch bumps `PROTOCOL_VERSION` to `0.14`. The previous release (0.7.1) added the `uuid` schema type without bumping the protocol, so client libraries had no way to negotiate "this server understands `uuid`" at handshake. Bumping now lets clients that emit `{"type": "uuid"}` schemas require protocol `0.14` and fail cleanly against older servers instead of getting an `Unsupported schema` error at draw time. +> +> — [v0.8.0](https://github.com/hegeldev/hegel-core/releases/tag/v0.8.0) + +> This patch adds support for Hypothesis's observability feature: https://hypothesis.readthedocs.io/en/latest/reference/integrations.html#observability. +> +> — [v0.8.1](https://github.com/hegeldev/hegel-core/releases/tag/v0.8.1) diff --git a/nix/flake.lock b/nix/flake.lock index ddfc6df..8258251 100644 --- a/nix/flake.lock +++ b/nix/flake.lock @@ -38,17 +38,17 @@ }, "locked": { "dir": "nix", - "lastModified": 1777568232, - "narHash": "sha256-VInDnyh7uxm6d9IyfV3ShxHZD4BvsTF7wIB+kv9apbk=", - "ref": "refs/tags/v0.6.0", - "rev": "4630a7845bff88908be4505675a945711f43b5bd", - "revCount": 658, + "lastModified": 1778180558, + "narHash": "sha256-Nck/AakWXKn8RnqH2a0OhafxJFdumCndDvBkIe4Yl/E=", + "ref": "refs/tags/v0.8.1", + "rev": "22856c535e6820fe40a908e578216a78a0c8de2a", + "revCount": 686, "type": "git", "url": "https://github.com/hegeldev/hegel-core" }, "original": { "dir": "nix", - "ref": "refs/tags/v0.6.0", + "ref": "refs/tags/v0.8.1", "type": "git", "url": "https://github.com/hegeldev/hegel-core" } diff --git a/nix/flake.nix b/nix/flake.nix index 503c4ad..12181cf 100644 --- a/nix/flake.nix +++ b/nix/flake.nix @@ -4,7 +4,7 @@ inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; flake-compat.url = "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz"; - hegel.url = "git+https://github.com/hegeldev/hegel-core?dir=nix&ref=refs/tags/v0.6.0"; + hegel.url = "git+https://github.com/hegeldev/hegel-core?dir=nix&ref=refs/tags/v0.8.1"; }; outputs = diff --git a/src/connection.cpp b/src/connection.cpp index 2066910..cef8e52 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -18,8 +18,8 @@ using hegel::internal::json::ImplUtil; namespace hegel::impl { - static constexpr const char* MIN_PROTOCOL_VERSION = "0.12"; - static constexpr const char* MAX_PROTOCOL_VERSION = "0.12"; + static constexpr const char* MIN_PROTOCOL_VERSION = "0.14"; + static constexpr const char* MAX_PROTOCOL_VERSION = "0.14"; static constexpr const char* HANDSHAKE_STRING = "hegel_handshake_start"; Connection::Connection(int read_fd, int write_fd) diff --git a/src/installer.h b/src/installer.h index 1c84f11..a7ed9a1 100644 --- a/src/installer.h +++ b/src/installer.h @@ -12,7 +12,7 @@ namespace hegel::impl { /// hegel-core version that this library is built against. Kept in sync /// with the Rust library's `HEGEL_SERVER_VERSION`. - constexpr const char* HEGEL_SERVER_VERSION = "0.6.0"; + constexpr const char* HEGEL_SERVER_VERSION = "0.8.1"; /// Returns the argv prefix used to invoke the hegel server. ///