Npm Opa Wasm Versions Save

Open Policy Agent WebAssembly NPM module (opa-wasm)

1.8.1

4 months ago

LoadedPolicy is public now!

Dependency and CI updates:

New Contributors

Full Changelog: https://github.com/open-policy-agent/npm-opa-wasm/compare/1.8.0...1.8.1

1.8.0

1 year ago

What's Changed

Miscellaneous

  • Dependency bumps
  • Dropped support for Node 12

New Contributors

🎉 Thank you for your contributions 👏

Full Changelog: https://github.com/open-policy-agent/npm-opa-wasm/compare/1.7.0...1.8.0

1.7.0

1 year ago

What's Changed

Misc

New Contributors

Full Changelog: https://github.com/open-policy-agent/npm-opa-wasm/compare/1.6.1...1.7.0

1.6.1

2 years ago

Bugfixes

This release fixed a memory leak in subsequent policy evaluations (using opa_eval) -- Thanks to @imtiazmangerah for investigating and fixing this issue! 👏 🎉

What's Changed

New Contributors

Full Changelog: https://github.com/open-policy-agent/npm-opa-wasm/compare/1.6.0...1.6.1

1.6.0

2 years ago

🎊 Thanks to all contributors! 👏

Enhancements 🚀

New Contributors

Full Changelog: https://github.com/open-policy-agent/npm-opa-wasm/compare/1.5.0...1.6.0

1.5.0

2 years ago

🎊 Thanks to all contributors! 👏

New Features ✨

  • New SDK-provided built-in functions: yaml.unmarshal, yaml.marshal, yaml.is_valid and json.is_valid, by @aron (#100 and #103)

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

    A number-argument is still accepted and used as initial memory size (pages) as before.

Misc changes

  • CI: the latest OPA version is used (0.35.0)
  • various dependency bumps
  • CI: enable in-operator related tests (#98)

New Contributors

Full Changelog: https://github.com/open-policy-agent/npm-opa-wasm/compare/1.4.0...1.5.0

1.4.0

2 years ago

🎊 Thanks to all contributors! 👏

New features and enhancements 🎉

Misc Changes 🔧

New Contributors

Full Changelog: https://github.com/open-policy-agent/npm-opa-wasm/compare/1.3.0...1.4.0

1.3.0

2 years ago

🎊 Thanks to all contributors! 👏

New features 🎉

  • Support for multiple entrypoints (#50, @dowster)
  • Configurable initial memory size (#59, @p0tr3c)

Misc Changes 🔧

  • The Wasm module's ABI version is now checked when loading a policy. Only ABI 1.x is supported at the moment.
  • Updates to dependencies.
  • We're running more tests in CI now.

1.2.0

3 years ago

It's been a while since we've pushed a release! 🎉

With v1.2.0, the documentation matches what the version published to npm supports.

Since it's been early days for OPA's Wasm support when this module had seen its major version release 1.x.y, and things are just settling, please have a good look at the API changes this release brings in: Update examples and README for newer OPA versions (#21, @patrick-east ).

New features:

  • sprintf implementation (#34, @garethr)
  • Force JSON encoding to use utf-8 (#35, @theMagicalKarp)
  • Typescript bindings! (#17, @RichiCoder1)

Thanks to all contributors! 👏

1.1.0

4 years ago

Update to support OPA v0.15.1 Wasm functionality

  • Non-boolean results
  • Builtins
  • External data