Skip to content

build(deps): bump github.com/openfga/openfga from 1.20.0 to 1.23.0 - #10

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/openfga/openfga-1.23.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/openfga/openfga-1.23.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 1, 2026

Copy link
Copy Markdown

Bumps github.com/openfga/openfga from 1.20.0 to 1.23.0.

Release notes

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

v1.23.0

Added

  • Added a typed query AST and a Querier interface so backends can run queries as structured statements instead of hand-built SQL. This lays the groundwork for future SQL optimizations. #3316
    • Breaking change: This only applies if you use openfga as a library and implement a custom RelationshipTupleReader. The interface now has a Querier method which must be implemented (see pkg/storage/adapter). Returning nil is safe (especially for non-SQL datastores) but skips future SQL optimizations.
  • Implemented the Querier interface for SQLite. #3322

Changed

  • Moved the CEL dependency from github.com/google/cel-go to its new module path cel.dev/cel-go (v0.33.2), as the upstream project has relocated to github.com/cel-expr/cel-go. Condition compilation errors no longer end with (in container ''). #3391
  • Various dependency updates. Breaking (HTTP API): grpc-gateway v2.33.0 no longer forwards Grpc-Metadata-* request headers to gRPC metadata, and rejects malformed query parameters (e.g. non-decimal float spellings, field[key] on non-map fields) that were previously accepted. #3363
  • PostgreSQL: FindLatestAuthorizationModel reads only the rows of the store's latest model instead of every model version, so Check and other requests without authorization_model_id no longer slow down as the model history grows. #3377

Fixed

  • Improved error handling in graph evaluation and iterator processing.
  • Fixed --request-timeout not reaching Check, which always used the 3s default for the planner's penalty when a strategy errors. Setting it to a non-default value now changes Check's behavior. server.WithRequestTimeout now ignores values <= 0 and keeps the default. #3400

Security

  • Fixed known vulnerabilities in the openfga/openfga Docker image by updating Go to 1.27.4, golang.org/x/net to v0.62.0, and the bundled grpc_health_probe to v0.4.62. #3405

New Contributors

Full Changelog: openfga/openfga@v1.22.1...v1.23.0

v1.22.1

What's Changed

New Contributors

Full Changelog: openfga/openfga@v1.22.0...v1.22.1

v1.22.0

What's Changed

Added

  • Added read-replica (primary/secondary) support to the MySQL datastore backend, matching the existing PostgreSQL behaviour. Configure a secondary connection via --datastore-secondary-uri (or OPENFGA_DATASTORE_SECONDARY_URI); all reads except those requesting HIGHER_CONSISTENCY are routed to the replica while all writes remain on the primary. GetStore, ListStores, ReadAssertions, ReadAuthorizationModel, ReadAuthorizationModels, FindLatestAuthorizationModel, and ReadChanges always hit the replica when configured regardless of requested consistency — callers should be aware of read-after-write risk on a lagging replica. See pkg/storage/mysql/mysql.go. Breaking: mysql.NewWithDB gained a required secondaryDB *sql.DB parameter (pass nil if no replica is configured); sqlcommon.ReadAuthorizationModel and sqlcommon.FindLatestAuthorizationModel were removed and moved to per-backend implementations. #3290 Thanks @​chiragsoni-eternal for the contribution!

Changed

  • Various dependency updates. Minimum go version updated to 1.26.0. #3329, #3328, #3324

Fixed

  • ReadUserTuple now returns the tuple's timestamp for the Postgres, MySQL, and SQLite datastores; it previously returned a zero timestamp because the query did not select inserted_at. #3194 Thanks @​nikolauspschuetz for the contribution!

Security

... (truncated)

Changelog

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

[1.23.0] - 2026-11-20

Added

  • Added a typed query AST and a Querier interface so backends can run queries as structured statements instead of hand-built SQL. This lays the groundwork for future SQL optimizations. #3316
    • Breaking change: This only applies if you use openfga as a library and implement a custom RelationshipTupleReader. The interface now has a Querier method which must be implemented (see pkg/storage/adapter). Returning nil is safe (especially for non-SQL datastores) but skips future SQL optimizations.
  • Implemented the Querier interface for SQLite. #3322

