Skip to content

Releases: openfga/cli

v0.1.2

12 Oct 12:57
v0.1.2
6e34509
Compare
Choose a tag to compare

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 to 0 (#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

22 Sep 17:48
v0.1.1
64a5818
Compare
Choose a tag to compare

Changelog

0.1.1 (2023-09-22)

Fixed:

  • Running fga model test now correctly exists with error code one if any test fails (#157)

v0.1.0

19 Sep 19:15
v0.1.0
185f462
Compare
Choose a tag to compare

Changelog

Changed:

  • The config server-url has been changed to api-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 over server-url.

Fixed:

  • The core language is now able to better handle extraneous spaces, and panics should be heavily reduced

v0.1.0-beta6

07 Sep 20:11
v0.1.0-beta6
ecab3c8
Compare
Choose a tag to compare

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

28 Aug 13:30
v0.1.0-beta5
102749a
Compare
Choose a tag to compare

0.1.0-beta5 (2023-08-28)

Added:

Fixes:

  • Upgrade dependencies, fixes a few issues in parsing

v0.1.0-beta4

10 Aug 12:49
v0.1.0-beta4
82b96c4
Compare
Choose a tag to compare
v0.1.0-beta4 Pre-release
Pre-release

0.1.0-beta4 (2023-08-09)

Fixed:

  • Accept model ID for tuple import & write (c53da05)
  • Empty model ID now considered not set (fe804e6)

v0.1.0-beta3

01 Aug 18:18
v0.1.0-beta3
3cef3a7
Compare
Choose a tag to compare
v0.1.0-beta3 Pre-release
Pre-release

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:

  • Updating build information on release (55a3b61)
  • Default max tuples per write in import is now 1 so that none of the writes are in transaction mode (0248252)

v0.1.0-beta2

12 Jul 19:29
v0.1.0-beta2
f67046f
Compare
Choose a tag to compare
v0.1.0-beta2 Pre-release
Pre-release

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

12 Jul 01:50
v0.1.0-beta1
1eb2aa5
Compare
Choose a tag to compare
v0.1.0-beta1 Pre-release
Pre-release

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