diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a8c5b5173..44436d6ea1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,39 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). -## Unreleased +## 0.2.0 + +### Language + +- Set literals +- Composite and reference values in Rule head +- Complete Rule definitions containing variables +- Builtins for regular expressions, string concatenation, casting to numbers + +### Compiler + +- Improved error reporting in parser and compiler + +### Evaluation + +- Iteration over base and virtual documents (in the same reference) +- Query tracing and explanation support + +### Storage + +- Pluggable data storage support + +### Documentation + +- GoDoc strings with examples +- REST API specification +- Concise language reference + +### Performance + +- Per-query cache of virtual documents in topdown + +And many other small improvements and fixes. ## 0.1.0 diff --git a/Makefile b/Makefile index a24c12a12e..07c80a02c0 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ # Use of this source code is governed by an Apache2 # license that can be found in the LICENSE file. -VERSION := 0.1.1-dev +VERSION := 0.2.0 PACKAGES := \ github.com/open-policy-agent/opa/ast/.../ \ diff --git a/site/documentation/references/language/index.md b/site/documentation/references/language/index.md index 18ec45ee1f..3be5dba5da 100644 --- a/site/documentation/references/language/index.md +++ b/site/documentation/references/language/index.md @@ -117,4 +117,4 @@ DIGIT ASCII characters 0-9 ``` {: .opa-collapse--ignore} -{% endcontentfor %} \ No newline at end of file +{% endcontentfor %} diff --git a/site/documentation/references/rest/index.md b/site/documentation/references/rest/index.md index 8ec0e2f1e9..78967ac704 100644 --- a/site/documentation/references/rest/index.md +++ b/site/documentation/references/rest/index.md @@ -1416,4 +1416,4 @@ restarts, a **Redo** Trace Event is emitted. ``` -{% endcontentfor %} \ No newline at end of file +{% endcontentfor %} diff --git a/site/examples/docker-authorization/index.md b/site/examples/docker-authorization/index.md index 0c9a266873..126d276f02 100644 --- a/site/examples/docker-authorization/index.md +++ b/site/examples/docker-authorization/index.md @@ -66,7 +66,7 @@ $ mkdir -p policies ### 2. Download the latest version of OPA. ```shell -$ curl -L https://github.com/open-policy-agent/opa/releases/download/v0.1.0/opa_linux_amd64 > opa +$ curl -L https://github.com/open-policy-agent/opa/releases/download/v0.2.0/opa_linux_amd64 > opa $ chmod u+x opa ``` diff --git a/site/get-opa/index.md b/site/get-opa/index.md index 10ab90b644..d38fc5bd7d 100644 --- a/site/get-opa/index.md +++ b/site/get-opa/index.md @@ -13,9 +13,9 @@ title: Get Open Policy Agent OPA is available as binary releases for 64-bit Linux and Mac OS X or as Golang source code. {: .opa-header--text} - * [64-bit Linux](https://github.com/open-policy-agent/opa/releases/download/v0.1.0/opa_linux_amd64){: .opa-header--download-list--link} - * [64-bit Mac OS X](https://github.com/open-policy-agent/opa/releases/download/v0.1.0/opa_darwin_amd64){: .opa-header--download-list--link} - * [Go Source](https://github.com/open-policy-agent/opa/archive/v0.1.0.tar.gz){: .opa-header--download-list--link} + * [64-bit Linux](https://github.com/open-policy-agent/opa/releases/download/v0.2.0/opa_linux_amd64){: .opa-header--download-list--link} + * [64-bit Mac OS X](https://github.com/open-policy-agent/opa/releases/download/v0.2.0/opa_darwin_amd64){: .opa-header--download-list--link} + * [Go Source](https://github.com/open-policy-agent/opa/archive/v0.2.0.tar.gz){: .opa-header--download-list--link} {: .opa-header--download-list} {% endcontentfor %} @@ -25,7 +25,7 @@ OPA is available as binary releases for 64-bit Linux and Mac OS X or as Golang s ## 64-bit Linux ```shell -$ curl -L https://github.com/open-policy-agent/opa/releases/download/v0.1.0/opa_linux_amd64 > opa +$ curl -L https://github.com/open-policy-agent/opa/releases/download/v0.2.0/opa_linux_amd64 > opa $ chmod u+x opa $ ./opa version ``` @@ -33,7 +33,7 @@ $ ./opa version ## 64-bit Mac OS X ```shell -$ curl -L https://github.com/open-policy-agent/opa/releases/download/v0.1.0/opa_darwin_amd64 > opa +$ curl -L https://github.com/open-policy-agent/opa/releases/download/v0.2.0/opa_darwin_amd64 > opa $ chmod u+x opa $ ./opa version ```