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.5.6 to 1.5.7 #13839

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 29, 2024

Bumps github.com/openfga/openfga from 1.5.6 to 1.5.7.

Release notes

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

v1.5.7

Changelog

Added

  • Support requesting a different consistency option per request in Check, Expand, ListObjects, ListUsers, and Read #1764
    • This is currently experimental and needs to be enabled by configuring OPENFGA_EXPERIMENTALS=enable-consistency-params or passing --experimentals enable-consistency-params to openfga run.
    • When HIGHER_CONSISTENCY is requested, OpenFGA will skip the check resolver cache. For storage implementors it is recommended to skip any caching and perform a stronger read if HIGHER_CONSISTENCY is requested. This can be accessed in the Consistency options provided to the relevant methods of the storage interface.
  • Start publishing images to ghcr.io/openfga/openfga as alternative to DockerHub #1775 - Thanks @​JAORMX!
  • Performance improvements for parent child relations in Check #1765
  • Performance improvement in Check: computed relations don't consume from the resolution depth quota, don't trigger additional goroutines, and don't get cached #1786

Changed

Breaking Changes ⚠️

[!NOTE] The following breaking changes are related to the storage interface. If you are not implementing a storage adaptor, then there are these changes should not impact your usage of OpenFGA.

Removal of PaginationOptions in favour of a per-method Options type #1732

The options parameter of type PaginationOptions has been replaced with a per-method type that contains a Pagination field that contains this data in the following methods:

  • ReadAuthorizationModels - Type is ReadAuthorizationModelsOptions
  • ListStores - Type is ListStoresOptions
  • ReadChanges - Type is ReadChangesOptions
  • ReadPage - Type is ReadPageOptions

Introduction of new Options types to certain methods in the storage interface to facilitate consistency data #1750

The following methods have had an options parameter introduced to the method signature to include consistency data, or the existing options parameter has been expanded to hold consistency data.

This consistency data should be used to help determine whether any form of caching should be used as part of the read performed by the storage adapter.

  • Read - Added a new parameter of type ReadOptions
  • ReadPage - Added Consistency to existing ReadPageOptions type
  • ReadUserSetTuples - Added a new parameter of type ReadUserSetTuplesOptions
  • ReadStartingWithUser - Added a new parameter of type ReadStartingWithUserOptions
Changelog

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

[1.5.7] - 2024-07-25

Added

  • Support requesting a different consistency option per request in Check, Expand, ListObjects, ListUsers, and Read #1764
    • This is currently experimental and needs to be enabled by configuring OPENFGA_EXPERIMENTALS=enable-consistency-params or passing --experimentals enable-consistency-params to openfga run.
    • When HIGHER_CONSISTENCY is requested, OpenFGA will skip the check resolver cache. For storage implementors it is recommended to skip any caching and perform a stronger read if HIGHER_CONSISTENCY is requested. This can be accessed in the Consistency options provided to the relevant methods of the storage interface.
  • Start publishing images to ghcr.io/openfga/openfga as alternative to DockerHub #1775 - Thanks @​JAORMX!
  • Performance improvements for parent child relations in Check #1765
  • Performance improvement in Check: computed relations don't consume from the resolution depth quota, don't trigger additional goroutines, and don't get cached #1786

Changed

Breaking Changes ⚠️

[!NOTE] The following breaking changes are related to the storage interface. If you are not implementing a storage adaptor, then there are these changes should not impact your usage of OpenFGA.

Removal of PaginationOptions in favour of a per-method Options type #1732

The options parameter of type PaginationOptions has been replaced with a per-method type that contains a Pagination field that contains this data in the following methods:

  • ReadAuthorizationModels - Type is ReadAuthorizationModelsOptions
  • ListStores - Type is ListStoresOptions
  • ReadChanges - Type is ReadChangesOptions
  • ReadPage - Type is ReadPageOptions

Introduction of new Options types to certain methods in the storage interface to facilitate consistency data #1750

The following methods have had an options parameter introduced to the method signature to include consistency data, or the existing options parameter has been expanded to hold consistency data.

This consistency data should be used to help determine whether any form of caching should be used as part of the read performed by the storage adapter.

  • Read - Added a new parameter of type ReadOptions
  • ReadPage - Added Consistency to existing ReadPageOptions type
  • ReadUserSetTuples - Added a new parameter of type ReadUserSetTuplesOptions
  • ReadStartingWithUser - Added a new parameter of type ReadStartingWithUserOptions
Commits
  • b572902 fix: goreleaser docker manifests (#1796)
  • 830f991 perf: improve userset check performance where child is computed relation (#1793)
  • 6116897 docs(v1.5.7): add v1.5.7 release notes to CHANGELOG (#1792)
  • 6f63495 fix: flakey test (#1795)
  • d091350 docs: improve description for caching flag (#1790)
  • 5bc7ebb refactor: extract interface for in-memory cache (#1788)
  • 99a5b0f fix: computed userset should not be a complete dispatch (#1786)
  • e20b787 feat!: introduce consistency options for query requests (#1764)
  • e69c184 fix: data race on server close (#1789)
  • cea5aa1 chore: remove deprecated function NewLocalCheckerWithCycleDetection (#1781)
  • Additional commits viewable in compare view

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.5.6 to 1.5.7.
- [Release notes](https://github.com/openfga/openfga/releases)
- [Changelog](https://github.com/openfga/openfga/blob/main/CHANGELOG.md)
- [Commits](openfga/openfga@v1.5.6...v1.5.7)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/go_modules/main/github.com/openfga/openfga-1.5.7 branch from 4a60a65 to 9307b96 Compare August 2, 2024 13:48
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 12, 2024

Superseded by #13913.

@dependabot dependabot bot closed this Aug 12, 2024
@dependabot dependabot bot deleted the dependabot/go_modules/main/github.com/openfga/openfga-1.5.7 branch August 12, 2024 10:51
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