Changed

  • Moved the CEL dependency from github.com/google/cel-go to its new module path cel.dev/cel-go (v0.33.2), as the upstream project has relocated to github.com/cel-expr/cel-go. Condition compilation errors no longer end with (in container ''). #3391
  • Various dependency updates. Breaking (HTTP API): grpc-gateway v2.33.0 no longer forwards Grpc-Metadata-* request headers to gRPC metadata, and rejects malformed query parameters (e.g. non-decimal float spellings, field[key] on non-map fields) that were previously accepted. #3363
  • PostgreSQL: FindLatestAuthorizationModel reads only the rows of the store's latest model instead of every model version, so Check and other requests without authorization_model_id no longer slow down as the model history grows. #3377

Fixed

  • Improved error handling in graph evaluation and iterator processing.
  • Fixed --request-timeout not reaching Check, which always used the 3s default for the planner's penalty when a strategy errors. Setting it to a non-default value now changes Check's behavior. server.WithRequestTimeout now ignores values <= 0 and keeps the default. #3400

Security

  • Fixed known vulnerabilities in the openfga/openfga Docker image by updating Go to 1.27.4, golang.org/x/net to v0.62.0, and the bundled grpc_health_probe to v0.4.62. #3405

[1.22.1] - 2026-10-27

Changed

  • Moved the build toolchain and Docker builder image to Go 1.27.3 and pinned golangci-lint to v2.15.0. The minimum Go version stays at 1.26.0. #3359

Fixed

  • Fixed ListObjects returning validation_error with the message "Internal Server Error" instead of the condition evaluation error (e.g. a missing context parameter) when the ListObjects pipeline is enabled. #3338
  • Fixed recursiveFastPath and weight2 in Check spinning at full CPU on a closed producer channel until the other producer finished, which also made the planner avoid the weight2 strategy. #3299
  • Fixed logging json package to be compatible with golang v1.27. #3354

[1.22.0] - 2026-10-06

Added

  • Added read-replica (primary/secondary) support to the MySQL datastore backend, matching the existing PostgreSQL behaviour. Configure a secondary connection via --datastore-secondary-uri (or OPENFGA_DATASTORE_SECONDARY_URI); all reads except those requesting HIGHER_CONSISTENCY are routed to the replica while all writes remain on the primary. GetStore, ListStores, ReadAssertions, ReadAuthorizationModel, ReadAuthorizationModels, FindLatestAuthorizationModel, and ReadChanges always hit the replica when configured regardless of requested consistency — callers should be aware of read-after-write risk on a lagging replica. See pkg/storage/mysql/mysql.go. Breaking: mysql.NewWithDB gained a required secondaryDB *sql.DB parameter (pass nil if no replica is configured); sqlcommon.ReadAuthorizationModel and sqlcommon.FindLatestAuthorizationModel were removed and moved to per-backend implementations. #3290 Thanks @​chiragsoni-eternal for the contribution!

Changed

  • Various dependency updates. Minimum go version updated to 1.26.0. #3329, #3328, #3324

Fixed

  • ReadUserTuple now returns the tuple's timestamp for the Postgres, MySQL, and SQLite datastores; it previously returned a zero timestamp because the query did not select inserted_at. #3194 Thanks @​nikolauspschuetz for the contribution!

Security

[1.21.0] - 2026-09-20

Added

  • Added "Dynamic Conditions" as a new experimental feature. #3313
Commits
  • d67ba7b Update changelog to prep for 1.23.0 release (#3437)
  • 7981498 fix(security): resolve vulnerabilities reported in the openfga Docker image (...
  • 8e4909c fix: wire --request-timeout into the server (#3400)
  • fd3b645 fix(storage): read only the latest model in Postgres FindLatestAuthorizationM...
  • c4b8d14 feat: Querier implementation for SQLite (#3322)
  • b00c87d feat: Add Querier and AST interfaces (#3316)
  • 4b09daf chore(deps): migrate cel-go to cel.dev/cel-go module path (#3391)
  • 1a20896 chore(deps): bump the dependencies group across 1 directory with 12 updates (...
  • aab06ac chore(deps): bump the dependencies group across 1 directory with 10 updates (...
  • 2731d98 chore(deps): bump the dependencies group across 1 directory with 2 updates (#...
  • 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 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.20.0 to 1.23.0.
- [Release notes](https://github.com/openfga/openfga/releases)
- [Changelog](https://github.com/openfga/openfga/blob/main/CHANGELOG.md)
- [Commits](openfga/openfga@v1.20.0...v1.23.0)

---
updated-dependencies:
- dependency-name: github.com/openfga/openfga
  dependency-version: 1.23.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Dec 1, 2026
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