Releases: daangn/graplix
Releases · daangn/graplix
@graplix/engine@2.0.2
Patch Changes
- 2e2775f: fix: relation resolver types
@graplix/codegen@2.1.2
Patch Changes
- cdb49e1: fix: indentation and using graplix template literal
@graplix/codegen@2.1.1
Patch Changes
- 2e2775f: fix: relation resolver types
@graplix/codegen@2.1.0
Minor Changes
- 262c110: feat: npx @graplix/codegen
@graplix/language@2.0.1
Patch Changes
- bbbedd6: fix: update README.md
@graplix/engine@2.0.1
graplix@1.0.0
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) andplayground(web-based DSL playground). - Updated root and package-level
package.jsonfiles, scripts, and configuration files for workspace compatibility. - Moved all core source files from
src/topackages/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
identifyfunction is now part of each entity’s resolver definition instead of a global input property. - Resolver structure now uses a
relationsobject 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
MultipleUnimplementedErrorand 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. - Migrated to a monorepo structure using Yarn workspaces. The codebase is now split into