Skip to content

ESON v1.2.0 — espack merge architecture (manifest + facade + load-by-name)

Choose a tag to compare

@thelabcorner thelabcorner released this 10 Aug 19:19
· 5 commits to master since this release

ESON v1.1.0

New in this release

  • espack merge architecture (espack v0.3.0): the build now emits composition artifacts for multi-consumer hosts:
    • dist/ESON.manifest.json — payload manifest (schema v1, byte-identical to espack-build --manifest-out)
    • dist/ESON.facade.jsx — loader-free facade + adapter (requires ESPAK on $.global); a composer merges manifests with espack-merge.mjs into ONE loader and appends facades
  • Load-by-name contract: the adapter now calls ESPAK.load("ESONJson") — index 0 is not a stable API under a merged bundle. Standalone ESON.accel.jsx unchanged in composition.
  • ESON.accel.jsx rebuilt on the espack v0.3.0 loader (shared-accel discovery for accel-less bundles, embedded-accel failure falls back to the on-disk shared accel).

Assets

  • vendor-eson.js — drop-in vendor (installs global JSON = ESON)
  • ESON.jsx — bannerless IIFE, defines ESON
  • vendor-eson-runtime.js — parse/stringify only (15.7 KB)
  • eson-core.esm.mjs — ESM core for Node
  • json2-reference.jsx — raw json2 reference lane
  • ESON.accel.jsx — self-extracting native-gate bundle (Windows x64)

Validation

624 Node assertions + 37 native-lane assertions passed.