Skip to content

Commit 36a527b

Browse files
committed
open-policy-agent: 0.70.0 -> 1.0.1
Signed-off-by: Charlie Egan <charlieegan3@users.noreply.github.com>
1 parent 5e3206d commit 36a527b

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

nixos/doc/manual/release-notes/rl-2505.section.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,14 @@
260260
To keep the old behavior for a site `example.com`, set `services.caddy.virtualHosts."example.com".hostName = "http://example.com"`.
261261
If you set custom Caddy options for a DokuWiki site, migrate these options by removing `http://` from `services.caddy.virtualHosts."http://example.com"`.
262262

263+
- `open-policy-agent` has has been updated to v1.0.0+. This major release makes
264+
the `rego.v1` syntax the default. This is a breaking change for those using v0
265+
Rego. See the
266+
[upgrade documentation](https://www.openpolicyagent.org/docs/v1.0.1/v0-upgrade/)
267+
for more details. For those unable to upgrade yet, there is a
268+
[v0 compatibility mode](https://www.openpolicyagent.org/docs/v1.0.1/v0-compatibility/)
269+
available too.
270+
263271
- `vscode-utils.buildVscodeExtension` now requires pname as an argument
264272

265273
- The behavior of `services.hostapd.radios.<name>.networks.<name>.authentication.enableRecommendedPairwiseCiphers` was changed to not include `CCMP-256` anymore.

pkgs/by-name/op/open-policy-agent/package.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ assert
1414

1515
buildGoModule rec {
1616
pname = "open-policy-agent";
17-
version = "0.70.0";
17+
version = "1.0.1";
1818

1919
src = fetchFromGitHub {
2020
owner = "open-policy-agent";
2121
repo = "opa";
2222
rev = "v${version}";
23-
hash = "sha256-7br0rxhVNH+lt+gWwFSuYCBmZMrejLatWJyVNcQ95NA=";
23+
hash = "sha256-16w4i0ggnh9pi7isjmrjqhc3sv7mknb0qhzvfgh30zqdbbyd0nkg";
2424
};
2525

2626
vendorHash = null;
@@ -59,7 +59,7 @@ buildGoModule rec {
5959
''
6060
+ lib.optionalString stdenv.hostPlatform.isDarwin ''
6161
# remove tests that have "too many open files"/"no space left on device" issues on darwin in hydra
62-
rm server/server_test.go
62+
rm v1/server/server_test.go
6363
'';
6464

6565
postInstall = ''

0 commit comments

Comments
 (0)