Skip to content

pkg/js/v0.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 22 Jul 23:18
· 28 commits to main since this release
pkg/js/v0.2.0
653bf15

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