Skip to content

BrainChop Core v1.1.3

Latest

Choose a tag to compare

@github-actions github-actions released this 27 Nov 20:48
· 3 commits to main since this release

Restores bundler-visible static module worker instantiation in @brainchop/core so Vite, Rollup, and Webpack 5 emit the persistent segmentation worker chunk reliably.

Browser Package (@brainchop/core)

  • Static Worker URL Fix: Restored the direct new Worker(new URL(__BC_WORKER__, import.meta.url), { type: 'module' }) expression in js/src/index.ts while retaining the persistent singleton worker and pooled GPU workspace introduced in 1.1.1.
  • Bundler Regression Guards: Added a build-time check in js/esbuild.config.mjs (covering dist/index.js and all per-model entry points) and a unit assertion in js/test/webgpu_v4_unit.test.mjs verifying that every published entry preserves the literal new Worker(new URL("./worker*.js", import.meta.url), { type: "module" }) call.

Full Changelog: v1.1.2...v1.1.3