Repository navigation
Export NECQ/NECF schema versions from @necpp-engine/wasm (0.10.0) - #15
Merged
Merged
Conversation
Add necqSchemaVersion, necfSchemaVersion, and necqFlags next to abiVersion in both entry points so external buffer readers can pin against the installed package. Name the NECF schema constant in the C++ writer and test the exports against the C++ header, the Rust reference views, and the published fixture bytes. Bump the package to 0.10.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013zT4XCD7tEaTiWxVv4VZ87
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013zT4XCD7tEaTiWxVv4VZ87
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #14.
@necpp-engine/wasmand@necpp-engine/wasm/workernow exportnecqSchemaVersion(1),necfSchemaVersion(1) and a frozennecqFlags({ images: 1, weights: 2 }) next toabiVersion, with literal types.kNecfSchemaVersionconstant instead of a bare1(no behaviour change).test/schema-versions.test.mjsties the exports to the C++ header and writer, the Rust reference views (rust/necq_view.rs,rust/necf_view.rs), and the header bytes of the published fixtures. Type tests and the packed-consumer test cover the new exports.docs/wasm-api.mdand CHANGELOG are updated. The package goes to 0.10.0 (new public API, additive).Generated by Claude Code