Releases: openfga/language
Releases · openfga/language
pkg/js/v0.2.1
v0.2.1 (2026-02-11)
Added:
- Add helper methods for validating schema versions & checking if a particular model is modular (#534)
- Add
SchemaVersionenum to represent valid schema versions - Add
isSchemaVersionSupported,checkSchemaVersionSupportsModules, andgetSchemaVersionFromStringutility methods - Add
isModelModularutility method to check if a model is modular based on its schema version and definition
- Add
Changed:
⚠️ [BREAKING] Drop support for Node.js v16 & 18. We recommend updating to a node-runtime that is supported upstream - currently 20 (maintenance), 22 (maintenance), 24 (LTS) and 25 (current).
The minimum supported version of Node.js is now v20.19.0. This is in line with our stated supported environments.
Full Changelog: pkg/js/v0.2.0...pkg/js/v0.2.1
pkg/js/v0.2.0
v0.2.0 (2025-07-22)
Changes since v0.2.0-beta.22
Added:
- Allow
/and.in type and relation names when parsing (#254) - thanks @bubianchi-criteo
(Note: #437 is the follow-up issue to this change to account for this when validating a type)
Fixed:
Changes since v0.1.6
Added:
- Support for Conditions when transforming from DSL to JSON.
- Support for mixing operators in the same relation, e.g.
(a from b or (c and d)). - Support for Modular Models.
- Better support for syntactic and semantic errors when validating models.
Changed:
[BREAKING]
pkj/js/v0.2.0-beta.21
v0.2.0-beta.21 (2025-09-09)
- Updated generated antlr code to fix issue when parsing modules (#339)
pkj/go/v0.2.0-beta.2
v0.2.0-beta.2 (2024-09-09)
- Updated generated antlr code to fix issue when parsing modules (#339)
pkg/js/v0.2.0-beta.20
v0.2.0-beta.20 (2024-09-06)
Added:
- Add
getModuleForObjectTypeRelationutility method (#336) - Add
isRelationAssignableutility method (#336)
Fixed:
pkg/java/v0.2.0-beta.2
v0.2.0-beta.2 (2024-09-06)
Added:
- Add
getModuleForObjectTypeRelationutility method (#336) - Add
isRelationAssignableutility method (#336) - Add utility validators for tuple fields and condition names (#294)
Fixed:
pkg/go/v0.2.0-beta.1
v0.2.0-beta.1 (2024-09-06)
Added:
- Add
GetModuleForObjectTypeRelationutility method (#336) - Add
IsRelationAssignableutility method (#336) - Add utility validators for tuple fields and condition names (#294)
- Add an initial implementation of a model graph (#307,#308,#309,#310,#316,#317,#321,#322,#330)
Note: this version does not include the validation logic that the JS and Java ports have. See issue: #99
pkg/js/v0.2.0-beta.19
pkg/js/v0.2.0-beta.19 (2024-07-25)
Added:
pkg/java/v0.2.0-beta.1
v0.2.0-beta.1 (2024-06-13)
- Initial release
pkg/js/v0.2.0-beta.18
v0.2.0-beta.18 (2024-06-10)
Fixed:
- Incorrectly assigned error for invalid-relation-type (#260)
Added:
- Implement fga.mod transformer (#243)