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.8.0 to 1.8.3 in /tools #5295

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 13, 2025

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

Release notes

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

v1.8.3

Added

  • Improve Check performance for Userset relationships that include set operations. Enable via experimental flag enable-check-optimizations. #2140
  • Add name as a filter to ListStores. The name parameter instructs the API to only include results that match that name. #2103
  • Additional guard against nil context at the time of server initialization #2187

Fixed

  • Ensure Check Cache Key considers contextual_tuple conditions and their contexts #2160.

New Contributors

Full Changelog: openfga/openfga@v1.8.2...v1.8.3

v1.8.2

Added

  • Add metrics cachecontroller_find_changes_and_invalidate_histogram on latency for cache controller in finding changes and invalidating. #2135
  • Improve Check performance when cache controller is enabled by invalidating iterator and sub-problem cache asynchronously when read changes API indicates there are recent writes/deletes for the store. #2124
  • Improve check cache key generation performance via strings.Builder #2161.

Fixed

  • Labels of metrics that went past the max histogram bucket are now labelled "+Inf" instead of ">max". #2146
  • Prevent possible data races by waiting for in-flight cached iterator goroutines during server shutdown #2145
  • Correct incorrect check result returned when using experimental flag enable-check-optimizations and model has intersection or exclusion within a TTU or Userset. #2157

Full changelog

v1.8.1

Added

  • New flag OPENFGA_CHECK_ITERATOR_TTL. Please see the flag description (./openfga run --help) for more details. #2082
  • New flag OPENFGA_CHECK_CACHE_LIMIT. Please see the flag description (./openfga run --help) for more details. #2082
  • Improve Check performance for TTU relationships that include set operations. Enable via experimental flag enable-check-optimizations. #2075
  • Add a field in log entries when authz calls were made. #2130
  • Add Duration to ResolveCheckResponseMetadata for use in metrics. #2139
  • Add check_duration_ms metric to server package to enable measurement of check across different API methods. #2139
  • Added deduplication logic to BatchCheck API. #2102

Changed

  • OIDC token validation will now exclusively throw error code 1004 for invalid tokens. #1999

Removed

  • Begin deprecation process for flag OPENFGA_CHECK_QUERY_CACHE_LIMIT, in favor of OPENFGA_CHECK_CACHE_LIMIT. #2082
  • Removed flags with the OPENFGA_DISPATCH_THROTTLING_* name. #2083

Fixed

  • Improve Check performance in the case that the query involves types that cannot be reached from the source. Enable via experimental flag enable-check-optimizations. #2104
  • Fix regression introduced in #2091: error message for invalid Writes. #2110
  • Ensure /read and /list-objects respect the received Consistency values #2113
  • Fix access-control to always return unauthorized errors, and add logging for authorization failures 2129

... (truncated)

Changelog

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

[1.8.3] - 2024-12-31

Full changelog

Added

  • Improve Check performance for Userset relationships that include set operations. Enable via experimental flag enable-check-optimizations. #2140
  • Add name as a filter to ListStores. The name parameter instructs the API to only include results that match that name. #2103
  • Additional guard against nil context at the time of server initialization #2187

Fixed

  • Ensure Check Cache Key considers contextual_tuple conditions and their contexts #2160.

[1.8.2] - 2024-12-13

Full changelog

Added

  • Add metrics cachecontroller_find_changes_and_invalidate_histogram on latency for cache controller in finding changes and invalidating. #2135
  • Improve Check performance when cache controller is enabled by invalidating iterator and sub-problem cache asynchronously when read changes API indicates there are recent writes/deletes for the store. #2124
  • Improve check cache key generation performance via strings.Builder #2161.

Fixed

  • Labels of metrics that went past the max histogram bucket are now labelled "+Inf" instead of ">max". #2146
  • Prevent possible data races by waiting for in-flight cached iterator goroutines during server shutdown #2145
  • Correct incorrect check result returned when using experimental flag enable-check-optimizations and model has intersection or exclusion within a TTU or Userset. #2157

[1.8.1] - 2024-12-05

Full changelog

Added

  • New flag OPENFGA_CHECK_ITERATOR_TTL. Please see the flag description (./openfga run --help) for more details. #2082
  • New flag OPENFGA_CHECK_CACHE_LIMIT. Please see the flag description (./openfga run --help) for more details. #2082
  • Improve Check performance for TTU relationships that include set operations. Enable via experimental flag enable-check-optimizations. #2075
  • Add a field in log entries when authz calls were made. #2130
  • Add Duration to ResolveCheckResponseMetadata for use in metrics. #2139
  • Add check_duration_ms metric to server package to enable measurement of check across different API methods. #2139
  • Added deduplication logic to BatchCheck API. #2102

Changed

  • OIDC token validation will now exclusively throw error code 1004 for invalid tokens. #1999

Removed

  • Begin deprecation process for flag OPENFGA_CHECK_QUERY_CACHE_LIMIT, in favor of OPENFGA_CHECK_CACHE_LIMIT. #2082
  • Removed flags with the OPENFGA_DISPATCH_THROTTLING_* name. #2083

Fixed

  • Improve Check performance in the case that the query involves types that cannot be reached from the source. Enable via experimental flag enable-check-optimizations. #2104
  • Fix regression introduced in #2091: error message for invalid Writes. #2110
  • Ensure /read and /list-objects respect the received Consistency values #2113
  • Fix access-control to always return unauthorized errors, and add logging for authorization failures 2129
  • Fix composition of database decorators to fix some performance issues. #2126
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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

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

---
updated-dependencies:
- dependency-name: github.com/openfga/openfga
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner January 13, 2025 20:00
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jan 13, 2025
@rdimitrov rdimitrov merged commit 41361fd into main Jan 14, 2025
26 checks passed
@rdimitrov rdimitrov deleted the dependabot/go_modules/tools/github.com/openfga/openfga-1.8.3 branch January 14, 2025 06:59
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.

1 participant