Skip to content

Commit

Permalink
Prepare v0.10.3 release
Browse files Browse the repository at this point in the history
Signed-off-by: Torin Sandall <[email protected]>
  • Loading branch information
tsandall committed Jan 22, 2019
1 parent fc981e7 commit a852671
Show file tree
Hide file tree
Showing 10 changed files with 77 additions and 11 deletions.
68 changes: 67 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,73 @@
All notable changes to this project will be documented in this file. This
project adheres to [Semantic Versioning](http://semver.org/).

## Unreleased
## 0.10.3

* This release includes support for authentication via client
certificates (thanks @srenatus!) For improvements to authentication
see [#1163](https://github.com/open-policy-agent/opa/issues/1163).

* This release includes a backwards incompatible change to the
plugin interface. Specifically, when plugins are registered, callers
must provide a factory that can _validate_ configuration before
instantiating the plugin. This allows OPA to ensure that all
configuration is valid before activating changes. Since plugins were
undocumented prior to this release, this change should be low
impact. For details on plugin development see the new Plugins page
on the website.

* This release includes a backwards incompatible change to the HTTP
decision logger event type. Specifically, "null" inputs are now
handled correctly and decision logs for ad-hoc queries now populate
the "query" field in the event instead of the "path" field. If you
are using consuming decision log events in Go, please switch to the
decision logger framework documented here: https://github.com/open-policy-agent/opa/blob/master/docs/book/plugins.md.

### Fixes

- Add OPA version to decision logs ([#1089](https://github.com/open-policy-agent/opa/issues/1089))
- Add query metrics to decision logs ([#1033](https://github.com/open-policy-agent/opa/issues/1033))
- Add health endpoint to HTTP server ([#1086](https://github.com/open-policy-agent/opa/issues/1086))
- Add line of failure in `opa test` ([#961](https://github.com/open-policy-agent/opa/issues/961))
- Fix panic caused by assignment rewriting ([#1125](https://github.com/open-policy-agent/opa/issues/1125))
- Fix parser to avoid duplicate comments in AST ([#426](https://github.com/open-policy-agent/opa/issues/426))
- Fix semantic check for function references ([#1132](https://github.com/open-policy-agent/opa/issues/1132))
- Fix query API to return 4xx on bad request ([#1081](https://github.com/open-policy-agent/opa/issues/1081))
- Fix incorrect early exit from ref resolver ([#1110](https://github.com/open-policy-agent/opa/issues/1110))
- Fix rewriting of assignment values ([#1154](https://github.com/open-policy-agent/opa/issues/1154))
- Fix resolution inside references ([#1155](https://github.com/open-policy-agent/opa/issues/1155))
- Fix '^' location of lines starting with tabs ([#1129](https://github.com/open-policy-agent/opa/issues/1129))
- docs: Update count function doc to mention strings (#1126) ([#1122](https://github.com/open-policy-agent/opa/issues/1122))

### Miscellaneous

- Add tutorial for OPA/Ceph integration using Rook
- Add metrics timer for server handler
- Add support for custom backends in decision logger
- Fix find operation on sets for non-empty refs
- Fix bug in local declaration rewriting
- Fix discovery docs to show a realistic example
- Update decision log event to include error
- Update decision log events to model paths and queries
- Update server and decision logger to represent input properly
- Update server to include decision ID in error events
- Avoid zero values in http.Transport{} in REST client

### WebAssembly

- wasm: Add support for composite terms ([#1113](https://github.com/open-policy-agent/opa/issues/1113))
- wasm: Add support for not keyword ([#1112](https://github.com/open-policy-agent/opa/issues/1112))
- wasm: Add == operator
- wasm: Add checks on single term and dot stmts
- wasm: Add support for boolean and null literals
- wasm: Add support for pattern matching on composites
- wasm: Fix planner for chained iteration
- wasm: Fix pretty printer writer usage
- wasm: Output filenames in testgen errors
- wasm: Refactor assignment for better typing
- wasm: Remove module dumping from build command
- wasm: Rename ir.LoopStmt to ir.ScanStmt
- wasm: Update tester to allow for missing cases

## 0.10.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.10.3-dev
VERSION := 0.10.3

GO := go
GOVERSION := 1.11
Expand Down
2 changes: 1 addition & 1 deletion docs/book/ceph-authorization.md
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ spec:
spec:
containers:
- name: opa
image: openpolicyagent/opa:0.10.2
image: openpolicyagent/opa:0.10.3
ports:
- name: http
containerPort: 8181
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.10.2](https://hub.docker.com/r/openpolicyagent/opa/)
* [openpolicyagent/opa:0.10.3](https://hub.docker.com/r/openpolicyagent/opa/)

### Running with Docker

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.10.2/opa_darwin_amd64
curl -L -o opa https://github.com/open-policy-agent/opa/releases/download/v0.10.3/opa_darwin_amd64
```

On Linux (64-bit):

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

> Windows users can obtain the OPA executable from [GitHub Releases](https://github.com/open-policy-agent/opa/releases). The steps below are the same for Windows users except the executable name will be different.
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 @@ -29,7 +29,7 @@ First, create a `docker-compose.yml` file that runs OPA and the demo web server.
version: '2'
services:
opa:
image: openpolicyagent/opa:0.10.2
image: openpolicyagent/opa:0.10.3
ports:
- 8181:8181
# WARNING: OPA is NOT running with an authorization policy configured. This
Expand Down
2 changes: 1 addition & 1 deletion docs/book/kafka-authorization.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ version: "2"
services:
opa:
hostname: opa
image: openpolicyagent/opa:0.10.2
image: openpolicyagent/opa:0.10.3
ports:
- 8181:8181
# WARNING: OPA is NOT running with an authorization policy configured. This
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 @@ represent our backend and frontend hosts.
version: '2'
services:
opa:
image: openpolicyagent/opa:0.10.2
image: openpolicyagent/opa:0.10.3
ports:
- 8181:8181
# WARNING: OPA is NOT running with an authorization policy configured. This
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: opa
image: openpolicyagent/opa:0.10.2
image: openpolicyagent/opa:0.10.3
ports:
- name: http
containerPort: 8181
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ spec:
# authentication and authorization on the daemon. See the Security page for
# details: https://www.openpolicyagent.org/docs/security.html.
- name: opa
image: openpolicyagent/opa:0.10.2
image: openpolicyagent/opa:0.10.3
args:
- "run"
- "--server"
Expand Down

0 comments on commit a852671

Please sign in to comment.