From a0c94be7a5b63df5d9db22c986a2342cc663a246 Mon Sep 17 00:00:00 2001 From: "hegel-release[bot]" <3077575+hegel-release[bot]@users.noreply.github.com> Date: Thu, 30 Apr 2026 16:57:49 +0000 Subject: [PATCH] Bump hegel-core to 0.6.0 --- RELEASE.md | 12 ++++++++++++ nix/flake.lock | 12 ++++++------ nix/flake.nix | 2 +- src/connection.cpp | 4 ++-- src/installer.h | 2 +- 5 files changed, 22 insertions(+), 10 deletions(-) create mode 100644 RELEASE.md diff --git a/RELEASE.md b/RELEASE.md new file mode 100644 index 0000000..6fe4e52 --- /dev/null +++ b/RELEASE.md @@ -0,0 +1,12 @@ +RELEASE_TYPE: patch + +Bump our pinned hegel-core to [0.6.0](https://github.com/hegeldev/hegel-core/releases/tag/v0.6.0), incorporating the following change: + +> This release makes the following breaking protocol changes: +> - Removed `{"type": "sampled_from"}`. Instead of serializing the values to sample from, ask for an integer index and index into the collection of values on the client side. +> - Removed `{"type": "null"}`. Use `{"type": "constant", "value": null}` instead. +> - Replaced `{"type": "ipv4"}` and `{"type": "ipv6"}` with a single `{"type": "ip_address", "version": <4|6>}` schema. +> +> The protocol version is now 0.12. +> +> — [v0.6.0](https://github.com/hegeldev/hegel-core/releases/tag/v0.6.0) diff --git a/nix/flake.lock b/nix/flake.lock index 16cb45c..ddfc6df 100644 --- a/nix/flake.lock +++ b/nix/flake.lock @@ -38,17 +38,17 @@ }, "locked": { "dir": "nix", - "lastModified": 1777479227, - "narHash": "sha256-s1JjMvJX3SRebwlSQeo6S99OWIoP0CFuPALvG1itzGw=", - "ref": "refs/tags/v0.5.0", - "rev": "a95da271bb026037d13656b4317a445a308fded3", - "revCount": 653, + "lastModified": 1777568232, + "narHash": "sha256-VInDnyh7uxm6d9IyfV3ShxHZD4BvsTF7wIB+kv9apbk=", + "ref": "refs/tags/v0.6.0", + "rev": "4630a7845bff88908be4505675a945711f43b5bd", + "revCount": 658, "type": "git", "url": "https://github.com/hegeldev/hegel-core" }, "original": { "dir": "nix", - "ref": "refs/tags/v0.5.0", + "ref": "refs/tags/v0.6.0", "type": "git", "url": "https://github.com/hegeldev/hegel-core" } diff --git a/nix/flake.nix b/nix/flake.nix index 85e166d..503c4ad 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.5.0"; + hegel.url = "git+https://github.com/hegeldev/hegel-core?dir=nix&ref=refs/tags/v0.6.0"; }; outputs = diff --git a/src/connection.cpp b/src/connection.cpp index d1c0d40..2066910 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.11"; - static constexpr const char* MAX_PROTOCOL_VERSION = "0.11"; + static constexpr const char* MIN_PROTOCOL_VERSION = "0.12"; + static constexpr const char* MAX_PROTOCOL_VERSION = "0.12"; 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 a58f430..1c84f11 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.5.0"; + constexpr const char* HEGEL_SERVER_VERSION = "0.6.0"; /// Returns the argv prefix used to invoke the hegel server. ///