Skip to content

oj v0.2.15

Choose a tag to compare

@github-actions github-actions released this 30 Sep 20:18
· 236 commits to main since this release
bb191bd

Fixed

  • A dependency's browser field now remaps its own relative imports: the on-disk fast path for ./ and ../ imports is kept for app source only, so a package shipping separate Node and browser implementations behind one entry loads the browser one (Vite parity).
  • Linked workspace packages outside the app root are watched for HMR: editing a monorepo package symlinked into node_modules now reaches the page, as Vite watches every served file outside the root.

Changed

  • Internal restructuring of the embedded JS engine and the dev server: the engine crate is split into focused modules, engine spawn/eval/call take optional parameters instead of method variants, process-global state (the GC registry, the --config override, the build CLI options) is threaded explicitly, and the module host and JS bridge use concrete channel and callback seams. No behavior changes intended.
  • CI runs the unit test suite in release mode, so the tests exercise the codegen that ships.