diff --git a/.changeset/breezy-vans-argue.md b/.changeset/breezy-vans-argue.md deleted file mode 100644 index 52ab3ccb6d..0000000000 --- a/.changeset/breezy-vans-argue.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@opral/markdown-wc-doc-elements": minor ---- - -refactor: dual bundle dist output and index exports - -the output of the dist folder now includes bundled components that can be imported in the browser as well as the index.js file that exports the components for apps that are responsible for bundling the components themselves. - diff --git a/.changeset/calm-masks-argue.md b/.changeset/calm-masks-argue.md deleted file mode 100644 index d281cd4da9..0000000000 --- a/.changeset/calm-masks-argue.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"lix-file-manager": minor ---- - -improve: clears the OPFS in case the lix file can't be loaded. - -If the lix schema changed, loading existing lix'es breaks with no possibility for users to fix the situation. Auto clearing the OPFS ledas to the creation of a new lix file with the new schema. \ No newline at end of file diff --git a/.changeset/chilly-falcons-rhyme.md b/.changeset/chilly-falcons-rhyme.md deleted file mode 100644 index 3db4740925..0000000000 --- a/.changeset/chilly-falcons-rhyme.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"lix-file-manager": patch ---- - -replaces newsletter example with salary example that has changes diff --git a/.changeset/dirty-parents-carry.md b/.changeset/dirty-parents-carry.md deleted file mode 100644 index 9eb1080a23..0000000000 --- a/.changeset/dirty-parents-carry.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@lix-js/sdk": patch ---- - -refactor: remove `comment.created_at` and `comment.created_by` https://github.com/opral/lix-sdk/issues/175 - -Comments and discussions are now change controlled. Hence, knowing when a comment or discussion has been created can be queried via the changes. This removes the need for the `created_at` and `created_by` fields on the `Comment` and `Discussion` entities, and thereby simplifies the schema, avoids duplicate date, and reduces the risk of inconsistencies. diff --git a/.changeset/fast-jars-love.md b/.changeset/fast-jars-love.md deleted file mode 100644 index 3369b8ee44..0000000000 --- a/.changeset/fast-jars-love.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -"@lix-js/sdk": patch ---- - -refactor: explicit `firstComment` argument in `createDiscussion()` https://github.com/opral/lix-sdk/issues/164 - -It was unclear that the `content` argument in `createDiscussion()` was meant to be the first comment. This change makes it explicit by renaming the argument to `firstComment`. - -```diff -- createDiscussion({ discussion, content: "first comment" }) -+ createDiscussion({ discussion, firstComment: { content: "first commment" } }}) -``` diff --git a/.changeset/hot-baboons-cry.md b/.changeset/hot-baboons-cry.md deleted file mode 100644 index 2f70ae5f8d..0000000000 --- a/.changeset/hot-baboons-cry.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@lix-js/sdk": patch ---- - -improve: remove top level await in json parsing - -required for lix apps that transpile to CJS. CJS does not support top level await. -see https://github.com/evanw/esbuild/issues/253 \ No newline at end of file diff --git a/.changeset/itchy-moose-whisper.md b/.changeset/itchy-moose-whisper.md deleted file mode 100644 index be40ded5b3..0000000000 --- a/.changeset/itchy-moose-whisper.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@lix-js/sdk": patch ---- - -refactor: rename `change_queue` to `file_queue` https://github.com/opral/lix-sdk/issues/168 - -```diff --db.selectFrom("change_queue") -+db.selectFrom("file_queue") -``` \ No newline at end of file diff --git a/.changeset/itchy-parents-live.md b/.changeset/itchy-parents-live.md deleted file mode 100644 index 27818b0284..0000000000 --- a/.changeset/itchy-parents-live.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@lix-js/sdk": patch ---- - -refactor: rename plugin_key: `lix_own_entity` to `lix_own_change_control` - -Closes https://github.com/opral/lix-sdk/issues/197 diff --git a/.changeset/loud-melons-hide.md b/.changeset/loud-melons-hide.md deleted file mode 100644 index e4b2241ae2..0000000000 --- a/.changeset/loud-melons-hide.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@opral/markdown-wc": minor -"@opral/markdown-wc-doc-elements": minor ---- - -Separate the markdown-wc-doc-elements package from the markdown-wc package. This package provides a set of custom elements that can be used to write (technical) documentation. diff --git a/.changeset/loud-peaches-lie.md b/.changeset/loud-peaches-lie.md deleted file mode 100644 index 4bbda51c9e..0000000000 --- a/.changeset/loud-peaches-lie.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@lix-js/sdk": patch ---- - -refactor: remove `change_set_label_author` table. - -Closes https://github.com/opral/lix-sdk/issues/227 - -Change set labels are now under own change control. Querying who created a label can happen via the change table itself. \ No newline at end of file diff --git a/.changeset/mean-humans-mix.md b/.changeset/mean-humans-mix.md deleted file mode 100644 index f49e45d925..0000000000 --- a/.changeset/mean-humans-mix.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@opral/markdown-wc": minor ---- - -Refactor: Remove dependency on TailwindCSS to increase interoperability. diff --git a/.changeset/nine-seahorses-love.md b/.changeset/nine-seahorses-love.md deleted file mode 100644 index 6ef4a089b9..0000000000 --- a/.changeset/nine-seahorses-love.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@lix-js/sdk": minor ---- - -adds unique and default human readable version names - -- removes nullability of `version.name` which eases conditional logic. -- apps don't need custom default version naming logic anymore \ No newline at end of file diff --git a/.changeset/quick-dryers-beam.md b/.changeset/quick-dryers-beam.md deleted file mode 100644 index da3a306f91..0000000000 --- a/.changeset/quick-dryers-beam.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -"@lix-js/sdk": minor ---- - -Refactor: Use [nano-ids](https://zelark.github.io/nano-id-cc/) for change controlled tables like discussions, comments, and labels. - -- severely shortens the length of shareable URLs -- closes https://github.com/opral/lix-sdk/issues/189. - -```diff --http://localhost:3005/app/fm/?f=0193f041-21ce-7ffc-ba6e-d2d62b399383&d=0193f041-2457-7ffc-ba7e-494efc37b1b8&l=55a7bcc8-63d8-43b7-af0b-3916618fc258 -+http://localhost:3005/app/fm/?f=tUYFRUe4lb&d=rrzumhqqTOwq&l=MftKxYHfDw2bSVr8Bs -``` - -**Additional information** - -The pattern is still not human readable. I assume that we will introduce a human readable pattern in the future in addition to permalinks. This change is a incremental step towards better link sharing and good enough for now. - -**Performance implications** - -Nano IDs are not sortable and theoretically make insertions slower. However, until we get lix'es that have billions of rows we need to get users first. Sharing is a key feature to get users. \ No newline at end of file diff --git a/.changeset/shy-clouds-flow.md b/.changeset/shy-clouds-flow.md deleted file mode 100644 index b99095b5fb..0000000000 --- a/.changeset/shy-clouds-flow.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@lix-js/sdk": patch ---- - -fix: duplicate version changes - -Closes https://github.com/opral/lix-sdk/issues/217 by making version changes have a unique (entity_id, file_id, schema_key). - -Sync was buggy because the sync process is an async process. A client received multiple version changes for the same entity and inserted them https://github.com/opral/lix-sdk/issues/217#issuecomment-2549545901 without checking if the version change for the entity already exists. diff --git a/.changeset/sixty-jokes-repair.md b/.changeset/sixty-jokes-repair.md deleted file mode 100644 index 619169ef2a..0000000000 --- a/.changeset/sixty-jokes-repair.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"lix-file-manager": patch -"@lix-js/plugin-csv": patch -"csv-app": patch ---- - -Refactor(fix): `file.data` from `ArrayBuffer` to `Uint8Array` - -The lix SDK's file.data type changed from `ArrayBuffer` to `Uint8Array`. SQLite returned `UInt8Array`. \ No newline at end of file diff --git a/.changeset/slow-pens-occur.md b/.changeset/slow-pens-occur.md deleted file mode 100644 index 471a6b668d..0000000000 --- a/.changeset/slow-pens-occur.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@lix-js/sdk": patch ---- - -refactor: rename `parent` to `from` in `createVersion()` https://github.com/opral/lix-sdk/issues/213 - -```diff --await createVersion({ lix, parent: currentVersion }) -+await createVersion({ lix, from: currentVersion }) -``` diff --git a/.changeset/strange-fishes-applaud.md b/.changeset/strange-fishes-applaud.md deleted file mode 100644 index 168ad916b0..0000000000 --- a/.changeset/strange-fishes-applaud.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@lix-js/sdk": patch ---- - -fix: queries against closed database - -closes https://github.com/opral/lix-sdk/issues/226 \ No newline at end of file diff --git a/.changeset/stupid-tips-burn.md b/.changeset/stupid-tips-burn.md deleted file mode 100644 index 09eff44e6c..0000000000 --- a/.changeset/stupid-tips-burn.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@lix-js/server-api-schema": patch ---- - -fix: emit .js file for node js - -Otherwise, node js will throw "UNKNOWN FILE EXTENSION .ts". diff --git a/.changeset/ten-gifts-cry.md b/.changeset/ten-gifts-cry.md deleted file mode 100644 index 23330052d0..0000000000 --- a/.changeset/ten-gifts-cry.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -"@lix-js/sdk": patch ---- - -fix: type mismatch of `file.data` - -The type of `file.data` in `File` interface is changed from `ArrayBuffer` to `Uint8Array` to match the type of `Uint8Array` returned by SQLite and various file related APIs. - -```diff --file.data: ArrayBuffer -+file.data: Uint8Array -``` \ No newline at end of file diff --git a/.changeset/tender-lemons-wink.md b/.changeset/tender-lemons-wink.md deleted file mode 100644 index 200133660d..0000000000 --- a/.changeset/tender-lemons-wink.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"csv-app": minor ---- - -improve: clears the OPFS in case the lix file can't be loaded. - -If the lix schema changed, loading existing lix'es breaks with no possibility for users to fix the situation. Auto clearing the OPFS ledas to the creation of a new lix file with the new schema. \ No newline at end of file diff --git a/.changeset/three-worms-grin.md b/.changeset/three-worms-grin.md deleted file mode 100644 index 893b8e1d3f..0000000000 --- a/.changeset/three-worms-grin.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@lix-js/sdk": patch ---- - -Extract `toBlob()` from `lix.*` object https://github.com/opral/lix-sdk/issues/196 - -```diff -- await lix.toBlob() -+ await toBlob({ lix }) -``` diff --git a/.changeset/unlucky-flowers-run.md b/.changeset/unlucky-flowers-run.md deleted file mode 100644 index 9179a0a618..0000000000 --- a/.changeset/unlucky-flowers-run.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -"@lix-js/sdk": patch ---- - -refactor: replace `#*` key syntax with `skip_change_control` column - -closes https://github.com/opral/lix-sdk/issues/191 - -Enables matching of flags and avoids re-names of keys. This change replaces the `#*` key syntax with a `skip_change_control` column in the `flags` table. - -```diff -key_value = { -- key: "#mock_key", -+ key: "mock_key", -+ skip_change_control: true, - value: "mock_value", -} -``` diff --git a/.changeset/weak-zebras-smell.md b/.changeset/weak-zebras-smell.md deleted file mode 100644 index 02c4b3db77..0000000000 --- a/.changeset/weak-zebras-smell.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -"@opral/markdown-wc": minor ---- - -Ensure interoperability and portability by letting documents import components via frontmatter. - -```diff -title: "Hello World" -+import: -+ - "https://example.com/doc-card.js" -+ - "https://example.com/doc-button.js" ---- - -# Hello World -``` \ No newline at end of file diff --git a/.changeset/witty-dogs-design.md b/.changeset/witty-dogs-design.md deleted file mode 100644 index af3758e295..0000000000 --- a/.changeset/witty-dogs-design.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@lix-js/sdk": patch ---- - -refactor: rename `file_id` of own changes from `null` to `lix_own_change_control` to avoid debugging confusions https://github.com/opral/lix-sdk/issues/194 - -```diff -- file_id: null -+ file_id: lix_own_change_control -``` diff --git a/inlang/packages/website/package.json b/inlang/packages/website/package.json index c2ba89c584..b337781b0a 100644 --- a/inlang/packages/website/package.json +++ b/inlang/packages/website/package.json @@ -60,7 +60,7 @@ "@opral/markdown-wc-doc-elements": "workspace:*", "@inlang/marketplace-manifest": "workspace:*", "@inlang/marketplace-registry": "workspace:*", - "@inlang/paraglide-js": "1.11.3", + "@inlang/paraglide-js": "2.0.0-prerelease.0", "@inlang/paraglide-vite": "1.3.0", "@inlang/rpc": "workspace:*", "@tailwindcss/aspect-ratio": "^0.4.2", diff --git a/packages/csv-app/CHANGELOG.md b/packages/csv-app/CHANGELOG.md index cb19ab7fb2..4a45a95d57 100644 --- a/packages/csv-app/CHANGELOG.md +++ b/packages/csv-app/CHANGELOG.md @@ -1,5 +1,38 @@ # csv-app +## 0.1.0 + +### Minor Changes + +- 8314f4c: improve: clears the OPFS in case the lix file can't be loaded. + + If the lix schema changed, loading existing lix'es breaks with no possibility for users to fix the situation. Auto clearing the OPFS ledas to the creation of a new lix file with the new schema. + +### Patch Changes + +- 31b7cda: Refactor(fix): `file.data` from `ArrayBuffer` to `Uint8Array` + + The lix SDK's file.data type changed from `ArrayBuffer` to `Uint8Array`. SQLite returned `UInt8Array`. + +- Updated dependencies [85eb03e] +- Updated dependencies [2d3ab95] +- Updated dependencies [d78a1bf] +- Updated dependencies [6b14433] +- Updated dependencies [9f1765a] +- Updated dependencies [c494dca] +- Updated dependencies [4d9d980] +- Updated dependencies [cc93bd9] +- Updated dependencies [fc5a5dd] +- Updated dependencies [31b7cda] +- Updated dependencies [8c4ac57] +- Updated dependencies [8629faa] +- Updated dependencies [de6d717] +- Updated dependencies [be9effa] +- Updated dependencies [b74e982] +- Updated dependencies [5eecc61] + - @lix-js/sdk@0.1.0 + - @lix-js/plugin-csv@0.0.3 + ## 0.0.1 ### Patch Changes diff --git a/packages/csv-app/package.json b/packages/csv-app/package.json index ce4d1e30ce..788eb2eaa9 100644 --- a/packages/csv-app/package.json +++ b/packages/csv-app/package.json @@ -1,7 +1,7 @@ { "name": "csv-app", "private": true, - "version": "0.0.1", + "version": "0.1.0", "type": "module", "scripts": { "dev": "vite", diff --git a/packages/lix-file-manager/CHANGELOG.md b/packages/lix-file-manager/CHANGELOG.md index 359a27e9d1..e2113f793b 100644 --- a/packages/lix-file-manager/CHANGELOG.md +++ b/packages/lix-file-manager/CHANGELOG.md @@ -1,5 +1,39 @@ # lix-file-manager +## 0.1.0 + +### Minor Changes + +- c016fe4: improve: clears the OPFS in case the lix file can't be loaded. + + If the lix schema changed, loading existing lix'es breaks with no possibility for users to fix the situation. Auto clearing the OPFS ledas to the creation of a new lix file with the new schema. + +### Patch Changes + +- be92eb8: replaces newsletter example with salary example that has changes +- 31b7cda: Refactor(fix): `file.data` from `ArrayBuffer` to `Uint8Array` + + The lix SDK's file.data type changed from `ArrayBuffer` to `Uint8Array`. SQLite returned `UInt8Array`. + +- Updated dependencies [85eb03e] +- Updated dependencies [2d3ab95] +- Updated dependencies [d78a1bf] +- Updated dependencies [6b14433] +- Updated dependencies [9f1765a] +- Updated dependencies [c494dca] +- Updated dependencies [4d9d980] +- Updated dependencies [cc93bd9] +- Updated dependencies [fc5a5dd] +- Updated dependencies [31b7cda] +- Updated dependencies [8c4ac57] +- Updated dependencies [8629faa] +- Updated dependencies [de6d717] +- Updated dependencies [be9effa] +- Updated dependencies [b74e982] +- Updated dependencies [5eecc61] + - @lix-js/sdk@0.1.0 + - @lix-js/plugin-csv@0.0.3 + ## 0.0.1 ### Patch Changes diff --git a/packages/lix-file-manager/package.json b/packages/lix-file-manager/package.json index 535f6e1a20..927a4f0622 100644 --- a/packages/lix-file-manager/package.json +++ b/packages/lix-file-manager/package.json @@ -1,7 +1,7 @@ { "name": "lix-file-manager", "private": true, - "version": "0.0.1", + "version": "0.1.0", "type": "module", "scripts": { "dev": "vite", diff --git a/packages/lix-host/CHANGELOG.md b/packages/lix-host/CHANGELOG.md index 222943bdf7..b39f452f06 100644 --- a/packages/lix-host/CHANGELOG.md +++ b/packages/lix-host/CHANGELOG.md @@ -1,5 +1,26 @@ # @lix-js/host +## 0.0.3 + +### Patch Changes + +- Updated dependencies [85eb03e] +- Updated dependencies [2d3ab95] +- Updated dependencies [d78a1bf] +- Updated dependencies [6b14433] +- Updated dependencies [9f1765a] +- Updated dependencies [c494dca] +- Updated dependencies [4d9d980] +- Updated dependencies [cc93bd9] +- Updated dependencies [fc5a5dd] +- Updated dependencies [8c4ac57] +- Updated dependencies [8629faa] +- Updated dependencies [de6d717] +- Updated dependencies [be9effa] +- Updated dependencies [b74e982] +- Updated dependencies [5eecc61] + - @lix-js/sdk@0.1.0 + ## 0.0.2 ### Patch Changes diff --git a/packages/lix-host/package.json b/packages/lix-host/package.json index 7daa59913c..518d7f36b6 100644 --- a/packages/lix-host/package.json +++ b/packages/lix-host/package.json @@ -2,7 +2,7 @@ "name": "@lix-js/host", "private": true, "type": "module", - "version": "0.0.2", + "version": "0.0.3", "license": "Apache-2.0", "exports": { ".": "./dist/index.js" diff --git a/packages/lix-plugin-csv/CHANGELOG.md b/packages/lix-plugin-csv/CHANGELOG.md index 75e9bb17bc..18cd1af0ab 100644 --- a/packages/lix-plugin-csv/CHANGELOG.md +++ b/packages/lix-plugin-csv/CHANGELOG.md @@ -1,5 +1,30 @@ # @lix-js/plugin-csv +## 0.0.3 + +### Patch Changes + +- 31b7cda: Refactor(fix): `file.data` from `ArrayBuffer` to `Uint8Array` + + The lix SDK's file.data type changed from `ArrayBuffer` to `Uint8Array`. SQLite returned `UInt8Array`. + +- Updated dependencies [85eb03e] +- Updated dependencies [2d3ab95] +- Updated dependencies [d78a1bf] +- Updated dependencies [6b14433] +- Updated dependencies [9f1765a] +- Updated dependencies [c494dca] +- Updated dependencies [4d9d980] +- Updated dependencies [cc93bd9] +- Updated dependencies [fc5a5dd] +- Updated dependencies [8c4ac57] +- Updated dependencies [8629faa] +- Updated dependencies [de6d717] +- Updated dependencies [be9effa] +- Updated dependencies [b74e982] +- Updated dependencies [5eecc61] + - @lix-js/sdk@0.1.0 + ## 0.0.2 ### Patch Changes diff --git a/packages/lix-plugin-csv/package.json b/packages/lix-plugin-csv/package.json index 374204d733..66cbdb29ac 100644 --- a/packages/lix-plugin-csv/package.json +++ b/packages/lix-plugin-csv/package.json @@ -2,7 +2,7 @@ "name": "@lix-js/plugin-csv", "type": "module", "private": true, - "version": "0.0.2", + "version": "0.0.3", "license": "Apache-2.0", "exports": { ".": "./dist/index.js" diff --git a/packages/lix-sdk/CHANGELOG.md b/packages/lix-sdk/CHANGELOG.md index 1a2bbe87ba..0d00ed6700 100644 --- a/packages/lix-sdk/CHANGELOG.md +++ b/packages/lix-sdk/CHANGELOG.md @@ -1,5 +1,124 @@ # @lix-js/sdk +## 0.1.0 + +### Minor Changes + +- 4d9d980: adds unique and default human readable version names + + - removes nullability of `version.name` which eases conditional logic. + - apps don't need custom default version naming logic anymore + +- cc93bd9: Refactor: Use [nano-ids](https://zelark.github.io/nano-id-cc/) for change controlled tables like discussions, comments, and labels. + + - severely shortens the length of shareable URLs + - closes https://github.com/opral/lix-sdk/issues/189. + + ```diff + -http://localhost:3005/app/fm/?f=0193f041-21ce-7ffc-ba6e-d2d62b399383&d=0193f041-2457-7ffc-ba7e-494efc37b1b8&l=55a7bcc8-63d8-43b7-af0b-3916618fc258 + +http://localhost:3005/app/fm/?f=tUYFRUe4lb&d=rrzumhqqTOwq&l=MftKxYHfDw2bSVr8Bs + ``` + + **Additional information** + + The pattern is still not human readable. I assume that we will introduce a human readable pattern in the future in addition to permalinks. This change is a incremental step towards better link sharing and good enough for now. + + **Performance implications** + + Nano IDs are not sortable and theoretically make insertions slower. However, until we get lix'es that have billions of rows we need to get users first. Sharing is a key feature to get users. + +### Patch Changes + +- 85eb03e: refactor: remove `comment.created_at` and `comment.created_by` https://github.com/opral/lix-sdk/issues/175 + + Comments and discussions are now change controlled. Hence, knowing when a comment or discussion has been created can be queried via the changes. This removes the need for the `created_at` and `created_by` fields on the `Comment` and `Discussion` entities, and thereby simplifies the schema, avoids duplicate date, and reduces the risk of inconsistencies. + +- 2d3ab95: refactor: explicit `firstComment` argument in `createDiscussion()` https://github.com/opral/lix-sdk/issues/164 + + It was unclear that the `content` argument in `createDiscussion()` was meant to be the first comment. This change makes it explicit by renaming the argument to `firstComment`. + + ```diff + - createDiscussion({ discussion, content: "first comment" }) + + createDiscussion({ discussion, firstComment: { content: "first commment" } }}) + ``` + +- d78a1bf: improve: remove top level await in json parsing + + required for lix apps that transpile to CJS. CJS does not support top level await. + see https://github.com/evanw/esbuild/issues/253 + +- 6b14433: refactor: rename `change_queue` to `file_queue` https://github.com/opral/lix-sdk/issues/168 + + ```diff + -db.selectFrom("change_queue") + +db.selectFrom("file_queue") + ``` + +- 9f1765a: refactor: rename plugin_key: `lix_own_entity` to `lix_own_change_control` + + Closes https://github.com/opral/lix-sdk/issues/197 + +- c494dca: refactor: remove `change_set_label_author` table. + + Closes https://github.com/opral/lix-sdk/issues/227 + + Change set labels are now under own change control. Querying who created a label can happen via the change table itself. + +- fc5a5dd: fix: duplicate version changes + + Closes https://github.com/opral/lix-sdk/issues/217 by making version changes have a unique (entity_id, file_id, schema_key). + + Sync was buggy because the sync process is an async process. A client received multiple version changes for the same entity and inserted them https://github.com/opral/lix-sdk/issues/217#issuecomment-2549545901 without checking if the version change for the entity already exists. + +- 8c4ac57: refactor: rename `parent` to `from` in `createVersion()` https://github.com/opral/lix-sdk/issues/213 + + ```diff + -await createVersion({ lix, parent: currentVersion }) + +await createVersion({ lix, from: currentVersion }) + ``` + +- 8629faa: fix: queries against closed database + + closes https://github.com/opral/lix-sdk/issues/226 + +- de6d717: fix: type mismatch of `file.data` + + The type of `file.data` in `File` interface is changed from `ArrayBuffer` to `Uint8Array` to match the type of `Uint8Array` returned by SQLite and various file related APIs. + + ```diff + -file.data: ArrayBuffer + +file.data: Uint8Array + ``` + +- be9effa: Extract `toBlob()` from `lix.*` object https://github.com/opral/lix-sdk/issues/196 + + ```diff + - await lix.toBlob() + + await toBlob({ lix }) + ``` + +- b74e982: refactor: replace `#*` key syntax with `skip_change_control` column + + closes https://github.com/opral/lix-sdk/issues/191 + + Enables matching of flags and avoids re-names of keys. This change replaces the `#*` key syntax with a `skip_change_control` column in the `flags` table. + + ```diff + key_value = { + - key: "#mock_key", + + key: "mock_key", + + skip_change_control: true, + value: "mock_value", + } + ``` + +- 5eecc61: refactor: rename `file_id` of own changes from `null` to `lix_own_change_control` to avoid debugging confusions https://github.com/opral/lix-sdk/issues/194 + + ```diff + - file_id: null + + file_id: lix_own_change_control + ``` + ## 0.0.1 ### Patch Changes diff --git a/packages/lix-sdk/examples/server-protocol-handler-hono/CHANGELOG.md b/packages/lix-sdk/examples/server-protocol-handler-hono/CHANGELOG.md index 76fc8151bd..472be9fa11 100644 --- a/packages/lix-sdk/examples/server-protocol-handler-hono/CHANGELOG.md +++ b/packages/lix-sdk/examples/server-protocol-handler-hono/CHANGELOG.md @@ -1,5 +1,26 @@ # @lix-js/sdk-example-server-protocol-handler-hono +## 0.0.3 + +### Patch Changes + +- Updated dependencies [85eb03e] +- Updated dependencies [2d3ab95] +- Updated dependencies [d78a1bf] +- Updated dependencies [6b14433] +- Updated dependencies [9f1765a] +- Updated dependencies [c494dca] +- Updated dependencies [4d9d980] +- Updated dependencies [cc93bd9] +- Updated dependencies [fc5a5dd] +- Updated dependencies [8c4ac57] +- Updated dependencies [8629faa] +- Updated dependencies [de6d717] +- Updated dependencies [be9effa] +- Updated dependencies [b74e982] +- Updated dependencies [5eecc61] + - @lix-js/sdk@0.1.0 + ## 0.0.2 ### Patch Changes diff --git a/packages/lix-sdk/examples/server-protocol-handler-hono/package.json b/packages/lix-sdk/examples/server-protocol-handler-hono/package.json index 8036363b37..27df644922 100644 --- a/packages/lix-sdk/examples/server-protocol-handler-hono/package.json +++ b/packages/lix-sdk/examples/server-protocol-handler-hono/package.json @@ -2,7 +2,7 @@ "name": "@lix-js/sdk-example-server-protocol-handler-hono", "private": true, "type": "module", - "version": "0.0.2", + "version": "0.0.3", "license": "Apache-2.0", "scripts": { "dev": "node --experimental-strip-types ./src/main.ts", diff --git a/packages/lix-sdk/package.json b/packages/lix-sdk/package.json index c707d256c2..05c519ff9e 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.0.1", + "version": "0.1.0", "license": "Apache-2.0", "exports": { ".": "./dist/index.js" diff --git a/packages/lix-server-api-schema/CHANGELOG.md b/packages/lix-server-api-schema/CHANGELOG.md new file mode 100644 index 0000000000..b1fe9e305d --- /dev/null +++ b/packages/lix-server-api-schema/CHANGELOG.md @@ -0,0 +1,9 @@ +# @lix-js/server-api-schema + +## 0.1.1 + +### Patch Changes + +- 896602f: fix: emit .js file for node js + + Otherwise, node js will throw "UNKNOWN FILE EXTENSION .ts". diff --git a/packages/lix-server-api-schema/package.json b/packages/lix-server-api-schema/package.json index 1a8832fe43..7291e4b399 100644 --- a/packages/lix-server-api-schema/package.json +++ b/packages/lix-server-api-schema/package.json @@ -2,7 +2,7 @@ "private": true, "name": "@lix-js/server-api-schema", "type": "module", - "version": "0.1.0", + "version": "0.1.1", "license": "Apache-2.0", "exports": { ".": "./dist/schema.js" diff --git a/packages/lix-website-server/CHANGELOG.md b/packages/lix-website-server/CHANGELOG.md index 4c70124b94..082f0c8be9 100644 --- a/packages/lix-website-server/CHANGELOG.md +++ b/packages/lix-website-server/CHANGELOG.md @@ -1,5 +1,16 @@ # lix-website-server +## 0.0.2 + +### Patch Changes + +- Updated dependencies [c016fe4] +- Updated dependencies [be92eb8] +- Updated dependencies [31b7cda] +- Updated dependencies [8314f4c] + - lix-file-manager@0.1.0 + - csv-app@0.1.0 + ## 0.0.1 ### Patch Changes diff --git a/packages/lix-website-server/package.json b/packages/lix-website-server/package.json index 55885cf9e2..4a28649801 100644 --- a/packages/lix-website-server/package.json +++ b/packages/lix-website-server/package.json @@ -2,7 +2,7 @@ "name": "lix-website-server", "type": "module", "private": true, - "version": "0.0.1", + "version": "0.0.2", "scripts": { "dev": "tsx watch ./src/main.ts", "production": "tsx ./src/main.ts", diff --git a/packages/markdown-wc-doc-elements/CHANGELOG.md b/packages/markdown-wc-doc-elements/CHANGELOG.md new file mode 100644 index 0000000000..8a6c7c80e5 --- /dev/null +++ b/packages/markdown-wc-doc-elements/CHANGELOG.md @@ -0,0 +1,11 @@ +# @opral/markdown-wc-doc-elements + +## 0.2.0 + +### Minor Changes + +- 1f50c49: refactor: dual bundle dist output and index exports + + the output of the dist folder now includes bundled components that can be imported in the browser as well as the index.js file that exports the components for apps that are responsible for bundling the components themselves. + +- 015da74: Separate the markdown-wc-doc-elements package from the markdown-wc package. This package provides a set of custom elements that can be used to write (technical) documentation. diff --git a/packages/markdown-wc-doc-elements/package.json b/packages/markdown-wc-doc-elements/package.json index 4b130a98d9..030f725414 100644 --- a/packages/markdown-wc-doc-elements/package.json +++ b/packages/markdown-wc-doc-elements/package.json @@ -1,7 +1,7 @@ { "name": "@opral/markdown-wc-doc-elements", "type": "module", - "version": "0.1.4", + "version": "0.2.0", "publishConfig": { "access": "public" }, diff --git a/packages/markdown-wc/CHANGELOG.md b/packages/markdown-wc/CHANGELOG.md index 2fc9df22ab..a90ce29dfd 100644 --- a/packages/markdown-wc/CHANGELOG.md +++ b/packages/markdown-wc/CHANGELOG.md @@ -1,5 +1,23 @@ # @opral/markdown-wc +## 0.2.0 + +### Minor Changes + +- 015da74: Separate the markdown-wc-doc-elements package from the markdown-wc package. This package provides a set of custom elements that can be used to write (technical) documentation. +- 3c453b5: Refactor: Remove dependency on TailwindCSS to increase interoperability. +- 3c453b5: Ensure interoperability and portability by letting documents import components via frontmatter. + + ```diff + title: "Hello World" + +import: + + - "https://example.com/doc-card.js" + + - "https://example.com/doc-button.js" + --- + + # Hello World + ``` + ## 0.1.1 ### Patch Changes diff --git a/packages/markdown-wc/package.json b/packages/markdown-wc/package.json index e25919ec1f..4161a5fcc7 100644 --- a/packages/markdown-wc/package.json +++ b/packages/markdown-wc/package.json @@ -1,7 +1,7 @@ { "name": "@opral/markdown-wc", "type": "module", - "version": "0.1.0", + "version": "0.2.0", "private": true, "files": [ "./src",