Skip to content

Commit

Permalink
Prepare v0.3.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
tsandall committed Dec 20, 2016
1 parent a635c5b commit 1a2c623
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 10 deletions.
43 changes: 42 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,48 @@
All notable changes to this project will be documented in this file. This
project adheres to [Semantic Versioning](http://semver.org/).

## Unreleased
## 0.3.0

The last major/minor release of 2016! Woohoo! This release contains a few
non-backwards compatible changes to the APIs.

### Storage API changes

These changes simplify and clean up the storage.Store interface. This should
make it easier to implement custom stores in the future.

- Update storage to support context.Context ([#155](https://github.com/open-policy-agent/opa/issues/155))
- Update underlying number representation ([#154](https://github.com/open-policy-agent/opa/issues/154))
- Updates to use new storage.Path type ([#159](https://github.com/open-policy-agent/opa/issues/159))

### The request Document

These changes update the language to align query arguments with state stored in
OPA. With these changes, OPA can readily analyze policies and determine
references that refer to state stored in OPA versus query arguments versus local
variables.

These changes also update how query arguments are provided via the REST API.

- Updates to how query arguments are handled [#197](https://github.com/open-policy-agent/opa/pull/197)

### topdown API changes

- topdown.Context has been renamed to topdown.Topdown to avoid confusion with Golang's context.

### Fixes

- Add help topics to REPL ([#172](https://github.com/open-policy-agent/opa/issues/172))
- Fix error handling bug in Query API ([#183](https://github.com/open-policy-agent/opa/issues/183))
- Fix handling of prefixed paths with -w flag ([#193](https://github.com/open-policy-agent/opa/issues/193))
- Improve exit handling in REPL ([#175](https://github.com/open-policy-agent/opa/issues/175))
- Update parser support for <var> = <term> rules ([#192](https://github.com/open-policy-agent/opa/issues/192))

### Miscellaneous

- Add Visual Studio and Atom plugins
- Add lazy loading of modules during compilation
- Fix bug in serialization of empty objects/arrays

## 0.2.2

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.3-dev
VERSION := 0.3.0

PACKAGES := \
github.com/open-policy-agent/opa/ast/.../ \
Expand Down
4 changes: 2 additions & 2 deletions 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.2/opa_linux_amd64 > opa
$ curl -L https://github.com/open-policy-agent/opa/releases/download/v0.3.0/opa_linux_amd64 > opa
$ chmod u+x opa
```

Expand All @@ -82,7 +82,7 @@ OPA will run until it receives a signal to stop. Open another terminal to contin
### 4. Download the [open-policy-agent/opa-docker-authz](https://github.com/open-policy-agent/opa-docker-authz) executable.

```shell
$ curl -L https://github.com/open-policy-agent/opa-docker-authz/releases/download/v0.1.2/opa-docker-authz_linux_amd64 > opa-docker-authz
$ curl -L https://github.com/open-policy-agent/opa-docker-authz/releases/download/v0.1.3/opa-docker-authz_linux_amd64 > opa-docker-authz
$ chmod u+x opa-docker-authz
```

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

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

{% endcontentfor %}

0 comments on commit 1a2c623

Please sign in to comment.