Skip to content

Export NECQ/NECF schema versions from @necpp-engine/wasm (0.10.0) - #15

Merged
andrekuehne merged 2 commits into
masterfrom
ccr-6cf943ea-ho968c
Oct 18, 2026
Merged

andrekuehne merged 2 commits into
masterfrom
ccr-6cf943ea-ho968c

Conversation

@andrekuehne

Copy link
Copy Markdown
Owner

Closes #14.

  • @necpp-engine/wasm and @necpp-engine/wasm/worker now export necqSchemaVersion (1), necfSchemaVersion (1) and a frozen necqFlags ({ images: 1, weights: 2 }) next to abiVersion, with literal types.
  • The C++ NECF writer uses a named kNecfSchemaVersion constant instead of a bare 1 (no behaviour change).
  • New test/schema-versions.test.mjs ties 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.
  • README, docs/wasm-api.md and CHANGELOG are updated. The package goes to 0.10.0 (new public API, additive).

Generated by Claude Code

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
@andrekuehne
andrekuehne merged commit f1e253b into master Oct 18, 2026
12 checks passed
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.

Export the NECQ/NECF schema versions from @necpp-engine/wasm

2 participants