From 958813df66ae468151962dadeea834f5e15554f2 Mon Sep 17 00:00:00 2001 From: "ecoscript[bot]" <143032650+ecoscript[bot]@users.noreply.github.com> Date: Fri, 19 Jun 2026 09:54:55 +0000 Subject: [PATCH] Version Packages --- .changeset/string-reconcile-react-compiler.md | 11 ----------- packages/editor/CHANGELOG.md | 12 ++++++++++++ packages/editor/package.json | 2 +- .../plugin-character-pair-decorator/CHANGELOG.md | 7 +++++++ .../plugin-character-pair-decorator/package.json | 2 +- packages/plugin-dnd/CHANGELOG.md | 7 +++++++ packages/plugin-dnd/package.json | 2 +- packages/plugin-emoji-picker/CHANGELOG.md | 8 ++++++++ packages/plugin-emoji-picker/package.json | 4 ++-- packages/plugin-input-rule/CHANGELOG.md | 7 +++++++ packages/plugin-input-rule/package.json | 4 ++-- packages/plugin-list-index/CHANGELOG.md | 7 +++++++ packages/plugin-list-index/package.json | 2 +- packages/plugin-markdown-shortcuts/CHANGELOG.md | 9 +++++++++ packages/plugin-markdown-shortcuts/package.json | 2 +- packages/plugin-one-line/CHANGELOG.md | 7 +++++++ packages/plugin-one-line/package.json | 2 +- packages/plugin-paste-link/CHANGELOG.md | 7 +++++++ packages/plugin-paste-link/package.json | 2 +- packages/plugin-sdk-value/CHANGELOG.md | 7 +++++++ packages/plugin-sdk-value/package.json | 2 +- packages/plugin-table/CHANGELOG.md | 7 +++++++ packages/plugin-table/package.json | 2 +- packages/plugin-typeahead-picker/CHANGELOG.md | 8 ++++++++ packages/plugin-typeahead-picker/package.json | 4 ++-- packages/plugin-typography/CHANGELOG.md | 8 ++++++++ packages/plugin-typography/package.json | 4 ++-- packages/toolbar/CHANGELOG.md | 7 +++++++ packages/toolbar/package.json | 4 ++-- 29 files changed, 127 insertions(+), 30 deletions(-) delete mode 100644 .changeset/string-reconcile-react-compiler.md diff --git a/.changeset/string-reconcile-react-compiler.md b/.changeset/string-reconcile-react-compiler.md deleted file mode 100644 index d68b800d2d..0000000000 --- a/.changeset/string-reconcile-react-compiler.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@portabletext/editor": patch ---- - -fix: keep `EngineString`/`TextString` uncompiled so the DOM-reconcile effect runs every render - -In builds that compile the editor with React Compiler, a browser edit that -diverged from the model could leave a stray character in the rendered text -while the document itself stayed correct (for example, typing immediately -after toggling a decorator at a collapsed cursor). The rendered text now -always matches the document again. diff --git a/packages/editor/CHANGELOG.md b/packages/editor/CHANGELOG.md index 8863e8e721..0f029b49b7 100644 --- a/packages/editor/CHANGELOG.md +++ b/packages/editor/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## 7.6.2 + +### Patch Changes + +- [#2816](https://github.com/portabletext/editor/pull/2816) [`29091fe`](https://github.com/portabletext/editor/commit/29091fe7c4d11c5bfc2907d24d921c3a0206bf8a) Thanks [@christianhg](https://github.com/christianhg)! - fix: keep `EngineString`/`TextString` uncompiled so the DOM-reconcile effect runs every render + + In builds that compile the editor with React Compiler, a browser edit that + diverged from the model could leave a stray character in the rendered text + while the document itself stayed correct (for example, typing immediately + after toggling a decorator at a collapsed cursor). The rendered text now + always matches the document again. + ## 7.6.1 ### Patch Changes diff --git a/packages/editor/package.json b/packages/editor/package.json index bdc8c41547..9d4a7e388f 100644 --- a/packages/editor/package.json +++ b/packages/editor/package.json @@ -1,6 +1,6 @@ { "name": "@portabletext/editor", - "version": "7.6.1", + "version": "7.6.2", "description": "Portable Text Editor made in React", "keywords": [ "sanity", diff --git a/packages/plugin-character-pair-decorator/CHANGELOG.md b/packages/plugin-character-pair-decorator/CHANGELOG.md index e1d9ff91c0..9aba792cfa 100644 --- a/packages/plugin-character-pair-decorator/CHANGELOG.md +++ b/packages/plugin-character-pair-decorator/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 8.0.21 + +### Patch Changes + +- Updated dependencies [[`29091fe`](https://github.com/portabletext/editor/commit/29091fe7c4d11c5bfc2907d24d921c3a0206bf8a)]: + - @portabletext/editor@7.6.2 + ## 8.0.20 ### Patch Changes diff --git a/packages/plugin-character-pair-decorator/package.json b/packages/plugin-character-pair-decorator/package.json index a23897e01d..da39467dd6 100644 --- a/packages/plugin-character-pair-decorator/package.json +++ b/packages/plugin-character-pair-decorator/package.json @@ -1,6 +1,6 @@ { "name": "@portabletext/plugin-character-pair-decorator", - "version": "8.0.20", + "version": "8.0.21", "description": "Automatically match a pair of characters and decorate the text in between", "keywords": [ "portabletext", diff --git a/packages/plugin-dnd/CHANGELOG.md b/packages/plugin-dnd/CHANGELOG.md index 0cbead6bee..2216d99716 100644 --- a/packages/plugin-dnd/CHANGELOG.md +++ b/packages/plugin-dnd/CHANGELOG.md @@ -1,5 +1,12 @@ # @portabletext/plugin-dnd +## 1.0.6 + +### Patch Changes + +- Updated dependencies [[`29091fe`](https://github.com/portabletext/editor/commit/29091fe7c4d11c5bfc2907d24d921c3a0206bf8a)]: + - @portabletext/editor@7.6.2 + ## 1.0.5 ### Patch Changes diff --git a/packages/plugin-dnd/package.json b/packages/plugin-dnd/package.json index 4dd134210d..fa517bd21d 100644 --- a/packages/plugin-dnd/package.json +++ b/packages/plugin-dnd/package.json @@ -1,6 +1,6 @@ { "name": "@portabletext/plugin-dnd", - "version": "1.0.5", + "version": "1.0.6", "description": "A helper plugin for tracking the drop position during drag and drop", "keywords": [ "portabletext", diff --git a/packages/plugin-emoji-picker/CHANGELOG.md b/packages/plugin-emoji-picker/CHANGELOG.md index 421b302359..151d1c20d7 100644 --- a/packages/plugin-emoji-picker/CHANGELOG.md +++ b/packages/plugin-emoji-picker/CHANGELOG.md @@ -1,5 +1,13 @@ # @portabletext/plugin-emoji-picker +## 7.0.21 + +### Patch Changes + +- Updated dependencies [[`29091fe`](https://github.com/portabletext/editor/commit/29091fe7c4d11c5bfc2907d24d921c3a0206bf8a)]: + - @portabletext/editor@7.6.2 + - @portabletext/plugin-input-rule@5.0.21 + ## 7.0.20 ### Patch Changes diff --git a/packages/plugin-emoji-picker/package.json b/packages/plugin-emoji-picker/package.json index 23ff4ea096..d0c4d3d60d 100644 --- a/packages/plugin-emoji-picker/package.json +++ b/packages/plugin-emoji-picker/package.json @@ -1,6 +1,6 @@ { "name": "@portabletext/plugin-emoji-picker", - "version": "7.0.20", + "version": "7.0.21", "description": "Easily configure an Emoji Picker for the Portable Text Editor", "keywords": [ "portabletext", @@ -77,7 +77,7 @@ "vitest": "^4.1.8" }, "peerDependencies": { - "@portabletext/editor": "workspace:^7.6.1", + "@portabletext/editor": "workspace:^7.6.2", "react": "^19.2" }, "engines": { diff --git a/packages/plugin-input-rule/CHANGELOG.md b/packages/plugin-input-rule/CHANGELOG.md index 9eaedac776..96149308f8 100644 --- a/packages/plugin-input-rule/CHANGELOG.md +++ b/packages/plugin-input-rule/CHANGELOG.md @@ -1,5 +1,12 @@ # @portabletext/plugin-input-rule +## 5.0.21 + +### Patch Changes + +- Updated dependencies [[`29091fe`](https://github.com/portabletext/editor/commit/29091fe7c4d11c5bfc2907d24d921c3a0206bf8a)]: + - @portabletext/editor@7.6.2 + ## 5.0.20 ### Patch Changes diff --git a/packages/plugin-input-rule/package.json b/packages/plugin-input-rule/package.json index afc90aa297..c33ce5f3d3 100644 --- a/packages/plugin-input-rule/package.json +++ b/packages/plugin-input-rule/package.json @@ -1,6 +1,6 @@ { "name": "@portabletext/plugin-input-rule", - "version": "5.0.20", + "version": "5.0.21", "description": "Easily configure input rules in the Portable Text Editor", "keywords": [ "portabletext", @@ -75,7 +75,7 @@ "vitest": "^4.1.8" }, "peerDependencies": { - "@portabletext/editor": "workspace:^7.6.1", + "@portabletext/editor": "workspace:^7.6.2", "react": "^19.2" }, "engines": { diff --git a/packages/plugin-list-index/CHANGELOG.md b/packages/plugin-list-index/CHANGELOG.md index e8e7dd8c0b..1bff1f0e27 100644 --- a/packages/plugin-list-index/CHANGELOG.md +++ b/packages/plugin-list-index/CHANGELOG.md @@ -1,5 +1,12 @@ # @portabletext/plugin-list-index +## 1.0.6 + +### Patch Changes + +- Updated dependencies [[`29091fe`](https://github.com/portabletext/editor/commit/29091fe7c4d11c5bfc2907d24d921c3a0206bf8a)]: + - @portabletext/editor@7.6.2 + ## 1.0.5 ### Patch Changes diff --git a/packages/plugin-list-index/package.json b/packages/plugin-list-index/package.json index 604fad7422..1294b8f3ee 100644 --- a/packages/plugin-list-index/package.json +++ b/packages/plugin-list-index/package.json @@ -1,6 +1,6 @@ { "name": "@portabletext/plugin-list-index", - "version": "1.0.5", + "version": "1.0.6", "description": "A helper plugin for calculating list indices for flat blocks based on listItem and level", "keywords": [ "portabletext", diff --git a/packages/plugin-markdown-shortcuts/CHANGELOG.md b/packages/plugin-markdown-shortcuts/CHANGELOG.md index 3af9ff3351..bd8747f677 100644 --- a/packages/plugin-markdown-shortcuts/CHANGELOG.md +++ b/packages/plugin-markdown-shortcuts/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 8.0.21 + +### Patch Changes + +- Updated dependencies [[`29091fe`](https://github.com/portabletext/editor/commit/29091fe7c4d11c5bfc2907d24d921c3a0206bf8a)]: + - @portabletext/editor@7.6.2 + - @portabletext/plugin-character-pair-decorator@8.0.21 + - @portabletext/plugin-input-rule@5.0.21 + ## 8.0.20 ### Patch Changes diff --git a/packages/plugin-markdown-shortcuts/package.json b/packages/plugin-markdown-shortcuts/package.json index 147315af64..2b14f46a20 100644 --- a/packages/plugin-markdown-shortcuts/package.json +++ b/packages/plugin-markdown-shortcuts/package.json @@ -1,6 +1,6 @@ { "name": "@portabletext/plugin-markdown-shortcuts", - "version": "8.0.20", + "version": "8.0.21", "description": "Adds helpful Markdown shortcuts to the editor", "keywords": [ "portabletext", diff --git a/packages/plugin-one-line/CHANGELOG.md b/packages/plugin-one-line/CHANGELOG.md index 16896533e2..48cdabafc9 100644 --- a/packages/plugin-one-line/CHANGELOG.md +++ b/packages/plugin-one-line/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 7.0.21 + +### Patch Changes + +- Updated dependencies [[`29091fe`](https://github.com/portabletext/editor/commit/29091fe7c4d11c5bfc2907d24d921c3a0206bf8a)]: + - @portabletext/editor@7.6.2 + ## 7.0.20 ### Patch Changes diff --git a/packages/plugin-one-line/package.json b/packages/plugin-one-line/package.json index 9f755cf4ac..6bca4acbb6 100644 --- a/packages/plugin-one-line/package.json +++ b/packages/plugin-one-line/package.json @@ -1,6 +1,6 @@ { "name": "@portabletext/plugin-one-line", - "version": "7.0.20", + "version": "7.0.21", "description": "🤏 Restricts the Portable Text Editor to a single line", "keywords": [ "portabletext", diff --git a/packages/plugin-paste-link/CHANGELOG.md b/packages/plugin-paste-link/CHANGELOG.md index 9b9eb912af..0af461d582 100644 --- a/packages/plugin-paste-link/CHANGELOG.md +++ b/packages/plugin-paste-link/CHANGELOG.md @@ -1,5 +1,12 @@ # @portabletext/plugin-paste-link +## 4.0.21 + +### Patch Changes + +- Updated dependencies [[`29091fe`](https://github.com/portabletext/editor/commit/29091fe7c4d11c5bfc2907d24d921c3a0206bf8a)]: + - @portabletext/editor@7.6.2 + ## 4.0.20 ### Patch Changes diff --git a/packages/plugin-paste-link/package.json b/packages/plugin-paste-link/package.json index 33cbeeb13f..e1bd5db67a 100644 --- a/packages/plugin-paste-link/package.json +++ b/packages/plugin-paste-link/package.json @@ -1,6 +1,6 @@ { "name": "@portabletext/plugin-paste-link", - "version": "4.0.20", + "version": "4.0.21", "description": "Allows pasting links in the Portable Text Editor", "keywords": [ "portabletext", diff --git a/packages/plugin-sdk-value/CHANGELOG.md b/packages/plugin-sdk-value/CHANGELOG.md index d13175e200..ecd928d94c 100644 --- a/packages/plugin-sdk-value/CHANGELOG.md +++ b/packages/plugin-sdk-value/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 7.0.21 + +### Patch Changes + +- Updated dependencies [[`29091fe`](https://github.com/portabletext/editor/commit/29091fe7c4d11c5bfc2907d24d921c3a0206bf8a)]: + - @portabletext/editor@7.6.2 + ## 7.0.20 ### Patch Changes diff --git a/packages/plugin-sdk-value/package.json b/packages/plugin-sdk-value/package.json index f27ce19e82..66d06b9d50 100644 --- a/packages/plugin-sdk-value/package.json +++ b/packages/plugin-sdk-value/package.json @@ -1,6 +1,6 @@ { "name": "@portabletext/plugin-sdk-value", - "version": "7.0.20", + "version": "7.0.21", "description": "Synchronizes the Portable Text Editor value with the Sanity SDK, allowing for two-way editing.", "keywords": [ "portabletext", diff --git a/packages/plugin-table/CHANGELOG.md b/packages/plugin-table/CHANGELOG.md index d86165a916..d4bb013554 100644 --- a/packages/plugin-table/CHANGELOG.md +++ b/packages/plugin-table/CHANGELOG.md @@ -1,5 +1,12 @@ # @portabletext/plugin-table +## 0.0.17 + +### Patch Changes + +- Updated dependencies [[`29091fe`](https://github.com/portabletext/editor/commit/29091fe7c4d11c5bfc2907d24d921c3a0206bf8a)]: + - @portabletext/editor@7.6.2 + ## 0.0.16 ### Patch Changes diff --git a/packages/plugin-table/package.json b/packages/plugin-table/package.json index 53a9375bf6..7bd13c3893 100644 --- a/packages/plugin-table/package.json +++ b/packages/plugin-table/package.json @@ -1,6 +1,6 @@ { "name": "@portabletext/plugin-table", - "version": "0.0.16", + "version": "0.0.17", "private": true, "description": "📊 Table support for the Portable Text Editor", "keywords": [ diff --git a/packages/plugin-typeahead-picker/CHANGELOG.md b/packages/plugin-typeahead-picker/CHANGELOG.md index 4720eeb000..b69cccb223 100644 --- a/packages/plugin-typeahead-picker/CHANGELOG.md +++ b/packages/plugin-typeahead-picker/CHANGELOG.md @@ -1,5 +1,13 @@ # @portabletext/plugin-typeahead-picker +## 6.0.21 + +### Patch Changes + +- Updated dependencies [[`29091fe`](https://github.com/portabletext/editor/commit/29091fe7c4d11c5bfc2907d24d921c3a0206bf8a)]: + - @portabletext/editor@7.6.2 + - @portabletext/plugin-input-rule@5.0.21 + ## 6.0.20 ### Patch Changes diff --git a/packages/plugin-typeahead-picker/package.json b/packages/plugin-typeahead-picker/package.json index ecd970c534..d5ca5c1e86 100644 --- a/packages/plugin-typeahead-picker/package.json +++ b/packages/plugin-typeahead-picker/package.json @@ -1,6 +1,6 @@ { "name": "@portabletext/plugin-typeahead-picker", - "version": "6.0.20", + "version": "6.0.21", "description": "Generic typeahead picker infrastructure for the Portable Text Editor", "keywords": [ "portabletext", @@ -82,7 +82,7 @@ "vitest": "^4.1.8" }, "peerDependencies": { - "@portabletext/editor": "workspace:^7.6.1", + "@portabletext/editor": "workspace:^7.6.2", "react": "^19.2" }, "engines": { diff --git a/packages/plugin-typography/CHANGELOG.md b/packages/plugin-typography/CHANGELOG.md index 91d9de7a9f..1d418b33fe 100644 --- a/packages/plugin-typography/CHANGELOG.md +++ b/packages/plugin-typography/CHANGELOG.md @@ -1,5 +1,13 @@ # @portabletext/plugin-typography +## 8.0.21 + +### Patch Changes + +- Updated dependencies [[`29091fe`](https://github.com/portabletext/editor/commit/29091fe7c4d11c5bfc2907d24d921c3a0206bf8a)]: + - @portabletext/editor@7.6.2 + - @portabletext/plugin-input-rule@5.0.21 + ## 8.0.20 ### Patch Changes diff --git a/packages/plugin-typography/package.json b/packages/plugin-typography/package.json index 37f953f926..f3d318c213 100644 --- a/packages/plugin-typography/package.json +++ b/packages/plugin-typography/package.json @@ -1,6 +1,6 @@ { "name": "@portabletext/plugin-typography", - "version": "8.0.20", + "version": "8.0.21", "description": "Automatically transform text to typographic variants", "keywords": [ "portabletext", @@ -74,7 +74,7 @@ "vitest": "^4.1.8" }, "peerDependencies": { - "@portabletext/editor": "workspace:^7.6.1", + "@portabletext/editor": "workspace:^7.6.2", "react": "^19.2" }, "engines": { diff --git a/packages/toolbar/CHANGELOG.md b/packages/toolbar/CHANGELOG.md index f2bf3fc24c..3120225d65 100644 --- a/packages/toolbar/CHANGELOG.md +++ b/packages/toolbar/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 8.0.21 + +### Patch Changes + +- Updated dependencies [[`29091fe`](https://github.com/portabletext/editor/commit/29091fe7c4d11c5bfc2907d24d921c3a0206bf8a)]: + - @portabletext/editor@7.6.2 + ## 8.0.20 ### Patch Changes diff --git a/packages/toolbar/package.json b/packages/toolbar/package.json index 54d3f3ff4e..c48f6ef341 100644 --- a/packages/toolbar/package.json +++ b/packages/toolbar/package.json @@ -1,6 +1,6 @@ { "name": "@portabletext/toolbar", - "version": "8.0.20", + "version": "8.0.21", "description": "Utilities for building a toolbar for the Portable Text Editor", "keywords": [ "portabletext", @@ -73,7 +73,7 @@ "vitest": "^4.1.8" }, "peerDependencies": { - "@portabletext/editor": "workspace:^7.6.1", + "@portabletext/editor": "workspace:^7.6.2", "react": "^19.2.5" }, "engines": {