Skip to content

Releases: open-policy-agent/opa

v0.5.2

26 Jul 00:30
Compare
Choose a tag to compare

Fixes

  • Fix mobile view navigation bug
  • Fix panic in compiler from concurrent map writes (#379
  • Fix ambiguous syntax around body and set comprehensions (#377)

Miscellaneous

  • Add support for set and object comprehensions
  • Add support for system.main policy in server
  • Add transaction support in rego package
  • Improve type checking error messages
  • Format REPL modules before printing them

v0.5.1

10 Jul 18:01
Compare
Choose a tag to compare

Fixes

  • Correct opa fmt panic on missing files
  • Fix minor site issues

Miscellaneous

  • Add rego examples with input and compiler
  • Add support for query cancellation

v0.5.0

05 Jul 23:02
Compare
Choose a tag to compare

User Functions

OPA now supports user-defined functions that have the same semantics as built-in
functions. This allows policy authors to quickly define reusable pieces of logic
in Rego without overloading the input document or thinking about variable
safety.

Storage Improvements

The storage layer has been improved to support single-writer/multiple-reader
concurrency. The storage interfaces have been simplified in the process. Users
can rely on https://godoc.org/github.com/open-policy-agent/opa/storage/inmem in
place of the old storage package.

Website Refresh

The website has been redesigned and the documentation has been ported over to
GitBook.

opa check and opa fmt

OPA supports two new commands that check and format policies. Check out opa help for more information.

Miscellaneous

  • Add YAML serialization built-ins
  • Add time built-ins

Fixes

  • Fixed incorrect source locations on refs and manually constructed terms. All
    term locations should be set correctly now.
  • Fixed evaluation bug that caused partial sets and partial objects to be
    undefined in some cases.

v0.4.10

31 May 17:02
Compare
Choose a tag to compare

This release includes a bunch of new built-in functions to help with string manipulation, JWTs, and more.

The JSON marshalling built-ins have been renamed. Policies that used json_unmarshal and json_marshal before will need to be updated to use json.marshal and json.unmarshal respectively.

Misc

  • Add else keyword
  • Improved undefined built-in error message
  • Fixed error message in - built-in
  • Fixed exit instructions in REPL tutorial
  • Relax safety check for built-in outputs

v0.4.9

16 May 00:35
Compare
Choose a tag to compare

This release includes a bunch of cool stuff!

  • Basic type checking for queries and virtual docs (#312)
  • Optimizations for HTTP API authorization policies (#319)
  • New /v0 API to support webhook integrations (docs)

Fixes

  • Add support for namespaced built-ins (#314)
  • Improve logging to include request/response bodies (#328)
  • Add basic performance metrics (#320)

Miscellaneous

  • Add built-ins to un/marshal JSON
  • Add input form to diagnostic page

v0.4.8

05 Apr 18:10
Compare
Choose a tag to compare

Miscellaneous

  • Fix top-level navigation links
  • Improve file loader error handling

v0.4.7

22 Mar 20:15
Compare
Choose a tag to compare

Fixes

  • Fix recursive binding by short-circuiting ref eval (#298)
  • Fix reordering for unsafe ref heads (#297)
  • Fix rewriting of single term exprs (#299)

v0.4.6

12 Mar 22:18
Compare
Choose a tag to compare

This release changes the run command options:

  • Removed glog in favour of Sirupsen/logrus. This means the command line arguments to control logging have changed. See run --help for details.
  • Removed --policy-dir option. For now, if policy persistence is required, users can treat policies as config files and manage them outside of OPA. Once OPA supports persistence of data (e.g., with file-based storage) then policy persistence will be added back in.

Fixes

  • Add support for additional HTTP listener (#289)
  • Allow slash in policy id/path (#292)
  • Improve request logging (#281)

Miscellaneous

  • Added deployment documentation

Also, updated Docker tagging so that latest points to most recent release (instead of most recent development build). The most recent development build can still be obtained with the {version}-dev tag.

v0.4.5

23 Feb 18:36
Compare
Choose a tag to compare

API security

This release adds support for TLS, token-based authentication, and authorization in the OPA APIs!

For details on how to secure the OPA API, go to http://openpolicyagent.org/documentation/references/security.

Fixes

Miscellaneous

  • Updated to support Go 1.8

v0.4.4

15 Feb 00:59
Compare
Choose a tag to compare

Fixes

  • Fix issue in high-level Go API (#261)