# Changelog

## [0.13.0](https://github.com/GodSpeedAI/DomainForge/compare/domainforge-core-v0.12.0...domainforge-core-v0.13.0) (2026-06-20)


### ⚠ BREAKING CHANGES

* **repo:** packages renamed sea-core -> domainforge-core (crates.io), sea-dsl -> domainforge (PyPI), @godspeedai/sea -> @godspeedai/domainforge (npm); the `sea` CLI binary is now `domainforge`. See the per-package MIGRATING.md files.

### Features

* **repo:** document sea to domainforge migration ([#101](https://github.com/GodSpeedAI/DomainForge/issues/101)) ([f5182b6](https://github.com/GodSpeedAI/DomainForge/commit/f5182b6a014f7ecd7ae429de76eb14abe01d9ed6))

## [0.12.0](https://github.com/GodSpeedAI/DomainForge/compare/sea-core-v0.11.0...sea-core-v0.12.0) (2026-06-18)


### Features

* Add `schemars` dependency for JSON schema generation and introduce namespace/version directives in example. ([04a2b8a](https://github.com/GodSpeedAI/DomainForge/commit/04a2b8adfadeb5c4679d2a83c924fb14579accdb))
* Add `schemars` dependency for JSON schema generation and introduce namespace/version directives in example. ([fe6d049](https://github.com/GodSpeedAI/DomainForge/commit/fe6d049e839325f8ede250721a50921dc50cd507))
* add AST JSON output support ([33a69d6](https://github.com/GodSpeedAI/DomainForge/commit/33a69d6c7084e3838ef79249b24dce20a10c1f14))
* add AST JSON output support ([b63b189](https://github.com/GodSpeedAI/DomainForge/commit/b63b1896b91e9e2806cae915e98fb818261fd9f6))
* Add AST pretty printer, linter, and quantity primitive with rendering, refactor type inference, and introduce new specs and tests. ([6a0bd3b](https://github.com/GodSpeedAI/DomainForge/commit/6a0bd3b0e093204f11e4e5ad0ba78f1f4a8b7d1d))
* Add AST schema types for JSON Schema generation, documentation, and the generated schema file. ([ca66cd8](https://github.com/GodSpeedAI/DomainForge/commit/ca66cd8aa38bb86370115ad6a6ed5568562104ba))
* add buf.build integration (Phase 4) ([95ff0d5](https://github.com/GodSpeedAI/DomainForge/commit/95ff0d590359173e3e6361c027d735f9ad4d0117))
* Add CI, dependency review, and release workflows; include deny.toml for advisory management ([de1f420](https://github.com/GodSpeedAI/DomainForge/commit/de1f42024cff53149343879622a7a8d6cda071d5))
* add diagnostic formatters (JSON, Human, LSP) ([5ea5a75](https://github.com/GodSpeedAI/DomainForge/commit/5ea5a75b7559aa7d7c60cb36024658c76021d091))
* add error codes, source ranges, and fuzzy matching ([f2d3c5f](https://github.com/GodSpeedAI/DomainForge/commit/f2d3c5fe7135839a78627b8d7db4274a5a70cf4d))
* add formatter bindings for Python, TypeScript, WASM (Phase 5) ([baf811e](https://github.com/GodSpeedAI/DomainForge/commit/baf811ea347b9da70df6ccac1b0bfb2db1ecaeaa))
* add gRPC service generation from Flow patterns (Phase 2) ([0ebb0a6](https://github.com/GodSpeedAI/DomainForge/commit/0ebb0a6629d69f9f883c971e4fedd1af448fdd8c))
* Add line and column information to `ParseError` variants, their constructors, and display messages. ([f21a69a](https://github.com/GodSpeedAI/DomainForge/commit/f21a69a0d5937eb76c0c29f6d8bac10e7f98b63f))
* Add line and column information to parsed AST nodes and several parser error types. ([a6697d0](https://github.com/GodSpeedAI/DomainForge/commit/a6697d0c99b99aa7b43562dfd39292de5955bb87))
* add multi-file protobuf projection support (Phase 5) ([9770107](https://github.com/GodSpeedAI/DomainForge/commit/9770107434baef1000f70195b1e85273327f0312))
* add namespace registry and registry-driven CLI ([392b607](https://github.com/GodSpeedAI/DomainForge/commit/392b60769b061316a21c974fbc98766d24ca03c1))
* add Protobuf projection support ([7f051ea](https://github.com/GodSpeedAI/DomainForge/commit/7f051eab4a5aaf565ced88b6e9ae8c705105ab18))
* add Python-native error handling ([294ef2f](https://github.com/GodSpeedAI/DomainForge/commit/294ef2fdee4206fd8d96ff6005a5b2319da939ad))
* add schema compatibility enforcement for Protobuf projection ([ee86efd](https://github.com/GodSpeedAI/DomainForge/commit/ee86efd573e29bd91888a345f1d5f75563fac6f3))
* Add SHACL shapes for SEA Graph and implement validation command in sea binary ([095f9bb](https://github.com/GodSpeedAI/DomainForge/commit/095f9bb37e031f2297ee0fbbc040cf9dfa7b6477))
* Add support for `[@replaces](https://github.com/replaces)` and `[@changes](https://github.com/changes)` annotations to Resource and Flow declarations. ([313972c](https://github.com/GodSpeedAI/DomainForge/commit/313972cbf30763fc1c1a8cbb7c85594390527b4c))
* Add support for concept changes with versioning and migration annotations in DSL ([fca2d01](https://github.com/GodSpeedAI/DomainForge/commit/fca2d01182e9c0ccbbb3d93805b4cf487e18bfe8))
* Add tests for URI encoding in KnowledgeGraph to ensure comprehensive encoding of special characters ([ed484a9](https://github.com/GodSpeedAI/DomainForge/commit/ed484a919832ffcef54ff0212e0a11a9dc95cb57))
* add TypeScript and WASM native error handling ([7bdc712](https://github.com/GodSpeedAI/DomainForge/commit/7bdc7127a0226f0d1bc279059124ecb4c9a4033d))
* Add validation for finite quantity values and return `Result` from quantity creation and formatting methods. ([cbc36b8](https://github.com/GodSpeedAI/DomainForge/commit/cbc36b8c0a641e3c14e995fe2c6e51ad30598897))
* add Well-Known Types support for Protobuf projection (Phase 1) ([7059088](https://github.com/GodSpeedAI/DomainForge/commit/70590885f1f9a0d65250955b07a2e60c476d4b23))
* **calm:** Add CALM export/import, policy & association mapping, bindings, and tests ([a164064](https://github.com/GodSpeedAI/DomainForge/commit/a16406400b4d9ac4b3c273f0b860eb062c991413))
* **cli:** add parse command for SEA file parsing ([631da50](https://github.com/GodSpeedAI/DomainForge/commit/631da50f258e03bf729a1b2481d02bf4377c21db))
* **cli:** add parse command for SEA file parsing ([9a169d2](https://github.com/GodSpeedAI/DomainForge/commit/9a169d26980308a4ca70374abe3ab58235e70c79))
* complete implementation of enhanced aggregations with group_by support and associated tests ([971b9a1](https://github.com/GodSpeedAI/DomainForge/commit/971b9a1691039a6798da952b0fb1ff5697a6582e))
* **docs:** normalize unit conversions in active docs; add PrettyPrinter tests ([88e053c](https://github.com/GodSpeedAI/DomainForge/commit/88e053c7e166024abc51a3ff350df6d6142eae5e))
* encapsulate policy expression, switch to xxhash-rust for stable hashing, and enhance WASM/TS APIs and documentation ([899448c](https://github.com/GodSpeedAI/DomainForge/commit/899448ccd2a40a9865374da4fca782212fac96d7))
* Enhance CLI and parser with fail-on-ambiguity flag, improve error handling, and update documentation ([ef987d3](https://github.com/GodSpeedAI/DomainForge/commit/ef987d303525ca10526d1723573e5214f800750b))
* Enhance grammar and integration tests for entity and instance declarations ([ca7773c](https://github.com/GodSpeedAI/DomainForge/commit/ca7773c5d302c46ab980609efab7487a39841088))
* Enhance NamespaceRegistry with longest literal prefix precedence ([9273089](https://github.com/GodSpeedAI/DomainForge/commit/9273089f06d17fbf6f67fef4b947d2dc98727f84))
* Enhance unit conversion and profiles in SEA DSL ([44337c3](https://github.com/GodSpeedAI/DomainForge/commit/44337c3655ce1ec53b9b39fc814fb787b43c7525))
* Enhance WASM build process with optimization and add optional dependencies ([d2419bd](https://github.com/GodSpeedAI/DomainForge/commit/d2419bdd941ce61525581b331c498a2d500dffc9))
* **grammar:** add file-level metadata, unit/dimension declarations, enhanced policy syntax, and aggregation comprehensions ([7089cc2](https://github.com/GodSpeedAI/DomainForge/commit/7089cc264dd8a12d5cf4062d590ea9b3f3be3994))
* Implement --fail-on-ambiguity flag for namespace resolution and update documentation ([83de206](https://github.com/GodSpeedAI/DomainForge/commit/83de206ab6032fbb137b74046a5a143fe6ebc324))
* implement comment preservation (Phase 3) ([0f79fbc](https://github.com/GodSpeedAI/DomainForge/commit/0f79fbc13360043afa420642c42269bd94860c67))
* implement comprehensive CLI with new import, validate, project, format, and test commands ([22ef5f9](https://github.com/GodSpeedAI/DomainForge/commit/22ef5f99cdfb0884fb10279b2d738f6ea87fb457))
* Implement Evolution Semantics with versioning, migration tracking, and associated grammar and AST updates ([23ec075](https://github.com/GodSpeedAI/DomainForge/commit/23ec075df9aca3f0a49dd9e44f02d332de74d1be))
* Implement hardening and feature enhancements for SEA DSL ([ed2a569](https://github.com/GodSpeedAI/DomainForge/commit/ed2a56969ce50b21d13b46231b555ced48598dff))
* Implement Instance Declarations with refactoring and new bindings for Python and TypeScript ([fa7197d](https://github.com/GodSpeedAI/DomainForge/commit/fa7197dbac3e1ec4d1cf843c516c20140f677647))
* Implement KG import functionality with Turtle and RDF/XML support ([8aea13e](https://github.com/GodSpeedAI/DomainForge/commit/8aea13e7f800b6ddb3a4813cf5b208aa16eefd75))
* Implement module system with import/export capabilities, resolver logic, and error handling ([4c38e86](https://github.com/GodSpeedAI/DomainForge/commit/4c38e86ac5596061101108e1a512bce95897bae5))
* implement pattern semantics (Phase 1, Step 3) ([6d36a39](https://github.com/GodSpeedAI/DomainForge/commit/6d36a390f724a7cb13785be69a15413ca9a29393))
* Implement Projection Contracts with new grammar, AST, primitives, and engine for custom export mappings and overrides. ([010caed](https://github.com/GodSpeedAI/DomainForge/commit/010caedf5c2244e5cf5962646ca83a0da5f2243f))
* implement proper expression formatting (Phase 2) ([b3662a5](https://github.com/GodSpeedAI/DomainForge/commit/b3662a54fee6c12297e847d488a5bc232f16a40c))
* Implement roles and relations primitives, grammar, and `has_role` policy support with KG and SBVR projection. ([381b505](https://github.com/GodSpeedAI/DomainForge/commit/381b505e60f6703086b86fffa08a16596ed6d94c))
* implement sea fmt command (Phase 1) ([cd4b8b8](https://github.com/GodSpeedAI/DomainForge/commit/cd4b8b8bfb0fb29b108bbda5814dc96e2f370337))
* implement temporal semantics (Step 1) ([c45a8bd](https://github.com/GodSpeedAI/DomainForge/commit/c45a8bd36bf1bdf0fdce968e4a09564e35507a08))
* implement temporal semantics including time/interval literals and operators ([ad49353](https://github.com/GodSpeedAI/DomainForge/commit/ad49353605fb7249cfb013d0968aaf113751bda4))
* implement three-valued logic for SEA policy evaluation with comprehensive documentation and tests ([188b645](https://github.com/GodSpeedAI/DomainForge/commit/188b645daa651a34451beaf9d003b078c14922fe))
* Implement unit conversion and profiles in SEA DSL ([eb86fd6](https://github.com/GodSpeedAI/DomainForge/commit/eb86fd6f2027a83e46cdf1498cfdf01c6838c632))
* integrate diagnostic formatters into CLI ([af453cd](https://github.com/GodSpeedAI/DomainForge/commit/af453cd53492e383395b8606392996d41c3e8c41))
* Introduce `group_by` expressions with optional filters and windowing for aggregations. ([71ab840](https://github.com/GodSpeedAI/DomainForge/commit/71ab8405112fc1199aeb1e6cb3c81e5a63c0f09f))
* Introduce `Instance` for concrete entity data and rename old `Instance` to `ResourceInstance` to clarify their distinct purposes. ([2d12082](https://github.com/GodSpeedAI/DomainForge/commit/2d12082904f9be5acfaf18cb9e33312177d5045b))
* Introduce AST v3 schema, adding annotations to declarations and expanding AST node definitions. ([0eaa097](https://github.com/GodSpeedAI/DomainForge/commit/0eaa0973c66d486f43ff0fa327aaf38a8530e1cc))
* Introduce expression normalization and equivalence checking CLI and API. ([eb34f2e](https://github.com/GodSpeedAI/DomainForge/commit/eb34f2e92c01645c334d3486007e63bc0b5ad514))
* Introduce expression normalization and equivalence checking CLI… ([f1d6c18](https://github.com/GodSpeedAI/DomainForge/commit/f1d6c18e96534572f1cde5dcdace3938900298fc))
* Introduce expression normalizer for canonicalizing policy expre… ([b48226e](https://github.com/GodSpeedAI/DomainForge/commit/b48226efc14bc1caf36edbe618188b112507ab62))
* Introduce expression normalizer for canonicalizing policy expressions and providing stable hashing. ([69bc3ea](https://github.com/GodSpeedAI/DomainForge/commit/69bc3eae65f8c324901fc0c75d0ebd91c4b5d2c1))
* introduce Metric primitive with CALM export and enhance CLI validation output ([71b5346](https://github.com/GodSpeedAI/DomainForge/commit/71b53467f357dca86ec29e0302d2f67af07e571c))
* Introduce Role and Relation classes with associated methods ([c4d7aed](https://github.com/GodSpeedAI/DomainForge/commit/c4d7aed2e104b5de590cc6839a375754f35b4e21))
* introduce structured error types for module resolution, including circular dependency paths and namespace suggestions. ([7ff6ed1](https://github.com/GodSpeedAI/DomainForge/commit/7ff6ed1474c274d4f4943ba2a2db670cfceb56b4))
* Observability metrics — parser, bindings, and serialization fixes ([5805628](https://github.com/GodSpeedAI/DomainForge/commit/5805628cab532d03f077daa418e5e23b3a2e4189))
* Optimize CI/CD workflows and pre-commit hooks ([74d352d](https://github.com/GodSpeedAI/DomainForge/commit/74d352d3ca0d1391bdd99067d5f35128e7aa2c5b))
* **parser:** implement file metadata, dimension/unit declarations, and enhanced policy syntax ([7cee28d](https://github.com/GodSpeedAI/DomainForge/commit/7cee28da1c06d747e79b55ed5905e5e397fd7f00))
* Refactor unit registration and improve profile initialization ([3bf4dbe](https://github.com/GodSpeedAI/DomainForge/commit/3bf4dbe382a075ab2b7cd5a5edee34964481bfb8))
* **units:** add Dimension/Unit bindings; centralize parse & FromStr; grammar & parser fixes; tests ([7075935](https://github.com/GodSpeedAI/DomainForge/commit/7075935e00eac28a9506ae1196b9ff2f3efcb53a))
* **units:** case-insensitive Dimension parsing and use in registry/AST conversions; add tests ([ceb5c4a](https://github.com/GodSpeedAI/DomainForge/commit/ceb5c4ab4827e5ffc5fbe49b474762a197c786f3))
* Update CI workflow to streamline wasm-opt installation and disable wasm-opt in Cargo.toml ([b6149cf](https://github.com/GodSpeedAI/DomainForge/commit/b6149cf0f19dfe3d8034491e9350f89e3a903bf8))
* Update dependencies and add new packages ([08773b7](https://github.com/GodSpeedAI/DomainForge/commit/08773b754e503b4da565959fc6f07eba205cd936))
* Update instance handling and grammar for consistency across DSL ([ca4758c](https://github.com/GodSpeedAI/DomainForge/commit/ca4758c7d0d310cf772845a32b012f81bf89047a))
* Update versioning syntax in ConceptChange annotations to use unquoted semantic versions ([bdde34c](https://github.com/GodSpeedAI/DomainForge/commit/bdde34c2fb5cae8189b374d412557ff4f275c69e))


### Bug Fixes

* address all 26 review findings (F1-F26) ([f55e6ad](https://github.com/GodSpeedAI/DomainForge/commit/f55e6adbac8c6eac91a0e66079ce6cb4c0cfb0e1))
* Address CodeRabbit review feedback for instance declarations ([2eea800](https://github.com/GodSpeedAI/DomainForge/commit/2eea800259c80e1a095348130a4b6b06bbdb4b82))
* apply CodeRabbit auto-fixes ([85aeb65](https://github.com/GodSpeedAI/DomainForge/commit/85aeb65f7cc4e6b57d45ec975ce5105249a1912a))
* **bindings:** accept Policy JSON in Python/TypeScript bindings; deserialize to Policy ([fc297f8](https://github.com/GodSpeedAI/DomainForge/commit/fc297f863a4469a6df9313326b6fa99ca592068e))
* **ci:** fix formatting and python detection ([3f6b78b](https://github.com/GodSpeedAI/DomainForge/commit/3f6b78bc596fbc2fab6ce2a894867ee664317638))
* **ci:** implement missing 'sea registry' subcommand ([8c6fb6e](https://github.com/GodSpeedAI/DomainForge/commit/8c6fb6e58ec0f8a7fc87b1127bd0afcedaeeced9))
* **ci:** increase wasm size limit and use lol_alloc ([e2da453](https://github.com/GodSpeedAI/DomainForge/commit/e2da453556428ab9679f827f238921dab857f744))
* **ci:** resolve all CI test failures ([85fae4c](https://github.com/GodSpeedAI/DomainForge/commit/85fae4c037da178dc8308953b18909e2ad3361d8))
* **ci:** resolve Clippy lints in printer.rs ([45178d9](https://github.com/GodSpeedAI/DomainForge/commit/45178d9054df24155e4e084cd7242c5e5bd942f1))
* **ci:** resolve wasm compilation errors and remove vulnerable wee_alloc ([3c874a1](https://github.com/GodSpeedAI/DomainForge/commit/3c874a1f8cd321720077b9ac0d84789fdaecddff))
* **ci:** unblock windows checkout and python/wasm jobs ([02c710a](https://github.com/GodSpeedAI/DomainForge/commit/02c710ad788222a6c4eb36b7ec07c9432f7a7b10))
* Complete all CodeRabbit review tasks ([c802e56](https://github.com/GodSpeedAI/DomainForge/commit/c802e569de27482b6294814e1ca90f1e48feb36f))
* **deps:** add getrandom dependency for wasm32 target ([2974baf](https://github.com/GodSpeedAI/DomainForge/commit/2974baf752363a0f5eff23bbc1efe3a5989f68ab))
* Enable uuid/js feature for WASM build ([e5a1a26](https://github.com/GodSpeedAI/DomainForge/commit/e5a1a26a27e39773e831beae7dff3b24d0ad6927))
* grammar keyword ambiguity and artifacts in examples ([0f89f52](https://github.com/GodSpeedAI/DomainForge/commit/0f89f5211a5cce950ae4bb7c21eb7c3b6a4e170b))
* harden CI setup across platforms ([0a06ced](https://github.com/GodSpeedAI/DomainForge/commit/0a06ced0fb3726b09803c34b3e1798b69e92bf2d))
* Improve Python exception attribute setting error handling and resolve reported issues in CI/CD docs, CLI error propagation, and validation error types. ([bc368fe](https://github.com/GodSpeedAI/DomainForge/commit/bc368fe05970790311710cb04d94540dff2bf36e))
* parser namespace semantics, decimal quantities, version constant, artifact hygiene ([5062b29](https://github.com/GodSpeedAI/DomainForge/commit/5062b2963d05720d85f150df5373ef9cdf5fd1ae))
* **parser:** correctly parse Resource 'in domain' syntax ([7512d84](https://github.com/GodSpeedAI/DomainForge/commit/7512d846a53d41e2e4b4e8034fdc1d82bc79dace))
* path traversal security, protobuf validity, CALM/RDF round trips, TS declarations ([4b26c78](https://github.com/GodSpeedAI/DomainForge/commit/4b26c780edf48beccfa2a65cfee7b6894b8ef114))
* Pin uuid to 1.8.0 to resolve WASM build failure ([0f96149](https://github.com/GodSpeedAI/DomainForge/commit/0f961491893d74f74f3c7975346f20bda0263830))
* **python:** Avoid pyo3 #[args] attribute — accept Option&lt;bool&gt; in binding to ensure compile with --all-features ([b8c7c33](https://github.com/GodSpeedAI/DomainForge/commit/b8c7c336931a77d12d7f3ede70a23e5c67a5d7a9))
* refine wasm allocator configuration for clarity and binary size reduction ([04bcc3c](https://github.com/GodSpeedAI/DomainForge/commit/04bcc3c382427d349c12b0a9153905686b84dad3))
* remove unnecessary .clone() on Copy types (clippy warning) ([b9cace1](https://github.com/GodSpeedAI/DomainForge/commit/b9cace173f79fedb46d3caa28cd8c440a6b8725a))
* resolve all CI failures and remove committed private key fixture ([7b0129d](https://github.com/GodSpeedAI/DomainForge/commit/7b0129dbc41fe84af9d9213b58b4c3397ed1f7c3))
* resolve all CI failures for expression normalization PR ([7b1a144](https://github.com/GodSpeedAI/DomainForge/commit/7b1a144f1528e5ff6c3dd06c47690c331052e25a))
* resolve clippy errors and update test expectations ([8fe9ed0](https://github.com/GodSpeedAI/DomainForge/commit/8fe9ed08df41f0c0cdac1a20e3ec6c7419f921ae))
* resolve compilation errors and clippy warnings ([274c127](https://github.com/GodSpeedAI/DomainForge/commit/274c127f5fa695bd79f27f3b0042b5536af82356))
* resolve deferred-to-CI items and index.d.ts regen issue ([09d4316](https://github.com/GodSpeedAI/DomainForge/commit/09d43166ef85df75cd50f895fbd757051ded9fe8))
* restore missing if-guard in validate_definition_hashes ([7267113](https://github.com/GodSpeedAI/DomainForge/commit/7267113b045d79d0039c54d2455589ec07642a8c))
* restore pr ci checks ([8d4968f](https://github.com/GodSpeedAI/DomainForge/commit/8d4968f02bc1953a5830884a3e867cbcfd5983e0))
* stabilize CI test jobs ([3563509](https://github.com/GodSpeedAI/DomainForge/commit/3563509d946704aaebefff0a3856abc611776f67))
* stabilize semantic pack ci bindings ([a4acea9](https://github.com/GodSpeedAI/DomainForge/commit/a4acea9556bae159335bbd673d08b2edd8fcb175))
* Update Python dependencies and adjust wheel upload paths in CI workflows ([c0d23c8](https://github.com/GodSpeedAI/DomainForge/commit/c0d23c8cdb1d468161d11ef1030b34fcabdc81ab))
* **wasm:** accept Policy as JsValue in addPolicy and deserialize with serde_wasm_bindgen ([c20de95](https://github.com/GodSpeedAI/DomainForge/commit/c20de950c34ddc065a2aeaa563a596ddd3a69a85))


### Dependencies

* **pyo3:** upgrade to 0.29 and make cargo audit blocking ([88b54d1](https://github.com/GodSpeedAI/DomainForge/commit/88b54d1af802e928ca6b469fe1dcab02265c82a5))
