Skip to content
Open
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
28 changes: 28 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -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)
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.6.0";
hegel.url = "git+https://github.com/hegeldev/hegel-core?dir=nix&ref=refs/tags/v0.8.1";
};

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.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)
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.6.0";
constexpr const char* HEGEL_SERVER_VERSION = "0.8.1";

/// Returns the argv prefix used to invoke the hegel server.
///
Expand Down
Loading