OpenFGA
v1.22.0SecurityA feature and maintenance release adds MySQL read-replica support, updates dependencies, and raises the minimum Go version. It also corrects SQL timestamp reporting and includes a gRPC update for `GO-2026-6443`.
Action needed (1)
securityhighThe
google.dependency update forgolang. org/grpc GO-2026-6443The
google.dependency was updated togolang. org/grpc v1.to resolve83. 2 GO-2026-6443.
Check if affected (3)
breakingThe
mysql.secondary database parameterNewWithDB Applies if you use
mysql..NewWithDB mysql.now requires aNewWithDB secondaryDB *sql.parameter. PassDB nilwhen no replica is configured.breakingThe
sqlcommonauthorization model functionsApplies if you use
sqlcommon.orReadAuthorizationModel sqlcommon..FindLatestAuthorizationModel sqlcommon.andReadAuthorizationModel sqlcommon.were removed from the shared package and moved to per-backend implementations.FindLatestAuthorizationModel breakingThe minimum Go version, raised to
1.26. 0 Applies if you do not depend on
go.The minimum Go version is now
1., alongside dependency updates.26. 0
All 5 other recorded changesvalue changes 3 · additions 1 · fixes 1
value changes (3)
- * chore(deps): bump the dependencies group across 1 directory with 9 updates by @dependabot[bot] in https://github.com/openfga/openfga/pull/3324
- * chore(deps): bump chainguard/static from
f51c249tofe55470in the dependencies group by @dependabot[bot] in https://github.com/openfga/openfga/pull/3328 - * chore(deps): bump the dependencies group across 1 directory with 19 updates by @dependabot[bot] in https://github.com/openfga/openfga/pull/3329
additions (1)
- - Added read-replica (primary/secondary) support to the MySQL datastore backend, matching the existing PostgreSQL behaviour. Configure a secondary connection via
--datastore-secondary-uri(orOPENFGA_DATASTORE_SECONDARY_URI); all reads except those requestingHIGHER_CONSISTENCYare routed to the replica while all writes remain on the primary.
fixes (1)
- -
ReadUserTuplenow returns the tuple's timestamp for the Postgres, MySQL, and SQLite datastores; it previously returned a zero timestamp because the query did not selectinserted_at. [#3194](https://github.com/openfga/openfga/pull/3194) Thanks [@nikolauspschuetz](https://github.com/nikolauspschuetz) for the contribution!
A weekly email arrives when a release needs action. Like the security patches and breaking changes in this release.