Skip to content

Commit

Permalink
Prepare v0.5.7 release
Browse files Browse the repository at this point in the history
  • Loading branch information
tsandall committed Sep 8, 2017
1 parent 003c630 commit 4930652
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 9 deletions.
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,17 @@
All notable changes to this project will be documented in this file. This
project adheres to [Semantic Versioning](http://semver.org/).

## Unreleased
## 0.5.7

This release adds a new `test` subcommand to OPA. The `test` subcommand enables policy unit testing. The unit tests are expressed as rules containing assertions over test data. The `test` subcommand provides a test runner that automatically discovers and executes these test rules. See `opa test --help` for examples.

### Fixes

- Fix type error marshalling bug ([#391](https://github.com/open-policy-agent/opa/issues/391))
- Fix type inference bug ([#381](https://github.com/open-policy-agent/opa/issues/381))
- Fix unification bug ([#436](https://github.com/open-policy-agent/opa/issues/436))
- Fix type inferecen bug for partial objects with non-string keys ([#440](https://github.com/open-policy-agent/opa/issues/440))
- Suppress match errors if closures contained errors ([#438](https://github.com/open-policy-agent/opa/issues/438))

## 0.5.6

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.5.7-dev
VERSION := 0.5.7

PACKAGES := $(shell go list ./.../ | grep -v 'vendor')

Expand Down
2 changes: 1 addition & 1 deletion docs/book/deployments.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ recommend you review this section to familiarize yourself with the basics.

OPA releases are available as images on Docker Hub.

* [openpolicyagent/opa:0.5.6](https://hub.docker.com/r/openpolicyagent/opa/)
* [openpolicyagent/opa:0.5.7](https://hub.docker.com/r/openpolicyagent/opa/)

### <a name="running-with-docker"/>Running with Docker

Expand Down
2 changes: 1 addition & 1 deletion docs/book/docker-authorization.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ $ mkdir -p policies
### 2. Download the latest version of OPA.

```shell
$ curl -L https://github.com/open-policy-agent/opa/releases/download/v0.5.6/opa_linux_amd64 > opa
$ curl -L https://github.com/open-policy-agent/opa/releases/download/v0.5.7/opa_linux_amd64 > opa
$ chmod u+x opa
```

Expand Down
4 changes: 2 additions & 2 deletions docs/book/get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ If this is your first time using OPA, download the latest executable for your sy
On macOS (64-bit):

```shell
curl -L -o opa https://github.com/open-policy-agent/opa/releases/download/v0.5.6/opa_darwin_amd64
curl -L -o opa https://github.com/open-policy-agent/opa/releases/download/v0.5.7/opa_darwin_amd64
```

On Linux (64-bit):

```shell
curl -L -o opa https://github.com/open-policy-agent/opa/releases/download/v0.5.6/opa_linux_amd64
curl -L -o opa https://github.com/open-policy-agent/opa/releases/download/v0.5.7/opa_linux_amd64
```

Set permissions on the OPA executable:
Expand Down
2 changes: 1 addition & 1 deletion docs/book/http-api-authorization.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ cat >docker-compose.yml <<EOF
version: '2'
services:
opa:
image: openpolicyagent/opa:0.5.6
image: openpolicyagent/opa:0.5.7
ports:
- 8181:8181
command:
Expand Down
2 changes: 1 addition & 1 deletion docs/book/kubernetes-admission-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ spec:
spec:
containers:
- name: opa
image: openpolicyagent/opa:0.5.6
image: openpolicyagent/opa:0.5.7
args:
- "run"
- "--server"
Expand Down
2 changes: 1 addition & 1 deletion docs/book/ssh-and-sudo-authorization.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ cat > docker-compose.yml <<EOF
version: '2'
services:
opa:
image: openpolicyagent/opa:0.5.6
image: openpolicyagent/opa:0.5.7
ports:
- 8181:8181
command:
Expand Down

0 comments on commit 4930652

Please sign in to comment.