Skip to content

Releases: daangn/graplix

@graplix/engine@2.0.2

16 Feb 12:29
0231559

Choose a tag to compare

Patch Changes

  • 2e2775f: fix: relation resolver types

@graplix/codegen@2.1.2

16 Feb 13:09
4ff2bff

Choose a tag to compare

Patch Changes

  • cdb49e1: fix: indentation and using graplix template literal

@graplix/codegen@2.1.1

16 Feb 12:29
0231559

Choose a tag to compare

Patch Changes

  • 2e2775f: fix: relation resolver types

@graplix/codegen@2.1.0

16 Feb 08:53
bdd21e2

Choose a tag to compare

Minor Changes

  • 262c110: feat: npx @graplix/codegen

@graplix/language@2.0.1

15 Feb 16:11
d6df26b

Choose a tag to compare

Patch Changes

@graplix/engine@2.0.1

15 Feb 16:11
d6df26b

Choose a tag to compare

Patch Changes

  • bbbedd6: fix: update README.md
  • Updated dependencies [bbbedd6]
    • @graplix/language@2.0.1

graplix@1.0.0

29 Jun 06:09
84c20a8

Choose a tag to compare

Major Changes

  • d7151b4: ## Major Changes

    Monorepo Migration & Project Structure

    • Migrated to a monorepo structure using Yarn workspaces. The codebase is now split into packages/graplix (core library) and playground (web-based DSL playground).
    • Updated root and package-level package.json files, scripts, and configuration files for workspace compatibility.
    • Moved all core source files from src/ to packages/graplix/src/.

    DSL Parser & Playground

    • Implemented a parser for the OpenFGA-inspired DSL, converting schemas into Graplix's internal format.
    • Added a web-based playground for experimenting with the DSL: supports code editing, JSON output, and Mermaid diagram visualization.
    • Enhanced user experience with theme switching, layout persistence, and clipboard features.

    BREAKING CHANGE: Resolver & Identify Refactor

    • The identify function is now part of each entity’s resolver definition instead of a global input property.
    • Resolver structure now uses a relations object for clarity and extensibility.

    Validation & Error Handling Improvements

    • Added validation for parsed DSL models. Unsupported features (AND, BUT NOT, type restrictions, wildcards, conditions, mixed ‘or’ usage) now throw explicit errors.
    • Improved error reporting with MultipleUnimplementedError and detailed test coverage for error scenarios.

    Other Improvements

    • Cleaned up imports/exports, and removed obsolete dependencies.
    • Updated project configuration (yarn.lock, tsconfig, etc.) for consistency and maintainability.

    [!IMPORTANT]
    This release introduces breaking changes and a major project structure overhaul.

v0.1.2

09 Dec 02:32
3089378

Choose a tag to compare

Patch Changes

  • e566043: Change bundler to tsdown

v0.1.1

22 Nov 05:12

Choose a tag to compare

Patch Changes