From fb9e6c71a3d2b3451e9b41212d0adaecdf2a6a95 Mon Sep 17 00:00:00 2001 From: Torin Sandall Date: Wed, 30 Nov 2016 17:38:38 -0800 Subject: [PATCH] Prepare v0.2.2 release --- CHANGELOG.md | 25 ++++++++++++++++++++- Makefile | 2 +- site/examples/docker-authorization/index.md | 2 +- site/get-opa/index.md | 12 +++++----- 4 files changed, 32 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ed57f895e2..8da788793c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,30 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). -## Unreleased +## 0.2.2 + +### Fixes + +- Add YAML loading and refactor into separate file ([#135](https://github.com/open-policy-agent/opa/issues/135)) +- Add command line flag to eval, print, and exit ([#152](https://github.com/open-policy-agent/opa/issues/152)) +- Add compiler check for consistent rule types ([#147](https://github.com/open-policy-agent/opa/issues/147)) +- Add set_diff built-in ([#133](https://github.com/open-policy-agent/opa/issues/133)) +- Add simple 'show' command to print current module ([#108](https://github.com/open-policy-agent/opa/issues/108)) +- Added examples to 'help' output in REPL ([#151](https://github.com/open-policy-agent/opa/issues/151)) +- Check package declarations for conflicts ([#137](https://github.com/open-policy-agent/opa/issues/137)) +- Deep copy modules in compiler ([#158](https://github.com/open-policy-agent/opa/issues/158)) +- Fix evaluation of refs to set literals ([#149](https://github.com/open-policy-agent/opa/issues/149)) +- Fix indexing usage for refs with intersecting vars ([#153](https://github.com/open-policy-agent/opa/issues/153)) +- Fix output for references iterating sets ([#148](https://github.com/open-policy-agent/opa/issues/148)) +- Fix parser handling of keywords in variable names ([#178](https://github.com/open-policy-agent/opa/issues/178)) +- Improve file loading support ([#163](https://github.com/open-policy-agent/opa/issues/163)) +- Remove conflict error for same key/value pairs ([#165](https://github.com/open-policy-agent/opa/issues/165)) +- Support "data" query in REPL ([#150](https://github.com/open-policy-agent/opa/issues/150)) + +### Miscellaneous + +- Add new compiler harness for ad-hoc queries +- Add tab completion of imports ## 0.2.1 diff --git a/Makefile b/Makefile index a1c1757ffe..ffde730e04 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.2.2-dev +VERSION := 0.2.2 PACKAGES := \ github.com/open-policy-agent/opa/ast/.../ \ diff --git a/site/examples/docker-authorization/index.md b/site/examples/docker-authorization/index.md index bdf914ac2b..268a4a171f 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.2.1/opa_linux_amd64 > opa +$ curl -L https://github.com/open-policy-agent/opa/releases/download/v0.2.2/opa_linux_amd64 > opa $ chmod u+x opa ``` diff --git a/site/get-opa/index.md b/site/get-opa/index.md index 1b30ee6e6b..c9384ac533 100644 --- a/site/get-opa/index.md +++ b/site/get-opa/index.md @@ -13,9 +13,9 @@ title: Get Open Policy Agent The binary releases for 64-bit Linux and Mac are available for download here. For other releases of OPA see the [GitHub Releases](https://github.com/open-policy-agent/opa/releases) page. {: .opa-header--text} - * [64-bit Linux](https://github.com/open-policy-agent/opa/releases/download/v0.2.1/opa_linux_amd64){: .opa-header--download-list--link} - * [64-bit Mac OS X](https://github.com/open-policy-agent/opa/releases/download/v0.2.1/opa_darwin_amd64){: .opa-header--download-list--link} - * [Go Source](https://github.com/open-policy-agent/opa/archive/v0.2.1.tar.gz){: .opa-header--download-list--link} + * [64-bit Linux](https://github.com/open-policy-agent/opa/releases/download/v0.2.2/opa_linux_amd64){: .opa-header--download-list--link} + * [64-bit Mac OS X](https://github.com/open-policy-agent/opa/releases/download/v0.2.2/opa_darwin_amd64){: .opa-header--download-list--link} + * [Go Source](https://github.com/open-policy-agent/opa/archive/v0.2.2.tar.gz){: .opa-header--download-list--link} {: .opa-header--download-list} {% endcontentfor %} @@ -25,7 +25,7 @@ The binary releases for 64-bit Linux and Mac are available for download here. Fo ## 64-bit Linux ```shell -$ curl -L https://github.com/open-policy-agent/opa/releases/download/v0.2.1/opa_linux_amd64 > opa +$ curl -L https://github.com/open-policy-agent/opa/releases/download/v0.2.2/opa_linux_amd64 > opa $ chmod u+x opa $ ./opa version ``` @@ -33,14 +33,14 @@ $ ./opa version ## 64-bit Mac OS X ```shell -$ curl -L https://github.com/open-policy-agent/opa/releases/download/v0.2.1/opa_darwin_amd64 > opa +$ curl -L https://github.com/open-policy-agent/opa/releases/download/v0.2.2/opa_darwin_amd64 > opa $ chmod u+x opa $ ./opa version ``` ## Docker Image (64-bit Linux) ```shell -$ docker run openpolicyagent/opa:0.2.1 version +$ docker run openpolicyagent/opa:0.2.2 version ``` {% endcontentfor %}