Packages

@open-policy-agent/opa-wasm

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

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

9 releases in betweenevery note read

Reading releases, release notes and advisories…

  1. 1.3.0yours
  2. 5 releases
  3. 1.8.0breaking
  4. 2 releases
  5. 1.10.0target

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.

7 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

49 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.