Overview
This release introduces a full build & validation tooling suite for the JavaScript SDK, expands developer documentation, and refreshes generated example code.
π Added
- New BUILDING.MD with build guidance.
- Comprehensive scripts/toolchain:
- Analysis: tree-shaking validation, export surface diffs, bundle minimization checks.
- Bundle size & governance utilities.
- Test harnesses (CSP runner, UMD failure harness, token detection tests).
- Validation tasks (schema drift guard, security scanner, governance checks, bundle assertion tasks).
- Generation scripts for constants, examples, governance manifest, types, validators, and version sync.
- Production build helpers (source maps generation, Webpack aliases, strict mode plugin).
- Shared utilities (
report-utilities.js,script-utilities.js) and a centraltest-environment.js.
- Dedicated docs for analyzer-related tasks and token detection enhancements.
- Added
tsconfig.json, enabling TypeScript project structure in the JavaScript SDK workspace.
β¨ Updated
- Regenerated / refreshed SDK distribution bundles:
dist/browser.mjsdist/browser.umd.jsdist/server.mjsdist/server.umd.jssdk-governance.json
- Updated runtime platform code (notably browser crypto polyfill and environment adapter).
- Updated integration layer and its
README(integration/*). - Refreshed generated artifacts:
generated/README.mdgenerated/examples/*(browser + server examples)validators.js
- Updated root package manifest (
package.json) to align with new tooling & scripts. - Webpack configuration adjustments:
webpack.browser.config.jswebpack.server.config.jswebpack.shared.umd.base.js
Supporting expanded build + validation pipeline.
π Documentation
- New focused docs in
scripts/dev/docs/explaining analyzer usage, export surface checks, and token detection improvements. - Expanded build + integration
READMEsfor clarity around usage scenarios.