Skip to content

Commit

Permalink
Prepare v0.2.2 release
Browse files Browse the repository at this point in the history
  • Loading branch information
tsandall committed Dec 1, 2016
1 parent fb6823e commit fb9e6c7
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 9 deletions.
25 changes: 24 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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/.../ \
Expand Down
2 changes: 1 addition & 1 deletion site/examples/docker-authorization/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down
12 changes: 6 additions & 6 deletions site/get-opa/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand All @@ -25,22 +25,22 @@ 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
```

## 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 %}

0 comments on commit fb9e6c7

Please sign in to comment.