Skip to content

Releases: openfga/cli

v0.7.8

05 Nov 15:39
v0.7.8
57ff47b

Choose a tag to compare

0.7.8 - 2025-11-05

Fixed:

  • Fix path resolution in fga model test to 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

05 Nov 02:16
v0.7.7
d5566a9

Choose a tag to compare

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 delete now accepts --on-missing ignore with a choice of error or ignore
    • fga tuple write now accepts --on-duplicate ignore with a choice of error or ignore
    • In both cases, default is ignore when importing/deleting from a file, and error when writing/deleting a single tuple via flags

Changed:

  • Update bundled OpenFGA to v1.10.4

Fixed:

  • Fix relative path resolution in model test to 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

05 Nov 02:19
v0.7.6
01aa784

Choose a tag to compare

v0.7.6 Pre-release
Pre-release

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 delete now accepts --on-missing ignore with a choice of error or ignore
    • fga tuple write now accepts --on-duplicate ignore with a choice of error or ignore
    • In both cases, default is ignore when importing/deleting from a file, and error when writing/deleting a single tuple via flags

Fixed:

  • Fix relative path resolution in model test to 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

09 Oct 14:10
v0.7.5
d92e5f5

Choose a tag to compare

0.7.5 - 2025-10-09

Added:

  • Add configurable --page-size parameter to fga tuple read command 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-size flag

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:

What's Changed

  • chore(docs): document transform command for authorization models by @aaguiarz in #566
  • feat: Add configurable page-size parameter to fga tuple read command 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

15 Aug 21:02
v0.7.4
6320eee

Choose a tag to compare

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

Full Changelog: v0.7.3...v0.7.4

v0.7.3

12 Aug 18:22
v0.7.3
a6f1959

Choose a tag to compare

Changelog

Added:

  • Support running fga model test with multiple files using glob patterns (#423)

What's Changed

Full Changelog: v0.7.2...v0.7.3

v0.7.2

11 Jul 14:48
v0.7.2
e1b9c49

Choose a tag to compare

Changelog

0.7.2 (2025-07-11)

Fixed:

  • Store tuple files being required (#539)

v0.7.1

10 Jul 15:13
v0.7.1
98d9b25

Choose a tag to compare

Changelog

0.7.1 (2025-07-10)

Added:

  • Added jsonl tuple 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-sec when --max-rps is specified (#517).

Documentation:

v0.7.0

12 Jun 10:39
v0.7.0
bb88057

Choose a tag to compare

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:

Added:

  • Include current working directory in the config file resolution (#504) - thanks @OsmanMElsayed

Fixed:

v0.6.6

23 Apr 15:39
v0.6.6
5cb2d23

Choose a tag to compare

Changelog

0.6.6 (2025-04-23)

Added:

Changed:

  • fix validate command to properly exit with non-zero status on errors (#485) - thanks @Siddhant-K-code