Skip to content
Merged
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
24 changes: 15 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,27 @@

## [0.2.1] - 2026-10-08

Each platform gem carries `libhegel` 0.45.1, up from 0.45.0. A caller has
nothing to change. The engine now reads a NULL string buffer with length
zero as the empty string, and it rejects a NULL buffer with a nonzero
length. These bindings send neither case, so a drawn value does not
change: `from_regex("", fullmatch: true)` draws `""` on both engines.
### Engine: libhegel 0.45.1 (was 0.45.0)

Each platform gem carries `libhegel` 0.45.1. A caller has nothing to
change. The engine now reads a NULL string buffer with length zero as the
empty string, and it rejects a NULL buffer with a nonzero length. These
bindings send neither case, so a drawn value does not change:
`from_regex("", fullmatch: true)` draws `""` on both engines.

## [0.2.0] - 2026-10-07

### Engine: libhegel 0.45.0 (was 0.32.5)

Each platform gem carries `libhegel` 0.45.0. The engine changed its C
interface in several places between the two, and these bindings follow
each change. The sections below list what that changes for a caller.

### Ruby

The floor is Ruby 3.4. A project on Ruby 3.3 stays on 0.1.1. See
[ADR 0017](docs/adr/0017-raise-the-ruby-floor-to-3-4.md).

Each platform gem carries `libhegel` 0.45.0, up from 0.32.5. The engine
changed its C interface in several places between the two, and these
bindings follow each change.

### Changes a caller has to make

`Hegel.test` no longer takes `stateful_step_count:`. Pass `step_count:` to
Expand Down
6 changes: 6 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ Design decisions belong in `docs/` as architecture records. A new decision gets
a new record; a changed decision supersedes the old record rather than editing
it, so the history stays readable.

A release that moves the pinned libhegel opens its CHANGELOG section with the
heading `### Engine: libhegel <new> (was <old>)`, before anything else in that
section, and says under it what the move changes for a caller, or that it
changes nothing. A caller who reads one release's notes, or the GitHub release
built from them, then sees the engine move first.

Write comments that record why: a constraint, or an alternative that got
rejected. The code already states what it does. Another repository's agent
instructions bind that repository: when hegel-rust's own instructions and this
Expand Down
Loading