Tags: openfga/cli
Tags
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.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 > [!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.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`
PreviousNext