Skip to content

node: v2.0.0

Choose a tag to compare

@github-actions github-actions released this 25 Sep 11:59
f93c7e6

2.0.0 (2026-09-24)

⚠ BREAKING CHANGES

  • node: add support for location-based includes
  • node: The API of generatePolicy() has changed; instead of resolving with a LavaMoatPolicy, it now resolves with an object having properties policy: LavaMoatPolicy and hasWarnings: boolean. This only affects programmatic consumption of @lavamoat/node. To migrate, destructure policy from the resolved object. generatePolicy() no longer accepts write/writableFs options and does not write policy to disk; to write a policy, use writePolicy imported from @lavamoat/node.

Features

  • node: add support for location-based includes (a6edddd)
  • node: use @endo/parser-pipeline (9fe2cce)

Bug Fixes

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @lavamoat/types bumped from ^1.0.2 to ^2.0.0
      • lavamoat-core bumped from ^18.0.6 to ^19.0.0
      • lavamoat-tofu bumped from ^9.0.3 to ^9.0.4