Skip to content

Version Packages - #3591

Open
ecoscript[bot] wants to merge 1 commit into
mainfrom
changeset-release/main
Open

ecoscript[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@ecoscript

@ecoscript ecoscript Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@portabletext/editor@8.2.12

Patch Changes

  • #3589 4b5d159 Thanks @christianhg! - fix: clamp the caret to a span's new length when a children replacement shrinks it

  • #3589 694a6c8 Thanks @christianhg! - fix: keep a pending caret after its pending edit when the span shrinks

  • Updated dependencies [3729248]:

    • @portabletext/patches@3.0.4
    • @portabletext/repair@1.0.2

@portabletext/patches@3.0.4

Patch Changes

@portabletext/plugin-character-pair-decorator@9.0.26

Patch Changes

  • Updated dependencies []:
    • @portabletext/plugin-input-rule@7.0.26

@portabletext/plugin-decorations@1.0.13

Patch Changes

  • fix(deps): require @portabletext/editor@^8.2.12

@portabletext/plugin-dnd@2.0.27

Patch Changes

  • fix(deps): require @portabletext/editor@^8.2.12

@portabletext/plugin-emoji-picker@8.0.26

Patch Changes

  • Updated dependencies []:
    • @portabletext/plugin-input-rule@7.0.26

@portabletext/plugin-input-rule@7.0.26

Patch Changes

  • fix(deps): require @portabletext/editor@^8.2.12

@portabletext/plugin-list-index@2.0.25

Patch Changes

  • fix(deps): require @portabletext/editor@^8.2.12

@portabletext/plugin-markdown-shortcuts@9.0.26

Patch Changes

  • Updated dependencies []:
    • @portabletext/plugin-character-pair-decorator@9.0.26
    • @portabletext/plugin-input-rule@7.0.26

@portabletext/plugin-one-line@8.0.25

Patch Changes

  • fix(deps): require @portabletext/editor@^8.2.12

@portabletext/plugin-paste-link@5.0.25

Patch Changes

  • fix(deps): require @portabletext/editor@^8.2.12

@portabletext/plugin-sdk-value@8.1.20

Patch Changes

  • Updated dependencies [3729248]:
    • @portabletext/patches@3.0.4

@portabletext/plugin-table@2.0.25

Patch Changes

  • fix(deps): require @portabletext/editor@^8.2.12

@portabletext/plugin-typeahead-picker@7.0.26

Patch Changes

  • Updated dependencies []:
    • @portabletext/plugin-input-rule@7.0.26

@portabletext/plugin-typography@9.0.26

Patch Changes

  • Updated dependencies []:
    • @portabletext/plugin-input-rule@7.0.26

@portabletext/repair@1.0.2

Patch Changes

  • Updated dependencies [3729248]:
    • @portabletext/patches@3.0.4

@portabletext/toolbar@9.0.26

Patch Changes

  • fix(deps): require @portabletext/editor@^8.2.12

Note

Medium Risk
Releases targeted fixes to caret/selection after shrinking spans and patch path handling, which touch core editing and document updates but are scoped bugfixes rather than new behavior.

Overview
This is a Changesets release PR: it bumps package versions, updates changelogs, and removes the consumed changeset files—no new application code in the diff.

@portabletext/editor@8.2.12 ships two caret fixes when a span’s children is replaced and the text gets shorter: the caret is clamped to the span’s new length, and a pending caret stays tied to its pending edit instead of drifting past the shortened span. The editor also picks up @portabletext/patches@3.0.4 and @portabletext/repair@1.0.2.

@portabletext/patches@3.0.4 treats patches whose path has no field segment between two array indices as a no-op (leave the value unchanged), aligning compact-path behavior with Sanity.

Downstream packages (plugins, toolbar, plugin-sdk-value, repair) get patch releases mostly for dependency alignment on @portabletext/editor@^8.2.12 or @portabletext/patches@3.0.4.

Reviewed by Cursor Bugbot for commit 7f06be7. Bugbot is set up for automated code reviews on this repo. Configure here.

@vercel

vercel Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
portable-text-editor-documentation Ready Ready Preview Nov 5, 2026 7:53pm UTC
portable-text-example-basic Ready Ready Preview Nov 5, 2026 7:53pm UTC
portable-text-playground Ready Ready Preview Nov 5, 2026 7:53pm UTC

Request Review

@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Bundle Stats

✅ No significant changes.

All scenario measurements (37)

🗺️ @portabletext/block-tools / @portabletext/block-tools · @portabletext/block-tools / @portabletext/block-tools/rules · @portabletext/editor / @portabletext/editor · @portabletext/editor / @portabletext/editor/behaviors · @portabletext/editor / @portabletext/editor/plugins · @portabletext/editor / @portabletext/editor/selectors · @portabletext/editor / @portabletext/editor/traversal · @portabletext/editor / @portabletext/editor/utils · @portabletext/editor / defineSchema · @portabletext/editor / useEditor · @portabletext/editor / typical · @portabletext/html / @portabletext/html · @portabletext/html / @portabletext/html/rules · @portabletext/html / htmlToPortableText · @portabletext/keyboard-shortcuts / @portabletext/keyboard-shortcuts · @portabletext/markdown / @portabletext/markdown · @portabletext/markdown / portableTextToMarkdown · @portabletext/patches / @portabletext/patches · @portabletext/repair / @portabletext/repair · @portabletext/sanity-bridge / @portabletext/sanity-bridge · @portabletext/schema / @portabletext/schema · @portabletext/plugin-character-pair-decorator / @portabletext/plugin-character-pair-decorator · @portabletext/plugin-decorations / @portabletext/plugin-decorations · @portabletext/plugin-dnd / @portabletext/plugin-dnd · @portabletext/plugin-emoji-picker / @portabletext/plugin-emoji-picker · @portabletext/plugin-input-rule / @portabletext/plugin-input-rule · @portabletext/plugin-list-index / @portabletext/plugin-list-index · @portabletext/plugin-markdown-shortcuts / @portabletext/plugin-markdown-shortcuts · @portabletext/plugin-one-line / @portabletext/plugin-one-line · @portabletext/plugin-paste-link / @portabletext/plugin-paste-link · @portabletext/plugin-sdk-value / @portabletext/plugin-sdk-value · @portabletext/plugin-typeahead-picker / @portabletext/plugin-typeahead-picker · @portabletext/plugin-typography / @portabletext/plugin-typography · @portabletext/toolbar / @portabletext/toolbar · @portabletext/toolbar / typical · @portabletext/plugin-table / @portabletext/plugin-table · @portabletext/plugin-table / @portabletext/plugin-table/ui · Artifacts

Scenario Kind Bundle (raw / gzip) Gzip change Import time Import change
⚪ @portabletext/block-tools / @portabletext/block-tools export 338.3 KB / 40.0 KB None 181 ms -0 ms, -0.3%
⚪ @portabletext/block-tools / @portabletext/block-tools/rules export 15.2 KB / 2.1 KB None 5 ms +0 ms, +1.6%
⚪ @portabletext/editor / @portabletext/editor export 1.02 MB / 130.4 KB None 70 ms +0 ms, +0.0%
⚪ @portabletext/editor / @portabletext/editor/behaviors export 4.3 KB / 147 B None 2 ms +0 ms, +0.8%
⚪ @portabletext/editor / @portabletext/editor/plugins export 5.1 KB / 645 B None 7 ms -0 ms, -1.7%
⚪ @portabletext/editor / @portabletext/editor/selectors export 96.3 KB / 9.4 KB None 8 ms +0 ms, +0.6%
⚪ @portabletext/editor / @portabletext/editor/traversal export 46.6 KB / 4.2 KB None 6 ms -0 ms, -2.1%
⚪ @portabletext/editor / @portabletext/editor/utils export 32.8 KB / 4.1 KB None 6 ms -0 ms, -0.5%
⚪ @portabletext/editor / defineSchema consumer 658 B / 69 B None None None
⚪ @portabletext/editor / typical consumer 1.02 MB / 130.2 KB None None None
⚪ @portabletext/editor / useEditor consumer 1.6 KB / 248 B None None None
⚪ @portabletext/html / @portabletext/html export 69.3 KB / 10.1 KB None 7 ms +0 ms, +2.2%
⚪ @portabletext/html / @portabletext/html/rules export 15.2 KB / 2.1 KB None 4 ms -0 ms, -1.6%
⚪ @portabletext/html / htmlToPortableText consumer 69.3 KB / 10.1 KB None None None
⚪ @portabletext/keyboard-shortcuts / @portabletext/keyboard-shortcuts export 7.0 KB / 858 B None 2 ms -0 ms, -2.8%
⚪ @portabletext/markdown / @portabletext/markdown export 425.4 KB / 66.2 KB None 38 ms -0 ms, -1.3%
⚪ @portabletext/markdown / portableTextToMarkdown consumer 338.9 KB / 56.4 KB None None None
⚪ @portabletext/patches / @portabletext/patches export 50.0 KB / 7.7 KB None 4 ms -0 ms, -3.3%
⚪ @portabletext/plugin-character-pair-decorator / @portabletext/plugin-character-pair-decorator export 124.1 KB / 15.8 KB None None None
⚪ @portabletext/plugin-decorations / @portabletext/plugin-decorations export 16.4 KB / 2.3 KB None None None
⚪ @portabletext/plugin-dnd / @portabletext/plugin-dnd export 10.4 KB / 1.8 KB None None None
⚪ @portabletext/plugin-emoji-picker / @portabletext/plugin-emoji-picker export 150.1 KB / 18.6 KB None None None
⚪ @portabletext/plugin-input-rule / @portabletext/plugin-input-rule export 124.2 KB / 15.8 KB None None None
⚪ @portabletext/plugin-list-index / @portabletext/plugin-list-index export 7.4 KB / 1.1 KB None None None
⚪ @portabletext/plugin-markdown-shortcuts / @portabletext/plugin-markdown-shortcuts export 136.4 KB / 17.6 KB None None None
⚪ @portabletext/plugin-one-line / @portabletext/plugin-one-line export 2.6 KB / 608 B None None None
⚪ @portabletext/plugin-paste-link / @portabletext/plugin-paste-link export 4.3 KB / 1.0 KB None None None
⚪ @portabletext/plugin-sdk-value / @portabletext/plugin-sdk-value export 242.1 KB / 32.8 KB None None None
⚪ @portabletext/plugin-table / @portabletext/plugin-table export 61.1 KB / 7.1 KB None None None
⚪ @portabletext/plugin-table / @portabletext/plugin-table/ui export 114.6 KB / 19.5 KB None None None
⚪ @portabletext/plugin-typeahead-picker / @portabletext/plugin-typeahead-picker export 166.1 KB / 19.9 KB None None None
⚪ @portabletext/plugin-typography / @portabletext/plugin-typography export 131.1 KB / 17.0 KB None None None
⚪ @portabletext/repair / @portabletext/repair export 4.5 KB / 636 B None 3 ms -0 ms, -3.0%
⚪ @portabletext/sanity-bridge / @portabletext/sanity-bridge export 275.1 KB / 30.2 KB None 179 ms -5 ms, -2.7%
⚪ @portabletext/schema / @portabletext/schema export 9.9 KB / 1.2 KB None 2 ms +0 ms, +0.3%
⚪ @portabletext/toolbar / @portabletext/toolbar export 153.3 KB / 17.3 KB None None None
⚪ @portabletext/toolbar / typical consumer 145.6 KB / 16.9 KB None None None

Significant means at least 1.0 KB and 1% gzip, or at least 5 ms and 10% import time.

This branch was successfully deployed

3 active deployments
Preview – portable-text-editor-documentation — 7f06be7b Deployed Nov 5, 2026 by vercel[bot]
Preview – portable-text-playground — 7f06be7b Deployed Nov 5, 2026 by vercel[bot]
Preview – portable-text-example-basic — 7f06be7b Deployed Nov 5, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants