Skip to content

Tags: openfga/cli

Tags

v0.7.5

Toggle v0.7.5's commit message

Verified

This tag was signed with the committer’s verified signature.
rhamzeh Raghd Hamzeh
v0.7.5

Added:
- Add configurable `--page-size` parameter to `fga tuple read` command with intelligent defaults ([#571](#571))
  * 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](https://github.com/openfga/openfga/releases/tag/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](https://github.com/openfga/openfga/releases/tag/v1.10.2)

Fixed:
- Issue retrying 5xx errors. Fixed upstream (openfga/go-sdk#204)

v0.7.4

Toggle v0.7.4's commit message

Verified

This tag was signed with the committer’s verified signature.
rhamzeh Raghd Hamzeh
v0.7.4

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](#559))

v0.7.3

Toggle v0.7.3's commit message

Verified

This tag was signed with the committer’s verified signature.
rhamzeh Raghd Hamzeh
v0.7.3

Added:
- Support running `fga model test` with multiple files using glob patterns (#423)

v0.7.2

Toggle v0.7.2's commit message

Verified

This tag was signed with the committer’s verified signature.
rhamzeh Raghd Hamzeh
v0.7.2

Fixed:
- Store tuple files being required

v0.7.1

Toggle v0.7.1's commit message

Verified

This tag was signed with the committer’s verified signature.
rhamzeh Raghd Hamzeh
v0.7.1

Added:
- Added `jsonl` tuple import support (#530)
- Added support for multiple tuple files in the store file (#506)
  - 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:
- Improved documentation for the store file format (#518)

v0.7.0

Toggle v0.7.0's commit message

Verified

This tag was signed with the committer’s verified signature.
ewanharris Ewan Harris
v0.7.0

> [!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](https://pkg.go.dev/os#UserConfigDir) (e.g. `~/.config`)
> * `fga` directory within the OS-specific [user configuration directory](https://pkg.go.dev/os#UserConfigDir) (e.g. `~/.config/fga`)
> * OS-specific [home directory](https://pkg.go.dev/os#UserHomeDir) (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](GHSA-c72g-53hw-82q7)

v0.6.6

Toggle v0.6.6's commit message

Verified

This tag was signed with the committer’s verified signature.
rhamzeh Raghd Hamzeh
v0.6.6

Added:
- Allow to use `tuples` and `tuple_file` together in the store file
- Add `--suppress-summary` flag to `model test` command

Changed:
- fix validate command to properly exit with non-zero status on errors

v0.6.5

Toggle v0.6.5's commit message

Verified

This tag was signed with the committer’s verified signature.
rhamzeh Raghd Hamzeh
v0.6.5

Added:
- Support for RPS ramp up for tuple writes, which can be helpful when importing a large amount of tuples
  On `fga tuple write` we now support the following flags: `--max-rps` and `--rampup-period-in-sec`. If one is set, both are required.
  e.g. `--max-rps 10 --rampup-period-in-sec 10`
  If these flags are set the CLI will start ramping up requests from 1RPS to the configured max RPS over the configured period

Changed:
- The deprecated `fga tuple import` has now been aliased to `fga tuple write`

v0.6.4

Toggle v0.6.4's commit message

Verified

This tag was signed with the committer’s verified signature.
ewanharris Ewan Harris
v0.6.4

Added:
- Support for start-time parameter in changes command (#443)
- Support importing assertions during `fga store import` (#446) - Thanks @sujitha-av

v0.6.3

Toggle v0.6.3's commit message

Verified

This tag was signed with the committer’s verified signature.
ewanharris Ewan Harris
v0.6.3

Added:
- Introduced `--hide-imported-tuples` flag to `fga tuple write` to suppress logging of successfully imported tuples (#437) - thanks @Siddhant-K-code