Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -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)
12 changes: 6 additions & 6 deletions nix/flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion nix/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down
4 changes: 2 additions & 2 deletions src/connection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/installer.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
///
Expand Down
Loading