Skip to content

Releases: infratographer/permissions-api

Release v0.5.2

16 Sep 15:30
076196e
Compare
Choose a tag to compare

What's Changed

Changelog

🚀 Others

  • 076196e fix(deps): update module github.com/jackc/pgx/v5 to v5.7.1 (#287)
  • d69167f properly handle echo http wrapped errors (#288)

Release v0.5.1

22 Aug 21:18
31bbd1c
Compare
Choose a tag to compare

What's Changed

Changelog

🚀 Others

  • 31bbd1c Simplify role fetching logic in query engine (#282)
  • 91d9a4e Use CRDB instead of SpiceDB for getting role resource (#280)
  • ad72446 chore(deps): update helm release common to v2.22.0 (#274)
  • df0ccc6 fix(deps): update module go.infratographer.com/x to v0.5.4 (#276)
  • 6813a99 fix(deps): update module go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc to v0.53.0 (#272)

What's Changed

  • chore(deps): update helm release common to v2.22.0 by @renovate in #274
  • fix(deps): update module go.infratographer.com/x to v0.5.4 by @renovate in #276
  • fix(deps): update module go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc to v0.53.0 by @renovate in #272
  • Use CRDB instead of SpiceDB for getting role resource by @jnschaeffer in #280
  • Simplify role fetching logic in query engine by @jnschaeffer in #282

Full Changelog: v0.5.0...v0.5.1

Release v0.5.0

07 Aug 20:34
ffa70a6
Compare
Choose a tag to compare

What's Changed

Breaking Change!

This release introduces RBAC v2 which required some additional IAPL changes.
You can find out more about RBAC v2 here.
You can also see the updated example policy file here.

Your existing policy may continue to work a few slight changes.

+rbac:
+  roleresource:
+    name: rolev2
+    idprefix: permrv2
+  rolebindingresource:
+    name: rolebinding
+    idprefix: permrbn

resourcetypes:
  - name: loadbalancer
    idprefix: loadbal
    relationships:
      - relation: owner
-       targettypenames:
-         - resourceowner
+       targettypes:
+         - name: resourceowner

unions:
  - name: subject
-   resourcetypenames:
-     - user
-     - client
+   resourcetypes:
+     - name: user
+     - name: client

Changelog

🚀 Others

  • 20d9e7d Add design proposal and implementation for ZedTokens table (#257)
  • 53c0413 Add idprefix validation (#260)
  • ca13cbc RBAC V2 - Roles APIs (#245)
  • 22a688b RBAC v2 role bindings (#249)
  • 17e68d5 Skip hidden directories when loading policy (#254)
  • 3842697 Watch for KV updates instead of reaching out for tokens (#255)
  • 72685ad better represent structure in mermaid graph (#263)
  • 84b2fc9 chore(deps): update cockroachdb/cockroach docker tag to v23.2.9 (#242)
  • 8d15fc7 chore(deps): update cockroachdb/cockroach docker tag to v24 (#270)
  • b8c79a1 chore(deps): update ghcr.io/navikt/mock-oauth2-server docker tag to v2.1.8 (#243)
  • ffa70a6 chore(deps): update goreleaser/goreleaser-action action to v6 (#273)
  • 3e0830a chore(deps): update helm release common to v2.21.0 (#250)
  • 20a5ff6 chore(deps): update jaegertracing/all-in-one docker tag to v1.60.0 (#252)
  • 80e37d9 ensure validation errors include names for better context (#253)
  • 968882d fix(deps): update golang.org/x/exp digest to 8a7402a (#258)
  • 56257e0 fix(deps): update module github.com/authzed/authzed-go to v0.14.0 (#267)
  • 64fb2f8 fix(deps): update module github.com/cockroachdb/cockroach-go/v2 to v2.3.8 (#262)
  • 52c11bc fix(deps): update module github.com/go-jose/go-jose/v4 to v4.0.4 (#264)
  • a66ff13 fix(deps): update module github.com/jackc/pgx/v5 to v5.6.0 (#268)
  • ee29910 fix(deps): update module github.com/labstack/echo/v4 to v4.12.0 (#246)
  • 3b1db18 fix(deps): update module github.com/pressly/goose/v3 to v3.21.1 (#248)
  • 16dc271 fix(deps): update module github.com/spf13/cobra to v1.8.1 (#265)
  • 8be0401 fix(deps): update module github.com/spf13/viper to v1.19.0 (#269)
  • 0558d9b fix(deps): update module google.golang.org/grpc to v1.65.0 (#240)
  • 9417171 implement support for role-binding v2 schema and IAPL (#219)
  • c71c129 support directory walking and multiple documents per file (#244)
  • 80eb049 update golangci-lint to v1.59.1 (#266)
  • 70c4f22 update renovate to pull helm changes (#271)
  • ad02a3f use 201 for rb creates (#259)
  • 1ab6bf1 v0.4.0: upgrade x to fix reply errors (#261)

Release v0.4.0

05 Apr 19:40
4fbb3fc
Compare
Choose a tag to compare

What's Changed

Changelog

🚀 Others

  • 23c9d73 Multiple Policy Files (#231)
  • 4fbb3fc Update root cmd & viper binding for policydir flag (#239)
  • 59d6f51 chore(deps): update cockroachdb/cockroach docker tag to v23.2.3 (#233)
  • bed434a chore(deps): update codecov/codecov-action action to v4 (#236)
  • d026d24 chore(deps): update ghcr.io/navikt/mock-oauth2-server docker tag to v2.1.3 (#237)
  • 24a9abb chore(deps): update helm release common to v2.19.1 (#229)
  • b7ae516 chore(deps): update jaegertracing/all-in-one docker tag to v1.56.0 (#234)
  • ceb5204 fix(deps): update golang.org/x/exp digest to c0f41cb (#227)
  • 67ed609 fix(deps): update module github.com/authzed/authzed-go to v0.11.1 (#235)
  • 2696f5a fix(deps): update module go.infratographer.com/x to v0.5.0 (#232)
  • 9c0c4e6 fix(deps): update module go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc to v0.46.0 [security] (#185)
  • fae852f fix(deps): update module go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc to v0.49.0 (#192)
  • 2e5f9e7 fix(deps): update module google.golang.org/grpc to v1.63.0 (#216)

Release v0.3.4

18 Mar 14:20
3b579d3
Compare
Choose a tag to compare

What's Changed

Changelog

🚀 Others

  • 3b579d3 validate role actions on resource for updates (#230)

Release v0.3.3

15 Mar 15:22
8c2f94f
Compare
Choose a tag to compare

What's Changed

Changelog

🚀 Others

  • ca651fc Increase role http error and test quality (#222)
  • 8c2f94f chore(deps): update cockroachdb/cockroach docker tag to v23.2.2 (#206)
  • 76f2ec8 chore(deps): update ghcr.io/navikt/mock-oauth2-server docker tag to v2.1.2 (#201)
  • e3881f7 chore(deps): update jaegertracing/all-in-one docker tag to v1.55.0 (#203)
  • b57c0b4 correctly return message error if exists (#224)
  • 97f201e wrap errors for easier handling in external services (#221)

Release v0.3.2

05 Feb 21:07
7064a66
Compare
Choose a tag to compare

What's Changed

Changelog

🚀 Others

Release v0.3.1

24 Jan 15:06
b5f6e6c
Compare
Choose a tag to compare

What's Changed

Changelog

🚀 Others

  • 86f9e1b Bump golang.org/x/crypto from 0.14.0 to 0.17.0 (#208)
  • 28ffea5 add named role support (#202)
  • 053d73e chore(deps): update actions/setup-go action to v5 (#205)
  • b5f6e6c chore(deps): update helm release common to v2.14.1 (#213)
  • 071d9d8 fix(deps): update github.com/authzed/grpcutil digest to 2ea1e3d (#210)
  • b56f16c fix(deps): update module github.com/cockroachdb/cockroach-go/v2 to v2.3.6 (#211)
  • f0e3401 fix(deps): update module github.com/labstack/echo/v4 to v4.11.4 (#212)
  • e154c1c fix(deps): update module github.com/spf13/viper to v1.18.2 (#204)
  • 7522be5 fix(deps): update module google.golang.org/grpc to v1.60.1 (#207)

Release v0.3.0

16 Jan 19:16
1d6d177
Compare
Choose a tag to compare

What's Changed

Changelog

🚀 Others

  • 1d6d177 Cache ZedTokens for resources using NATS (#209)

What's Changed

Full Changelog: v0.2.7...v0.3.0

Release v0.2.7

17 Nov 17:04
74bed8f
Compare
Choose a tag to compare

What's Changed

Changelog

🚀 Others

  • b5c904a Bump github.com/nats-io/nats-server/v2 from 2.10.1 to 2.10.4 (#190)
  • f74e475 Bump github.com/nats-io/nats-server/v2 from 2.9.17 to 2.9.23 (#180)
  • bbbde7c Bump github.com/nats-io/nkeys from 0.4.4 to 0.4.6 (#183)
  • e606502 Bump golang.org/x/net from 0.14.0 to 0.17.0 (#177)
  • 8468182 Update config.go (#184)
  • 04a7a79 Update mermaid template (#175)
  • 91e93a6 chore(deps): update actions/checkout action to v4 (#169)
  • 5805f73 chore(deps): update cockroachdb/cockroach docker tag to v23.1.12 (#172)
  • 861a9db chore(deps): update docker/setup-qemu-action action to v3 (#193)
  • 21d888f chore(deps): update ghcr.io/navikt/mock-oauth2-server docker tag to v2 (#194)
  • 572c9c8 chore(deps): update goreleaser/goreleaser-action action to v5 (#195)
  • dc79003 chore(deps): update helm release common to v2.13.3 (#161)
  • 0b66dc3 chore(deps): update jaegertracing/all-in-one docker tag to v1.51.0 (#158)
  • 6b266a7 fix(deps): update github.com/authzed/grpcutil digest to 4286bb1 (#160)
  • fcdb7be fix(deps): update module github.com/authzed/authzed-go to v0.10.1 (#187)
  • 6dc25ca fix(deps): update module github.com/labstack/echo/v4 to v4.11.3 (#179)
  • 8b23ddd fix(deps): update module github.com/spf13/cobra to v1.8.0 (#196)
  • 1a0dd01 fix(deps): update module github.com/spf13/viper to v1.17.0 (#197)
  • 9ea0ab7 fix(deps): update module go.infratographer.com/x to v0.3.9 (#186)
  • 66d485e fix(deps): update module go.uber.org/zap to v1.26.0 (#198)
  • d706691 fix(deps): update module google.golang.org/grpc to v1.57.1 [security] (#182)
  • e9fb862 fix(deps): update module google.golang.org/grpc to v1.58.3 [security] (#189)
  • b603de9 fix(deps): update module google.golang.org/grpc to v1.59.0 (#199)
  • a4bc8c5 golangci fix local (#176)
  • 8aa94e2 update renovate to update all otel packages in a single pr to ensure all dependent packages are updated at the same time (#188)
  • 74bed8f use full consistent reads (#200)