0.2.0-beta.9 (2024-04-12)
- fix: correct syntax highlighting for identifiers with dashes and underscores
0.2.0-beta.8 (2024-04-12)
- feat: support modular models for prism
- fix: handle case when an error other than language error is thrown in validateDSL
0.2.0-beta.7 (2024-04-09)
- feat: add modular model support for monaco
0.2.0-beta.6 (2024-01-29)
- fix(monaco/validate): handle metadata being undefined
0.2.0-beta.5 (2024-01-23)
- feat: correctly tokenize comments (#197)
- chore: update dependencies
0.2.0-beta.4 (2024-01-03)
- chore: update dependencies
0.2.0-beta.3 (2023-11-20)
- feat: add conditions tokens for prism
- fix: monaco grammar for conditions
- fix: monaco grammar for type restrictions
0.2.0-beta.2 (2023-11-03)
- fix: bump dependencies
- brings in improvements to monaco alerts and support for conditions
0.2.0-beta.1 (2023-10-09)
Removed: (BREAKING)
- Syntax Transformer has been moved to Language
- Package has been renamed to
@openfga/frontend-utils
: this is meant for use by the VS Code extension, the FGA Playground, the docs and UI frameworks building OpenFGA modeling tooling.
Added:
- Uses the new language based syntax transformer to power modeling and validation
0.1.6 (2023-09-21)
- fix: exporting language
0.1.5 (2023-09-11)
- fix: exporting language
0.1.4 (2023-09-11)
- feat: export the language
- chore(deps): upgrade dependencies
0.1.3 (2023-06-26)
- feat(validation): Allow self-referencing type restrictions
- fix(validation): Prevent invalid model that may introduce infinite loop
- chore(deps): upgrade dependencies
0.1.2 (2023-04-21)
- chore(ci): update permissions and publish provenance data
- chore(deps): upgrade dependencies
0.1.1 (2023-04-03)
- fix(validation): raise error if schema is not specified in DSL (openfga#127)
0.1.0 (2023-03-31)
- feat!: default to schema v1.1 (openfga#122)
- chore: upgrade dependencies (openfga#121)
0.0.14 (2023-02-16)
- fix(validation): allow ttu relation as long as one of the child has such relation. fixes openfga#113
- fix(syntax highlighting): regex lookbehind error on Safari. fixes openfga#116
- chore: upgrade dependencies
0.0.13 (2023-01-25)
- fix: add yargs to list of dependencies. fixes openfga#111
0.0.12 (2023-01-23)
- feat: add a simple cli to transform models, run it by:
npx @openfga/syntax-transformer transform --from=json --inputFile=test.json npx @openfga/syntax-transformer transform --from=dsl --inputFile=test.openfga
- chore(deps): upgrade dependencies
0.0.11 (2023-01-10)
Please note: All additional undocumented functionality should be considered unstable and may be removed at any moment.
- feat: export graph for use in the FGA Playground
- feat: export sample authorization models
- chore(deps): upgrade dependencies
0.0.10 (2022-12-15)
- chore(deps): upgrade
@openfga/sdk
tov0.2.0
and update other deps - chore: revert
package-lock.json
to version2
because it was breaking snyk
0.0.9 (2022-12-02)
- feat(editor-support): expose auto-completion for monaco (openfga#90)
- feat(editor-support): expose syntax highlighting and tokenization for monaco and prism (openfga#90)
- chore(deps): bump dev dependencies
0.0.8 (2022-11-16)
- feat: model 1.1 removing 'as self' (openfga#94)
- feat: model 1.1 allowing wildcard restriction in allowable types (openfga#95)
- chore: update indent-dsl to use keyword constant (openfga#91)
0.0.7 (2022-11-02)
- feat: add indentDSL to improve checkDSL parsing reliability (#68)
- feat: validation rule for type and relation name (#78)
- feat: initial support schema 1.1 (#67, #73, #75)
- fix(parse-dsl): fix issue with infinite loops triggered when parsing some models #76
- chore(deps): bump dependencies
0.0.6 (2022-10-11)
- fix(check-dsl): allow same relation in computedUserset of from clause (openfga#70)
- chore(deps): bump dependencies
0.0.5 (2022-09-29)
- fix(grammar): compile beforehand (openfga#52)
- fix(grammar): overhaul response returned by parser (openfga#52)
- fix(parse-dsl): support types with no relations in the dsl (openfga#52)
- fix(check-dsl): support types with no relations in the dsl (openfga#57)
- chore(deps): bump dependencies
0.0.4 (2022-08-16)
- fix(check-dsl): incorrect parsing of relations starting with
as
- chore(deps): bump dependencies
0.0.3 (2022-06-29)
- feat(reporters): add some reporters that can be used to validate the model, and show errors found
0.0.2 (2022-06-15)
- chore(ci): fix publishing to npm
0.0.1 (2022-06-15)
Internal Release