Skip to content

Releases: hegeldev/hegel-core

v0.9.1

15 May 14:30

Choose a tag to compare

This release adds the allow_nan and allow_infinity boolean arguments to FloatConformance(). This makes it possible for clients where infinity or nan is not supported to run float conformance tests.

v0.9.0

13 May 11:25

Choose a tag to compare

This release adds a report_multiple_failures field to the run_test
protocol message, which maps to Hypothesis's report_multiple_bugs
setting. When False, Hypothesis collapses multi-bug runs to a single
failing example rather than surfacing one per distinct origin; the
default (True) preserves the existing behaviour.

The protocol version bumps from 0.14 to 0.15 so clients can detect
whether the server understands the new field.

v0.8.2

11 May 11:20

Choose a tag to compare

This patch fixes a stdio-server shutdown deadlock that could occur under uv
when the server exited after an error while stdin remained open.

v0.8.1

07 May 19:02

Choose a tag to compare

This patch adds support for Hypothesis's observability feature: https://hypothesis.readthedocs.io/en/latest/reference/integrations.html#observability.

v0.8.0

07 May 09:04

Choose a tag to compare

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.7.1

06 May 14:38

Choose a tag to compare

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.0

01 May 16:12

Choose a tag to compare

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.6.1

01 May 12:16

Choose a tag to compare

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.0

30 Apr 16:57

Choose a tag to compare

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.5.0

29 Apr 16:13

Choose a tag to compare

This release changes the one_of protocol request to return a tuple of [index, value], rather than just value.