Skip to content

Fix variant encoding errors and bump to v4.0.1 - #17

Merged
lupodevelop merged 1 commit into
mainfrom
fix/4.0.1
Jul 12, 2026
Merged

Fix variant encoding errors and bump to v4.0.1#17
lupodevelop merged 1 commit into
mainfrom
fix/4.0.1

Conversation

@lupodevelop

Copy link
Copy Markdown
Owner

This patch release hardens codec behavior without API or wire-format changes. Variant encoding now propagates inner EncodeErrors instead of crashing on fallible encoders, and variant IDs are validated at build time to prevent out-of-range byte-tag truncation.

It also updates distribution startup to net_kernel:start/2 (including real-node test FFI), deduplicates tagged header parsing via a shared helper, adds regression tests for the variant fixes, and updates release/docs

This patch release hardens codec behavior without API or wire-format changes. Variant encoding now propagates inner `EncodeError`s instead of crashing on fallible encoders, and variant IDs are validated at build time to prevent out-of-range byte-tag truncation.

It also updates distribution startup to `net_kernel:start/2` (including real-node test FFI), deduplicates tagged header parsing via a shared helper, adds regression tests for the variant fixes, and updates release/docs
@lupodevelop
lupodevelop merged commit 84f0f59 into main Jul 12, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant