0.6.1 (2024-09-09)
Fixed:
- Fixed issue where
fga store import
,fga tuple write
andfga tuple delete
could not be ran due to an issue with the--max-tuples-per-write
and--max-parallel-requests
options (#389) - Fixed an issue where List Users failed test output did not include the returned response (#391)
0.6.0 (2024-09-08)
Added:
- Support usage of consistency parameter (#381)
0.5.3 (2024-08-15)
Fixed:
- Bump OpenFGA to v1.5.9 to fix an issue in the
check
API CVE-2024-42473
0.5.2 (2024-08-08)
Fixed:
- Fixed issue where an error in getting the store in
fga store import
fails the import (#365)
0.5.1 (2024-06-25)
Fixed:
- Fixed issue where
fga store import
output could no longer be piped tojq
(#355) - thanks @Siddhant-K-code
0.5.0 (2024-06-18)
Added:
fga store import
now shows a progress bar when writing tuples to show (#348) - thanks @Siddhant-K-code
Changed:
excluded_users
has been removed from thefga query list-users
output and the testing for ListUsers (#347)
BREAKING CHANGE:
This version removes the excluded_users
property from the ``fga query list-users` output and the ListUsers testing,
for more details see the associated API change.
0.4.1 (2024-06-05)
Added:
- Support asserting the
excluded_users
inlist_users
tests (#337)
Fixed:
fga store import
now outputs store and model details when writing to an existing store (#336)
0.4.0 (2024-05-07)
Added:
- Support querying the list users API with
fga query list-users
(#314) - Support for running list users tests via
fga model test
(#315)
Changed:
fga store import
now uses the filename if no name is provided (#318) - thanks @NeerajNagure
0.3.1 (2024-04-29)
Added:
fga store import
now outputs the store and model details (#299) - thanks @NeerajNagurefga store export
to support exporting a store (#306)- Support specifying output format using
--output-format
forfga model transform
(#308)
Changed:
fga tuple write
returns simpler error messages (#303) - thanks @shruti2522
0.3.0 (2024-03-28)
Added:
- Support for modular models (#262)
0.3.0-beta.1 (2024-03-13)
Added:
- Support for modular models (#262)
0.2.7 (2024-03-13)
Added:
- Support for exporting tuples as CSV (#250) - thanks @edwin-Marrima
Changed:
- Simplify the output of
model test
(#265) - go > v1.21.8 is now required (#272)
Deprecated:
- The
--simple-output
flag intuple read
has been deprecated in favour of--output-format=simple-json
(#250) - thanks @edwin-Marrima
0.2.6 (2024-02-27)
Fixed:
- allow transforming from JSON when
this
is not in first place (openfga/language#166)
0.2.5 (2024-01-23)
Added:
- Add support for oauth2 credentials with scopes instead of audience (#232) - thanks @le-yams
fga tuple import
now supports any columns order and optional fields are no longer required (#230) - thanks @le-yams- Support for mixed operators in the model.
define viewer: ([user] but not blocked) or owner or viewer from parent
is now supported! See openfga/language#107 for more details on supported and unsupported functionality
Fixed:
- Fixed
fga model write
not writing models with conditions (#236) - Re-added support for condition parameters as identifiers and relation names (e.g.
list
andmap
)
0.2.4 (2024-01-16)
Fixed:
- Fixed support for reading json models (#228)
0.2.3 (2024-01-11)
Changed:
- add support for using csv files to import tuples (#222)
0.2.2 (2024-01-08)
Changed:
- add
fga store import
to import store data (#215) - allow specifying
tuple_file
to reference tuples in the FGA store format (#212) - support continuation token in
fga tuple changes
method and expose it in the output (#218) - add support for specifying condition/context in queries and in write (#219)
- allow more comments in the model (#221)
Fixed:
- fixed issue writing models with conditions
0.2.1 (2023-12-14)
Changed:
- dependency updates
- now using OpenFGA
v1.4.0
with Conditions enabled by default - now using Go SDK
v0.3.0
with support for targeting servers hosted under a custom path e.g.https://api.fga.example:8080/fga-service1
- now using OpenFGA
0.2.0 (2023-11-03)
Changed:
- add support for models with conditions
0.1.2 (2023-10-12)
Changed:
-
tuple write/delete cmd accepts file; deprecate tuple import (openfga#165) (@gabrielbussolo)
-
read now returns all pages when
--max-pages
is set to0
(openfga#174) -
read accepts a
--simple-output
flag to output the tuples directly (openfga#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
0.1.1 (2023-09-22)
Fixed:
- Running
fga model test
now correctly exists with error code one if any test fails (openfga#157)
0.1.0 (2023-09-18)
Changed:
- The config
server-url
has been changed toapi-url
to be consistent with the upcoming SDK changesserver-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
0.1.0-beta6 (2023-09-06)
Changed:
model test
now runs test in a built in FGA instance (openfga#142)
BREAKING: The structure of the test file has changed, it is now list_objects
instead of list-objects
0.1.0-beta5 (2023-08-28)
Added:
- Add
model test
(openfga#131) - Re-add
model validate
(openfga#117)
Fixes:
- Upgrade dependencies, fixes a few issues in parsing
0.1.0-beta4 (2023-08-09)
Fixed:
- Accept model ID for tuple import & write (c53da0589302fda17146c84bb29917ac4b72de8d)
- Empty model ID now considered not set (fe804e6cd936089b6919814d781effe995504627)
0.1.0-beta3 (2023-08-01)
Breaking:
- In model commands, default input/output is now the FGA DSL format (8dfc6976a16828e249da5a1bdb506e6627c0ced0)
- Response for Store creation has been updated (8dfc6976a16828e249da5a1bdb506e6627c0ced0)
fga model validate
has been temporarily removed (fb25b9634f707f1ea2a00f1c6051272e707a6e3c)fga model list
now shows just model id and created date by default (fb25b9634f707f1ea2a00f1c6051272e707a6e3c)
Changed:
- Add model transform command (8dfc6976a16828e249da5a1bdb506e6627c0ced0)
- Allow initializing with a model during store creation (8dfc6976a16828e249da5a1bdb506e6627c0ced0)
- In all model commands, accept an FGA DSL output/input (8dfc6976a16828e249da5a1bdb506e6627c0ced0)
Fixed:
- Updating build information on release (55a3b61828c82fa756d24ac151c5937892d39fd9)
- Default max tuples per write in import is now
1
so that none of the writes are in transaction mode (024825213340973ba22f17acd4bddcf3d6baefd9)
0.1.0-beta2 (2023-07-12)
- Fix brew build
- Add command completions
- Add package builds for Linux
- Change brew and archive file names to fga
0.1.0-beta1 (2023-07-12)
- Fix Release Pipeline
0.1.0-beta (2023-07-11)
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