Download Latest Version v1.22.0 source code.zip (1.4 MB) Google Add to Preferred Sources
Home / v1.22.0
Name Modified Size InfoDownloads / Week
Parent folder
openfga.intoto.jsonl 2026-10-06 29.6 kB
checksums.txt.pem 2026-10-06 3.2 kB
checksums.txt.sig 2026-10-06 96 Bytes
checksums.txt 2026-10-06 1.7 kB
openfga_1.22.0_darwin_amd64.tar.gz.sbom.json 2026-10-06 233.7 kB
openfga_1.22.0_linux_arm64.tar.gz.sbom.json 2026-10-06 230.7 kB
openfga_1.22.0_windows_386.tar.gz.sbom.json 2026-10-06 237.4 kB
openfga_1.22.0_windows_arm64.tar.gz.sbom.json 2026-10-06 237.7 kB
openfga_1.22.0_darwin_arm64.tar.gz.sbom.json 2026-10-06 232.3 kB
openfga_1.22.0_linux_386.tar.gz.sbom.json 2026-10-06 230.4 kB
openfga_1.22.0_linux_amd64.tar.gz.sbom.json 2026-10-06 232.2 kB
openfga_1.22.0_windows_amd64.tar.gz.sbom.json 2026-10-06 239.2 kB
openfga_1.22.0_darwin_amd64.tar.gz 2026-10-06 22.0 MB
openfga_1.22.0_linux_arm64.tar.gz 2026-10-06 19.4 MB
openfga_1.22.0_windows_arm64.tar.gz 2026-10-06 19.4 MB
openfga_1.22.0_windows_386.tar.gz 2026-10-06 21.2 MB
openfga_1.22.0_darwin_arm64.tar.gz 2026-10-06 20.3 MB
openfga_1.22.0_linux_386.tar.gz 2026-10-06 20.3 MB
openfga_1.22.0_linux_amd64.tar.gz 2026-10-06 21.7 MB
openfga_1.22.0_windows_amd64.tar.gz 2026-10-06 22.2 MB
README.md 2026-10-06 2.2 kB
v1.22.0 source code.tar.gz 2026-10-06 1.1 MB
v1.22.0 source code.zip 2026-10-06 1.4 MB
Totals: 23 Items   171.0 MB 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

New Contributors

Full Changelog: https://github.com/openfga/openfga/compare/v1.21.0...v1.22.0

Source: README.md, updated 2026-10-06