Skip to content

Releases: openfga/language

pkg/js/v0.2.1

11 Feb 18:15
pkg/js/v0.2.1
47b8064

Choose a tag to compare

v0.2.1 (2026-02-11)

Added:

  • Add helper methods for validating schema versions & checking if a particular model is modular (#534)
    • Add SchemaVersion enum to represent valid schema versions
    • Add isSchemaVersionSupported, checkSchemaVersionSupportsModules, and getSchemaVersionFromString utility methods
    • Add isModelModular utility method to check if a model is modular based on its schema version and definition

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

22 Jul 23:18
pkg/js/v0.2.0
653bf15

Choose a tag to compare

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:

  • Throw error if a non-module file is passed to transformModuleFilesToModel (#386) - thanks @fsedano

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]

  • friendlySyntaxToApiSyntax is now transformer.transformDSLToJSON
  • apiSyntaxToFriendlySyntax is now transformer.transformJSONToDSL
  • checkDsl is now validator.validateDSL
  • All non-transformer functions from v0.1.x have been removed
  • Parser is now built on top of antlr4 instead of nearly

pkj/js/v0.2.0-beta.21

22 Jul 23:15
pkg/js/v0.2.0-beta.21
8118aec

Choose a tag to compare

pkj/js/v0.2.0-beta.21 Pre-release
Pre-release

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

22 Jul 23:24
pkg/go/v0.2.0-beta.2
8118aec

Choose a tag to compare

pkj/go/v0.2.0-beta.2 Pre-release
Pre-release

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

06 Sep 14:12
pkg/js/v0.2.0-beta.20
7f8a568

Choose a tag to compare

pkg/js/v0.2.0-beta.20 Pre-release
Pre-release

v0.2.0-beta.20 (2024-09-06)

Added:

  • Add getModuleForObjectTypeRelation utility method (#336)
  • Add isRelationAssignable utility method (#336)

Fixed:

  • correct reported location of errors in some cases (#127)
  • tupleuserset-not-direct is now prioritized above no-entrypoint error (#314)
  • condition name is now correctly restrict to 50 characters (#320)

pkg/java/v0.2.0-beta.2

06 Sep 14:14
pkg/java/v0.2.0-beta.2
7f8a568

Choose a tag to compare

Pre-release

v0.2.0-beta.2 (2024-09-06)

Added:

  • Add getModuleForObjectTypeRelation utility method (#336)
  • Add isRelationAssignable utility method (#336)
  • Add utility validators for tuple fields and condition names (#294)

Fixed:

  • tupleuserset-not-direct is now prioritized above no-entrypoint error (#314)
  • correct based index for reported errors that was causing the wrong location to be highlighted (#331)

pkg/go/v0.2.0-beta.1

06 Sep 14:13
pkg/go/v0.2.0-beta.1
7f8a568

Choose a tag to compare

pkg/go/v0.2.0-beta.1 Pre-release
Pre-release

v0.2.0-beta.1 (2024-09-06)

Added:

  • Add GetModuleForObjectTypeRelation utility method (#336)
  • Add IsRelationAssignable utility 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

25 Jul 21:42
pkg/js/v0.2.0-beta.19
8ed98f7

Choose a tag to compare

pkg/js/v0.2.0-beta.19 Pre-release
Pre-release

pkg/js/v0.2.0-beta.19 (2024-07-25)

Added:

  • migrated validation code for store files (#286)
  • implemented getModulesFromJSON: function to get modules from json (#287)

pkg/java/v0.2.0-beta.1

14 Jun 00:11
pkg/java/v0.2.0-beta.1
12c0b66

Choose a tag to compare

Pre-release

v0.2.0-beta.1 (2024-06-13)

  • Initial release

pkg/js/v0.2.0-beta.18

12 Jun 20:38
pkg/js/v0.2.0-beta.18
19f2c87

Choose a tag to compare

pkg/js/v0.2.0-beta.18 Pre-release
Pre-release

v0.2.0-beta.18 (2024-06-10)

Fixed:

  • Incorrectly assigned error for invalid-relation-type (#260)

Added:

  • Implement fga.mod transformer (#243)