Skip to content

Commit

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

## Unreleased
## 0.4.10

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

## 0.4.9

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.4.10-dev
VERSION := 0.4.10

PACKAGES := \
github.com/open-policy-agent/opa/ast/.../ \
Expand Down
2 changes: 1 addition & 1 deletion site/documentation/references/deployments/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ recommend you review this section to familiarize yourself with the basics.

OPA releases are available as images on Docker Hub.

* [openpolicyagent/opa:0.4.9](https://hub.docker.com/r/openpolicyagent/opa/){: .opa-deployments--docker-hub-list--link}
* [openpolicyagent/opa:0.4.10](https://hub.docker.com/r/openpolicyagent/opa/){: .opa-deployments--docker-hub-list--link}
{: .opa-deployments--docker-hub-list}

### Running
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.4.9/opa_linux_amd64){: .opa-header--download-list--link}
* [64-bit Mac OS X](https://github.com/open-policy-agent/opa/releases/download/v0.4.9/opa_darwin_amd64){: .opa-header--download-list--link}
* [Go Source](https://github.com/open-policy-agent/opa/archive/v0.4.9.tar.gz){: .opa-header--download-list--link}
* [64-bit Linux](https://github.com/open-policy-agent/opa/releases/download/v0.4.10/opa_linux_amd64){: .opa-header--download-list--link}
* [64-bit Mac OS X](https://github.com/open-policy-agent/opa/releases/download/v0.4.10/opa_darwin_amd64){: .opa-header--download-list--link}
* [Go Source](https://github.com/open-policy-agent/opa/archive/v0.4.10.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.4.9/opa_linux_amd64 > opa
$ curl -L https://github.com/open-policy-agent/opa/releases/download/v0.4.10/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.4.9/opa_darwin_amd64 > opa
$ curl -L https://github.com/open-policy-agent/opa/releases/download/v0.4.10/opa_darwin_amd64 > opa
$ chmod u+x opa
$ ./opa version
```

## Docker Image (64-bit Linux)
```shell
$ docker run openpolicyagent/opa:0.4.9 version
$ docker run openpolicyagent/opa:0.4.10 version
```

{% endcontentfor %}
2 changes: 1 addition & 1 deletion site/tutorials/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.4.9/opa_linux_amd64 > opa
$ curl -L https://github.com/open-policy-agent/opa/releases/download/v0.4.10/opa_linux_amd64 > opa
$ chmod u+x opa
```

Expand Down
2 changes: 1 addition & 1 deletion site/tutorials/http-api-authorization/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ cat >docker-compose.yml <<EOF
version: '2'
services:
opa:
image: openpolicyagent/opa:0.4.9
image: openpolicyagent/opa:0.4.10
ports:
- 8181:8181
command:
Expand Down
2 changes: 1 addition & 1 deletion site/tutorials/ssh-sudo-authorization/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ cat > docker-compose.yml <<EOF
version: '2'
services:
opa:
image: openpolicyagent/opa:0.4.9
image: openpolicyagent/opa:0.4.10
ports:
- 8181:8181
command:
Expand Down

0 comments on commit 0b23898

Please sign in to comment.