Changelog

All notable changes to the xy and xy-macros crates are documented here.

The format follows Keep a Changelog. Both crates are versioned and released together.

[Unreleased]

Changed

has exactly its parent's numeric id, so (0, 0), (0, 16), (0, 17) and (0, 64) are four distinct regions that all report region_id == 0.

wrapper is source-breaking: it is now with_region(xy, region_id, plen, f, ud).

each child's width arrives alongside its id. Source-breaking for callbacks.

region_exists: Option<XyRegionExistsFn>, inserted in the C field order (right after current_region). XyCtx is #[repr(C)], so this is a binary-layout change: a host built against 1.5.x will mis-marshal unload, reload and region_state for a binding built against 1.4.x.

Added

read from the thread-local entry (no hash lookup). 0 is the root's real width, not a sentinel.

that exact pair exists. Both halves are required.

Removed

looking up by id alone is a query rather than a lookup, and its uint8_t return could not distinguish the root's real width of 0 from "not found". Use current_region_plen() or region_exists(id, plen).

[0.1.0] - 2026-05-05

Initial release of the Rust bindings for libxylem.

xy-macros

xy