Releases: openfga/cli
Releases · openfga/cli
v0.7.8
0.7.8 - 2025-11-05
Fixed:
- Fix path resolution in
fga model testto no longer resolve paths using the files base path
What's Changed
- fix(model/test): dont attempt to resolve store files against a basepath as they are already complete by @ewanharris in #603
- release: v0.7.8 by @ewanharris in #604
Full Changelog: v0.7.7...v0.7.8
v0.7.7
0.7.7 - 2025-11-04
Note
v0.7.6 has the same changelog as v0.7.7, but failed to be released due to CI errors.
Added:
- Write conflict options are now configurable via flags
fga tuple deletenow accepts--on-missing ignorewith a choice oferrororignorefga tuple writenow accepts--on-duplicate ignorewith a choice oferrororignore- In both cases, default is
ignorewhen importing/deleting from a file, anderrorwhen writing/deleting a single tuple via flags
Changed:
- Update bundled OpenFGA to v1.10.4
Fixed:
- Fix relative path resolution in
model testto resolve paths relative to test file location instead of CWD (#516) - fixes #349
What's Changed
- feat: use relative path in model_file in tests by @SoulPancake in #516
- chore(deps): bump golang.org/x/time from 0.13.0 to 0.14.0 in the dependencies group by @dependabot[bot] in #589
- chore(deps): bump the dependencies group with 2 updates by @dependabot[bot] in #590
- chore(deps): bump github.com/openfga/openfga from 1.10.2 to 1.10.3 in the dependencies group by @dependabot[bot] in #591
- feat: add support for configurable write conflict options by @rhamzeh in #595
- chore(deps): bump the dependencies group with 2 updates by @dependabot[bot] in #593
- release: v0.7.6 by @rhamzeh in #596
- chore(ci): downgrade cosign to v2.6.1 due to goreleaser incompatibility by @rhamzeh in #598
- chore: bump OpenFGA to v1.10.4 & other direct dependencies by @rhamzeh in #600
- release: v0.7.7 by @rhamzeh in #599
Full Changelog: v0.7.5...v0.7.7
v0.7.6
0.7.6 - 2025-11-04
Warning
v0.7.6 failed signing and publishing due to an issue in our CI system. This has been addressed and this has been republished as v0.7.7.
Added:
- Write conflict options are now configurable via flags
fga tuple deletenow accepts--on-missing ignorewith a choice oferrororignorefga tuple writenow accepts--on-duplicate ignorewith a choice oferrororignore- In both cases, default is
ignorewhen importing/deleting from a file, anderrorwhen writing/deleting a single tuple via flags
Fixed:
- Fix relative path resolution in
model testto resolve paths relative to test file location instead of CWD (#516) - fixes #349
What's Changed
- feat: use relative path in model_file in tests by @SoulPancake in #516
- chore(deps): bump golang.org/x/time from 0.13.0 to 0.14.0 in the dependencies group by @dependabot[bot] in #589
- chore(deps): bump the dependencies group with 2 updates by @dependabot[bot] in #590
- chore(deps): bump github.com/openfga/openfga from 1.10.2 to 1.10.3 in the dependencies group by @dependabot[bot] in #591
- feat: add support for configurable write conflict options by @rhamzeh in #595
- chore(deps): bump the dependencies group with 2 updates by @dependabot[bot] in #593
- release: v0.7.6 by @rhamzeh in #596
Full Changelog: v0.7.5...v0.7.6
v0.7.5
0.7.5 - 2025-10-09
Added:
- Add configurable
--page-sizeparameter tofga tuple readcommand with intelligent defaults (#571) - thanks @Siddhant-K-code- When
--max-pages=0(read all tuples), defaults to 100 for better efficiency - When
--max-pages!=0(limited pages), defaults to 50 to maintain backward compatibility - Custom page size can be specified with
--page-sizeflag
- When
Changed:
- Import now ignores duplicate tuples instead of failing the import. Note: this feature requires OpenFGA server v1.10.0 or later. You can still import to previous versions, but this setting will be ignored. Writes that are not imports (aka. writing a single tuple instead of from a file) will still fail on duplicates.
- Update underlying OpenFGA engine to v1.10.2
Fixed:
- Issue retrying 5xx errors. Fixed upstream (openfga/go-sdk#204)
What's Changed
- chore(docs): document transform command for authorization models by @aaguiarz in #566
- feat: Add configurable page-size parameter to
fga tuple readcommand by @Siddhant-K-code in #571 - chore(deps): bump the dependencies group with 2 updates by @dependabot[bot] in #565
- chore(deps): bump the dependencies group with 3 updates by @dependabot[bot] in #572
- chore(deps): bump the dependencies group with 4 updates by @dependabot[bot] in #573
- chore(deps): bump actions/setup-go from 5.5.0 to 6.0.0 in the dependencies group by @dependabot[bot] in #574
- chore(deps): bump the dependencies group with 5 updates by @dependabot[bot] in #576
- chore(deps): bump sigstore/cosign-installer from 3.9.2 to 3.10.0 in the dependencies group by @dependabot[bot] in #577
- chore(readme): Update Twitter badge to X and add OpenSSF Scorecard by @aaguiarz in #567
- chore(docs): fix checks for multiple users and objects by @aaguiarz in #575
- Update SECURITY-INSIGHTS by @aaguiarz in #578
- chore(deps): bump the dependencies group across 1 directory with 2 updates by @dependabot[bot] in #581
- chore(deps): bump github.com/openfga/openfga from 1.10.0 to 1.10.1 in the dependencies group by @dependabot[bot] in #580
- chore(deps): bump the dependencies group with 2 updates by @dependabot[bot] in #584
- chore(deps): bump the dependencies group with 3 updates by @dependabot[bot] in #585
- fix: handle glob patterns when expanded by the shell by @aaguiarz in #583
- feat: ignore duplicate writes on import by @rhamzeh in #586
- Revert "fix: handle glob patterns when expanded by the shell" by @rhamzeh in #588
- release: v0.7.5 by @rhamzeh in #587
Full Changelog: v0.7.4...v0.7.5
v0.7.4
Changelog
Changed:
- Update OpenFGA to v1.9.5
Fixed:
- Remove duplicate error messages in query commands (
list-objects,list-users,list-relations) by fixing error handling pattern (#559)
What's Changed
- chore(docs): fix escape in README.md by @aaguiarz in #560
- fix: duplicate error messages in query commands by @Siddhant-K-code in #559
- ci: update dependabot config by @evansims in #561
- chore(deps): bump github.com/openfga/openfga from 1.9.3 to 1.9.4 in the dependencies group by @dependabot[bot] in #562
- release: v0.7.4 by @rhamzeh in #563
Full Changelog: v0.7.3...v0.7.4
v0.7.3
Changelog
Added:
- Support running
fga model testwith multiple files using glob patterns (#423)
What's Changed
- chore(deps): bump sigstore/cosign-installer from 3.9.1 to 3.9.2 in the dependencies group by @dependabot[bot] in #545
- chore(deps): bump the dependencies group across 1 directory with 2 updates by @dependabot[bot] in #547
- chore(deps): bump the dependencies group with 2 updates by @dependabot[bot] in #550
- Add glob support for test command by @aaguiarz in #515
- Update SECURITY-INSIGHTS by @aaguiarz in #551
- Create scorecard.yml by @aaguiarz in #548
- chore(ci): remove semgrep workflow by @rhamzeh in #553
- chore(deps): bump the dependencies group with 3 updates by @dependabot[bot] in #555
- chore(deps): bump deps by @rhamzeh in #557
- release: v0.7.3 by @rhamzeh in #558
Full Changelog: v0.7.2...v0.7.3
v0.7.2
v0.7.1
Changelog
0.7.1 (2025-07-10)
Added:
- Added
jsonltuple import support (#530) - Added support for multiple tuple files in the store file (#506) - thanks @SoulPancake!
- Note: Support for this feature in the OpenFGA IDE plugins is not yet available
- Added support for grouping user/object in store tests (#513)
- Note: Support for this feature in the OpenFGA IDE plugins is not yet available
Changed:
- Adjusted defaults for
--max-tuples-per-write,--max-parallel-requests,--max-rps, and--rampup-period-in-secwhen--max-rpsis specified (#517).
Documentation:
- Improved documentation for the store file format (#518) - thanks @Siddhant-K-code!
v0.7.0
0.7.0 (2025-06-12)
Note
This release includes a change to the configuration file (.fga.yaml) lookup order to simplify multi-project usage.
The lookup is now in the following order:
- Current working directory (New)
- OS-specific user configuration directory (e.g.
~/.config) fgadirectory within the OS-specific user configuration directory (e.g.~/.config/fga)- OS-specific home directory (e.g.
~/)
Added:
- Include current working directory in the config file resolution (#504) - thanks @OsmanMElsayed
Fixed:
- Bump OpenFGA to v1.8.13 to resolve a security vulnerability GHSA-c72g-53hw-82q7
v0.6.6
Changelog
0.6.6 (2025-04-23)
Added:
- Support csv in fga tuple delete (#478) - thanks @bensooraj
- Allow to use
tuplesandtuple_filetogether in the store file (#369) - thanks @DanielBertocci - Add
--suppress-summaryflag tomodel testcommand (#407) - thanks @Siddhant-K-code
Changed:
- fix validate command to properly exit with non-zero status on errors (#485) - thanks @Siddhant-K-code