Skip to content

v3.2.2

Latest

Choose a tag to compare

@carlos-alm carlos-alm released this 13 Oct 06:38
· 7 commits to main since this release

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 central test-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.mjs
    • dist/browser.umd.js
    • dist/server.mjs
    • dist/server.umd.js
    • sdk-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.md
    • generated/examples/* (browser + server examples)
    • validators.js
  • Updated root package manifest (package.json) to align with new tooling & scripts.
  • Webpack configuration adjustments:
    • webpack.browser.config.js
    • webpack.server.config.js
    • webpack.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 READMEs for clarity around usage scenarios.