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

chore(deps): bump github.com/openfga/openfga from 1.5.5 to 1.5.7 in the dependencies group across 1 directory #370

Closed

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps the dependencies group with 1 update in the / directory: github.com/openfga/openfga.

Updates github.com/openfga/openfga from 1.5.5 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

v1.5.6

Added

  • Performance improvements to userset subproblem resolutions in Check in certain scenarios #1734
  • Performance improvements to tuple-to-userset subproblem resolutions in Check in certain scenarios #1735
  • Warning when log level set to none #1705 - thank you, @​Siddhant-K-code!
  • Minor performance improvement for queries when model ID not specified #1754

... (truncated)

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

[1.5.6] - 2024-07-17

Full changelog

Added

  • Performance improvements to userset subproblem resolutions in Check in certain scenarios #1734
  • Performance improvements to tuple-to-userset subproblem resolutions in Check in certain scenarios #1735
  • Warning when log level set to none #1705 - thank you, @​Siddhant-K-code!
  • Minor performance improvement for queries when model ID not specified #1754

... (truncated)

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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the dependencies group with 1 update in the / directory: [github.com/openfga/openfga](https://github.com/openfga/openfga).


Updates `github.com/openfga/openfga` from 1.5.5 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.5...v1.5.7)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner July 29, 2024 12:40
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jul 29, 2024
Copy link

Minder Vulnerability Report ✅

Minder analyzed this PR and found no vulnerable dependencies.

Vulnerability scan of 585d01c8:

  • 🐞 vulnerable packages: 0
  • 🛠 fixes available for: 0

Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 5, 2024

Looks like github.com/openfga/openfga is updatable in another way, so this is no longer needed.

@dependabot dependabot bot closed this Aug 5, 2024
@dependabot dependabot bot deleted the dependabot/go_modules/dependencies-edf1dae29b branch August 5, 2024 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants