Packages

@open-policy-agent/opa-wasm

1.10.0 · 8 Nov 2024Apache-2.0133.3k / weekRepositoryHomepagenpmAtom feed

Upgrading @open-policy-agent/opa-wasm From 0.0.1 to 1.10.0

16 releases in betweennotes for 12

Reading releases, release notes and advisories…

Other targets from 0.0.1Newest 0.x0.0.2
1.0.0 has no release note on GitHub or in the repository's changelog, so its breaking changes are missing from the counts below.
  1. 0.0.1yours
  2. 1 release
  3. 1.0.0major
  4. 10 releases
  5. 1.8.0breaking
  6. 2 releases
  7. 1.10.0target
1+
change to make
0
advisories fixed
17+
new
2+
fixes

Counted from 12 of 16 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking1.8.0

Release by release

  1. 1.10.0

    8 Nov 20241 fix
    • Fixed

      Fix importing types on Node 16 module resolution

  2. 1.9.0

    17 Jun 20241 new
    • New

      Support webassembly instantiate streaming

  3. 1.8.1

    12 Jan 20241 new
    • New

      Expose LoadedPolicy class, update node-ts example

  4. 1.8.0

    Migration needed2 Sep 20221 new
    • Breaking

      Dropped support for Node 12

    • New

      Add loadPolicySync

  5. 1.7.0

    18 May 20221 new
    • New

      Support customBuiltins parameter in loadPolicy

  6. 1.6.1

    11 Feb 20221 new · 1 fix
    • New

      Add deno example, separate build steps, update deno version

    • Fixed

      Memory leak during fastpath evaluation

  7. 1.6.0

    4 Jan 20222 new
    • New

      npm-opa-wasm is now compatible with in-browser usage! ✨

    • New

      Compatibility with Node 10 is restored, which also got inadvertently broken since 1.2.0. (@aron via #108)

  8. 1.5.0

    15 Dec 20212 new
    • New

      New SDK-provided built-in functions: yaml.unmarshal, yaml.marshal, yaml.is_valid and json.is_valid,

    • New

      loadPolicy: This now accepts a MemoryDescriptor as second argument, and grows memory for input if needed (#92). With that argument, the maximum size the WebAssembly Memory is allowed to grow to can be specified, see this for details.

9 other lines we could not sort, mostly version bumps
  • Use WASM_BUILD_ONLY in CI

    1.10.0
  • ⏩ Various dependency bumps

    1.9.0
  • Change reference to wasm instance

    1.8.0
  • Simplifying exports to enable broader usage

    1.7.0
  • Less stumbling blocks for PowerShell users: Remove single quotes around entrypoints in package.json commands

    1.7.0
  • workflow: Use open-policy-agent/setup-opa

    1.6.1
  • Various deps-dev and CI version bumps

    1.6.1
  • Non-boolean results

    1.1.0
  • External data

    1.1.0

53 internal lines (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.