Skip to content

Commit

Permalink
Prepare v0.4.6 release
Browse files Browse the repository at this point in the history
  • Loading branch information
tsandall committed Mar 12, 2017
1 parent b1fc681 commit a030213
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 10 deletions.
22 changes: 21 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,27 @@
All notable changes to this project will be documented in this file. This
project adheres to [Semantic Versioning](http://semver.org/).

## Unreleased
## 0.4.6

This release changes the `run` command options:

- Removed glog in favour of Sirupsen/logrus. This means the command line arguments to control logging have changed. See `run --help` for details.
- Removed `--policy-dir` option. For now, if policy persistence is required, users can treat policies as config files and manage them outside of OPA. Once OPA supports persistence of data (e.g., with file-based storage) then policy persistence will be added back in.

### Fixes

- Add support for additional HTTP listener ([#289](https://github.com/open-policy-agent/opa/issues/289))
- Allow slash in policy id/path ([#292](https://github.com/open-policy-agent/opa/issues/292))
- Improve request logging ([#281](https://github.com/open-policy-agent/opa/issues/281))

### Miscellaneous

- Add deployment documentation
- Remove erroneous flag.Parse() call
- Remove persist/--policy-dir option
- Replace glog with logrus

Also, updated Docker tagging so that latest points to most recent release (instead of most recent development build). The most recent development build can still be obtained with the {version}-dev tag.

## 0.4.5

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.6-dev
VERSION := 0.4.6

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.5](https://hub.docker.com/r/openpolicyagent/opa/){: .opa-deployments--docker-hub-list--link}
* [openpolicyagent/opa:0.4.6](https://hub.docker.com/r/openpolicyagent/opa/){: .opa-deployments--docker-hub-list--link}
{: .opa-deployments--docker-hub-list}

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

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

{% endcontentfor %}

0 comments on commit a030213

Please sign in to comment.