Releases: openfga/cli
Releases · openfga/cli
v0.1.2
Changelog
0.1.2 (2023-10-12)
Changed:
-
tuple write/delete cmd accepts file; deprecate tuple import (#165) (@gabrielbussolo)
-
read now returns all pages when
--max-pages
is set to0
(#174) -
read accepts a
--simple-output
flag to output the tuples directly (#168) (@gabrielbussolo)
now you can run the following to export then import tuples:fga tuple read --simple-output --max-pages 0 > tuples.json fga tuple import --file tuples.json
v0.1.1
v0.1.0
Changelog
Changed:
- The config
server-url
has been changed toapi-url
to be consistent with the upcoming SDK changes
server-url
is still accepted but is considered deprecated and may be removed in future releases.
If present,api-url
will take precedence overserver-url
.
Fixed:
- The core language is now able to better handle extraneous spaces, and panics should be heavily reduced
v0.1.0-beta6
Changelog
- 0c82e92 feat(model): run tests against a built-in OpenFGA engine
- aedcff0 feat(model): run tests against a built-in OpenFGA engine (#142)
- 463c8ac fix(model): in test validate before passing the requests to the API
- f5be25a fix(model): test no longer allows overriding the model per test
- 1f72b17 fix(model): test now only targets remote if model not provided
- a2885e3 fix(model): test now validates that the test yaml file has no extraneous fields
- f2e3968 fix(model): use underscores instead of dashes as a separator for the store file
v0.1.0-beta5
0.1.0-beta5 (2023-08-28)
Added:
- Add
model test
(#131) - Re-add
model validate
(#117)
Fixes:
- Upgrade dependencies, fixes a few issues in parsing
v0.1.0-beta4
0.1.0-beta4 (2023-08-09)
Fixed:
v0.1.0-beta3
0.1.0-beta3 (2023-08-01)
Breaking:
- In model commands, default input/output is now the FGA DSL format (8dfc697)
- Response for Store creation has been updated (8dfc697)
fga model validate
has been temporarily removed (fb25b96)fga model list
now shows just model id and created date by default (fb25b96)
Changed:
- Add model transform command (8dfc697)
- Allow initializing with a model during store creation (8dfc697)
- In all model commands, accept an FGA DSL output/input (8dfc697)
Fixed:
v0.1.0-beta2
Changelog
Changes since beta1
- Fix brew build
- Add command completions
- Add package builds for Linux
- Change brew and archive file names to fga
- Require confirmation on Store deletion
v0.1.0-beta1
Changelog
Initial OpenFGA CLI release
- Support for OpenFGA API
- Create, read, list and delete stores
- Create, read, list and validate authorization models
- Write, delete, read and import tuples
- Read tuple changes
- Run authorization checks
- List objects a user has access to
- List relations a user has on an object
- Use Expand to understand why access was granted