Skip to content

Releases: BYVoid/rules_node_addon

v1.0.3

Choose a tag to compare

@BYVoid BYVoid released this 30 Jun 04:25

Full Changelog: v1.0.2...v1.0.3

  • node_addon now sets allow_symlink = False on the final copy_file step that produces the .node output. This makes the generated addon a real .node file rather than a symlink.
  • The reason is that some Node.js import/loading paths resolve a symlink before loading the addon. When that happens, Node can end up loading the original platform shared library path (.so / .dylib) instead of the intended .node path, which can cause addon loading to fail. Copying the file avoids that path/extension mismatch.
  • The full TypeScript example was updated to consume the addon output directly instead of copying it into dist/, and its now-unused direct bazel_skylib dependency was removed. The example test resolves ADDON_PATH relative to the test file so both the JS and Bun test entry points still load the same addon reliably.

v1.0.2

Choose a tag to compare

@BYVoid BYVoid released this 26 Jun 04:38

Full Changelog: v1.0.1...v1.0.2

v1.0.1

Choose a tag to compare

@BYVoid BYVoid released this 26 Jun 00:21

Full Changelog: v1.0.0...v1.0.1