Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump github.com/openfga/openfga from 1.7.0 to 1.8.0 #14440

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 11, 2024

Bumps github.com/openfga/openfga from 1.7.0 to 1.8.0.

Release notes

Sourced from github.com/openfga/openfga's releases.

v1.8.0

Added

  • Added start_time parameter to ReadChanges API to allow filtering by specific time #2020
  • Added support for Contextual Tuples in the Expand API. #2045
  • Added a flag OPENFGA_CONTEXT_PROPAGATION_TO_DATASTORE to control propagation of a request's context to the datastore. #1838
  • Added OTEL measurement for access control store check latency and write latency due to authorization #2069
  • Added BatchCheck API which allows multiple check operations to be performed in a single request. It requires a unique correlation_id associated with each individual check to map each result to its associated tuple. For more details, see batch check docs #2039.

Performance

  • Improve Check performance in the case that the query involves resolving nested userset with type bound public access. Enable via experimental flag enable-check-optimizations. #2063

Breaking changes

  • The storage adapter ReadChanges's parameter ReadChangesOptions allows filtering by StartTime #2020. As a part of the implementation, a new server setting called WithContinuationTokenSerializer was introduced. If you are using OpenFGA as a library, you will need to pass in either StringContinuationTokenSerializer, or SQLContinuationTokenSerializer, or implement your own (if you also have your own storage adapter)

  • The storage adapter ReadPage return parameters changed from ([]*openfgav1.Tuple, []byte, error) to ([]*openfgav1.Tuple, string, error) #2064 If you are using a custom storage adapter or consume ReadPage func in your code, you will need to update the return type and/or handling of the ReadPage function.

  • ErrMismatchObjectType error type removed from openfga package #2064 as storage is not validating this anymore. Validation moved to ReadChangesQuery implementation.

  • c279d806ca1ecc09441c78cff24ae18379dc3049 Add start_time param to changes API (#2020)

  • 086a62141543ab9a7f3ff8f2fc2f72ac1e7cfa55 chore(deps): bump anchore/sbom-action from 0.17.5 to 0.17.6 in the dependencies group (#2068)

  • c3a39a6e43facc3e34d3047e0a9db43662a44103 chore(deps): bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.22.0 to 2.23.0 in the dependencies group (#2067)

  • f1f1b54b2163b4918a9509dbb5894df39293bd27 chore: add GCI linter to group import statements (#2074)

  • 0e865fd67cceb4454b9ce57476af897f078c45d8 chore: generate mocks using mockgen v0.5.0 (#2077)

  • dd782e849603007fb15745393d0d1a1cf5a36ac1 chore: move check directly assignable function out to its own function (#2060)

  • fc28fa3db4452ba4c9dd286e30ce554a58f878fc don't generate continuation token for empty result (#2081)

  • 8a246d8daf68e46bd55de9bcfd67d1b0b351deb8 feat: add contextual tuples to Expand API (#2045)

  • 62bd2b686cff1a603e816ae5011189cc68ea5e6b feat: batch check API (#2039)

  • f665bc229b591655b0570aabb27ef0fcfb10b350 feat: configurable request context propagation to datastore (#1838)

  • e14e957fe0ddf179d4cdb2ddbf70db1687555a5f feat: measurement on root store check + write latency due to authz (#2069)

  • 3fc51658d2e48f65d953294c1c93bd8a236c16db perf: enable optimization for nested userset with public wildcard (#2063)

  • ba9e25dec8fedd8a689bacd7f8e6da29b04f3971 refactor(!): remove token serialization from datastore (#2064)

  • c604bda0f807bf0d95243229922e6754e0f703ba refactor: break server.go into operation-specific-files (#2071)

  • af054d9693bd7ebd0420456b144c2fb6888aaf87 refactor: resolve check response (#2061)

  • 8307264d6acb86e52cba7384c93518f2cd05bfa1 refactor: track datastore query count in a new datastore wrapper (#2022)

Changelog

Sourced from github.com/openfga/openfga's changelog.

[1.8.0] - 2024-11-08

Full changelog

Added

  • Added start_time parameter to ReadChanges API to allow filtering by specific time #2020
  • Added support for Contextual Tuples in the Expand API. #2045
  • Added a flag OPENFGA_CONTEXT_PROPAGATION_TO_DATASTORE to control propagation of a request's context to the datastore. #1838
  • Added OTEL measurement for access control store check latency and write latency due to authorization #2069
  • Added BatchCheck API which allows multiple check operations to be performed in a single request. It requires a unique correlation_id associated with each individual check to map each result to its associated tuple. For more details, see batch check docs #2039.

Performance

  • Improve Check performance in the case that the query involves resolving nested userset with type bound public access. Enable via experimental flag enable-check-optimizations. #2063

Breaking changes

  • The storage adapter ReadChanges's parameter ReadChangesOptions allows filtering by StartTime #2020. As a part of the implementation, a new server setting called WithContinuationTokenSerializer was introduced. If you are using OpenFGA as a library, you will need to pass in either StringContinuationTokenSerializer, or SQLContinuationTokenSerializer, or implement your own (if you also have your own storage adapter)
  • The storage adapter ReadPage return parameters changed from ([]*openfgav1.Tuple, []byte, error) to ([]*openfgav1.Tuple, string, error) #2064 If you are using a custom storage adapter or consume ReadPage func in your code, you will need to update the return type and/or handling of the ReadPage function.
  • ErrMismatchObjectType error type removed from openfga package #2064 as storage is not validating this anymore. Validation moved to ReadChangesQuery implementation.
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/openfga/openfga](https://github.com/openfga/openfga) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/openfga/openfga/releases)
- [Changelog](https://github.com/openfga/openfga/blob/main/CHANGELOG.md)
- [Commits](openfga/openfga@v1.7.0...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/openfga/openfga
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants