Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions .changeset/fix-mutation-input-and-custom-id.md

This file was deleted.

16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down