diff --git a/.changeset/parse5-portability.md b/.changeset/parse5-portability.md deleted file mode 100644 index 95b3ab6f2e..0000000000 --- a/.changeset/parse5-portability.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@lix-js/html-diff": minor ---- - -Switch HTML diff parsing from the browser-only `DOMParser` to server-friendly `parse5` so the library can run in Node, workers, and other isomorphic environments without DOM shims. diff --git a/.changeset/release-lix-sdk.md b/.changeset/release-lix-sdk.md deleted file mode 100644 index fbe9adddb4..0000000000 --- a/.changeset/release-lix-sdk.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -"@lix-js/sdk": minor ---- - -Refactored the architecture of lix to be event-sourced. - -Changes are now the source of truth which allows re-materialization of state at any point in time, and re-assurance of data integrity. - -Lix up to v0.4 used SQLite event triggers to track changes. The risk of missing triggers combined with a lack of hooking into the commit process meant that changes could be lost or not properly tracked. - -This release includes: - -- **Lix Engine**: A query engine (`packages/lix/sdk/src/engine`) that includes a custom SQL parser, preprocessor, and query optimizer to map queries to native SQL. - -- **Reactive queries**: subscribe UI components to live data with `lix.observe()`; emits on every state commit for polling-free updates. - -- **Diffing + history**: working/checkpoint and commit-to-commit diffs, plus a `state_history` view for blame and time-travel. - -- **Change proposals**: change proposals with conversations/messages and per-change authorship for review flows. - -- **Support for directories**: built-in directory/file descriptors and path helpers replace the old file-queue plumbing. - -- **Engine portabilityy**: `openLix` now accepts raw plugin modules and exposes `lix.call(...)` for worker/remote environments. - -- **New Transaction Model**: A formal 3-stage mutation lifecycle (Mutation -> Transaction -> Commit) ensures ACID guarantees and clearer change tracking. - -- **Schema definition API**: API for defining custom entity schemas, making Lix extensible for any data type. \ No newline at end of file diff --git a/packages/lix/html-diff/CHANGELOG.md b/packages/lix/html-diff/CHANGELOG.md new file mode 100644 index 0000000000..02bc9069a4 --- /dev/null +++ b/packages/lix/html-diff/CHANGELOG.md @@ -0,0 +1,7 @@ +# @lix-js/html-diff + +## 0.1.0 + +### Minor Changes + +- b785bbd: Switch HTML diff parsing from the browser-only `DOMParser` to server-friendly `parse5` so the library can run in Node, workers, and other isomorphic environments without DOM shims. diff --git a/packages/lix/html-diff/package.json b/packages/lix/html-diff/package.json index c492b75d39..dddb2708b2 100644 --- a/packages/lix/html-diff/package.json +++ b/packages/lix/html-diff/package.json @@ -1,6 +1,6 @@ { "name": "@lix-js/html-diff", - "version": "0.0.1", + "version": "0.1.0", "type": "module", "types": "./dist/index.d.ts", "publishConfig": { diff --git a/packages/lix/plugin-csv/CHANGELOG.md b/packages/lix/plugin-csv/CHANGELOG.md index acdf7684f9..8863670cfa 100644 --- a/packages/lix/plugin-csv/CHANGELOG.md +++ b/packages/lix/plugin-csv/CHANGELOG.md @@ -1,5 +1,12 @@ # @lix-js/plugin-csv +## 0.1.10 + +### Patch Changes + +- Updated dependencies [68a939b] + - @lix-js/sdk@0.5.0 + ## 0.1.9 ### Patch Changes diff --git a/packages/lix/plugin-csv/package.json b/packages/lix/plugin-csv/package.json index fa6f7798a7..a17fc2602b 100644 --- a/packages/lix/plugin-csv/package.json +++ b/packages/lix/plugin-csv/package.json @@ -4,7 +4,7 @@ "publishConfig": { "access": "public" }, - "version": "0.1.9", + "version": "0.1.10", "license": "Apache-2.0", "types": "./dist/index.d.ts", "exports": { diff --git a/packages/lix/plugin-json/CHANGELOG.md b/packages/lix/plugin-json/CHANGELOG.md index 4ab40ac31e..af41619621 100644 --- a/packages/lix/plugin-json/CHANGELOG.md +++ b/packages/lix/plugin-json/CHANGELOG.md @@ -1,5 +1,12 @@ # @lix-js/plugin-json +## 1.0.0 + +### Patch Changes + +- Updated dependencies [68a939b] + - @lix-js/sdk@0.5.0 + ## 0.1.8 ### Patch Changes diff --git a/packages/lix/plugin-json/package.json b/packages/lix/plugin-json/package.json index a62c7eb1c8..8bebc1dc3f 100644 --- a/packages/lix/plugin-json/package.json +++ b/packages/lix/plugin-json/package.json @@ -4,7 +4,7 @@ "publishConfig": { "access": "public" }, - "version": "1.0.0-preview.0", + "version": "1.0.0", "license": "Apache-2.0", "types": "./dist/index.d.ts", "exports": { diff --git a/packages/lix/plugin-md/CHANGELOG.md b/packages/lix/plugin-md/CHANGELOG.md new file mode 100644 index 0000000000..a9447e4c62 --- /dev/null +++ b/packages/lix/plugin-md/CHANGELOG.md @@ -0,0 +1,11 @@ +# @lix-js/plugin-md + +## 0.1.3 + +### Patch Changes + +- Updated dependencies [b785bbd] +- Updated dependencies [68a939b] + - @lix-js/html-diff@0.1.0 + - @lix-js/sdk@0.5.0 + - @opral/markdown-wc@0.5.0 diff --git a/packages/lix/plugin-md/package.json b/packages/lix/plugin-md/package.json index fc17c0bff7..c160cdba3f 100644 --- a/packages/lix/plugin-md/package.json +++ b/packages/lix/plugin-md/package.json @@ -2,7 +2,7 @@ "name": "@lix-js/plugin-md", "type": "module", "private": true, - "version": "0.1.2", + "version": "0.1.3", "license": "Apache-2.0", "exports": { ".": "./dist/index.js" diff --git a/packages/lix/sdk/CHANGELOG.md b/packages/lix/sdk/CHANGELOG.md index c35f3e0be7..0789f7af66 100644 --- a/packages/lix/sdk/CHANGELOG.md +++ b/packages/lix/sdk/CHANGELOG.md @@ -1,5 +1,33 @@ # @lix-js/sdk +## 0.5.0 + +### Minor Changes + +- 68a939b: Refactored the architecture of lix to be event-sourced. + + Changes are now the source of truth which allows re-materialization of state at any point in time, and re-assurance of data integrity. + + Lix up to v0.4 used SQLite event triggers to track changes. The risk of missing triggers combined with a lack of hooking into the commit process meant that changes could be lost or not properly tracked. + + This release includes: + + - **Lix Engine**: A query engine (`packages/lix/sdk/src/engine`) that includes a custom SQL parser, preprocessor, and query optimizer to map queries to native SQL. + + - **Reactive queries**: subscribe UI components to live data with `lix.observe()`; emits on every state commit for polling-free updates. + + - **Diffing + history**: working/checkpoint and commit-to-commit diffs, plus a `state_history` view for blame and time-travel. + + - **Change proposals**: change proposals with conversations/messages and per-change authorship for review flows. + + - **Support for directories**: built-in directory/file descriptors and path helpers replace the old file-queue plumbing. + + - **Engine portabilityy**: `openLix` now accepts raw plugin modules and exposes `lix.call(...)` for worker/remote environments. + + - **New Transaction Model**: A formal 3-stage mutation lifecycle (Mutation -> Transaction -> Commit) ensures ACID guarantees and clearer change tracking. + + - **Schema definition API**: API for defining custom entity schemas, making Lix extensible for any data type. + ## 0.4.7 ### Patch Changes diff --git a/packages/lix/sdk/package.json b/packages/lix/sdk/package.json index d77740998e..594163a8a0 100644 --- a/packages/lix/sdk/package.json +++ b/packages/lix/sdk/package.json @@ -1,7 +1,7 @@ { "name": "@lix-js/sdk", "type": "module", - "version": "0.5.0-preview.1", + "version": "0.5.0", "description": "SDK for change control. Enable Git-like capabilities like versioning, history, and blame in apps and AI agents.", "keywords": [ "change control", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f111f07380..398e6dd59c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1489,8 +1489,6 @@ importers: specifier: 2.1.8 version: 2.1.8(@types/node@20.5.9)(@vitest/browser@2.1.8)(happy-dom@18.0.1)(jsdom@26.1.0)(lightningcss@1.30.1)(msw@2.10.2(@types/node@20.5.9)(typescript@5.8.3))(sass-embedded@1.89.2)(terser@5.36.0) - inlang/packages/website/dist/server: {} - inlang/packages/website/tailwind-color-plugin: dependencies: '@ctrl/tinycolor':