From 123adf185cec962236d7bb9266d74089767e3cec Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 27 Mar 2026 03:23:44 +0000 Subject: [PATCH] chore: version package for release --- .changeset/fix-mutation-input-and-custom-id.md | 15 --------------- CHANGELOG.md | 16 ++++++++++++++++ package.json | 2 +- 3 files changed, 17 insertions(+), 16 deletions(-) delete mode 100644 .changeset/fix-mutation-input-and-custom-id.md diff --git a/.changeset/fix-mutation-input-and-custom-id.md b/.changeset/fix-mutation-input-and-custom-id.md deleted file mode 100644 index 9379156..0000000 --- a/.changeset/fix-mutation-input-and-custom-id.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -"@_linked/core": patch ---- - -### Bug fixes - -- **`MutationQuery.convertNodeDescription()`** no longer mutates the caller's input object. Previously, `delete obj.id` / `delete obj.__id` operated directly on the passed-in object, causing shared references to lose their `id` across sequential creates. -- **`SparqlStore.createQuery()`** now respects a pre-set `data.id` from `__id` instead of always generating a new URI via `generateEntityUri()`. Entities created with custom identity (e.g. webID) are now stored under the correct URI. - -### Test infrastructure - -- Jest config simplified: `roots` + single `testMatch` pattern prevents duplicate test runs. -- Fuseki integration tests now call `ensureFuseki()` to auto-start Docker when Fuseki isn't running. -- Parallel test safety: `afterAll` clears data instead of deleting the shared dataset. -- Added regression tests for both fixes (unit + Fuseki integration). diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d908a7..ae6cf18 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## 2.2.2 + +### Patch Changes + +- [#40](https://github.com/Semantu/linked/pull/40) [`4688fdd`](https://github.com/Semantu/linked/commit/4688fdd3edb949ddca50886d51549aa543a99033) Thanks [@flyon](https://github.com/flyon)! - ### Bug fixes + + - **`MutationQuery.convertNodeDescription()`** no longer mutates the caller's input object. Previously, `delete obj.id` / `delete obj.__id` operated directly on the passed-in object, causing shared references to lose their `id` across sequential creates. + - **`SparqlStore.createQuery()`** now respects a pre-set `data.id` from `__id` instead of always generating a new URI via `generateEntityUri()`. Entities created with custom identity (e.g. webID) are now stored under the correct URI. + + ### Test infrastructure + + - Jest config simplified: `roots` + single `testMatch` pattern prevents duplicate test runs. + - Fuseki integration tests now call `ensureFuseki()` to auto-start Docker when Fuseki isn't running. + - Parallel test safety: `afterAll` clears data instead of deleting the shared dataset. + - Added regression tests for both fixes (unit + Fuseki integration). + ## 2.2.1 ### Patch Changes diff --git a/package.json b/package.json index 2219550..ddc632d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@_linked/core", - "version": "2.2.1", + "version": "2.2.2", "license": "MIT", "description": "Linked.js core query and SHACL shape DSL (copy-then-prune baseline)", "repository": {