Skip to content

Version Packages - #3184

Merged
christianhg merged 1 commit into
mainfrom
changeset-release/main
Aug 26, 2026
Merged

Version Packages#3184
christianhg merged 1 commit into
mainfrom
changeset-release/main

Conversation

@ecoscript

@ecoscript ecoscript Bot commented Aug 26, 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.0.3

Patch Changes

  • #3182 ec6191e Thanks @christianhg! - fix: locate a renamed node by its new key when undoing a _key change

    Undoing an edit that renamed a node's own _key (a collision-avoiding rename ahead of a block merge, for example) left the node stuck under its new key instead of restoring the old one: the undo step tried to find the node by the key it had before the rename, which no longer resolved to anything once the rename had applied. Undoing now locates the node by its current key first, so a rename reverts cleanly along with everything else in the same undo step.

  • #3182 f910394 Thanks @christianhg! - fix: re-point positions only at the renamed node's own path when a _key changes

    Renaming a node's _key no longer drags carets, selections, or tracked ranges sitting on an unrelated node that happens to carry the same key (keys are only unique among siblings, so twins across blocks are legal). Positions on the renamed node itself follow the rename as before; everything else stays put.

  • #3182 e653db5 Thanks @christianhg! - fix: rename colliding keys before a text block merge deletes the merging block

    Merging a text block into its neighbor (backspace at its start, or forward delete at the end of the block before it) could silently mint fresh _keys for any child span or annotation whose key collided with one already in the destination block. On the wire this read as those nodes being destroyed and re-created rather than moved, so a collaborator applying the same patches lost their caret through the merge instead of following it. The merge now renames the colliding keys first, so the emitted patches express the rename followed by the move instead of a destroy-and-create.

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

Patch Changes

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

@portabletext/plugin-emoji-picker@8.0.3

Patch Changes

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

@portabletext/plugin-markdown-shortcuts@9.0.3

Patch Changes

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

@portabletext/plugin-typeahead-picker@7.0.3

Patch Changes

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

@portabletext/plugin-typography@9.0.3

Patch Changes

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

@portabletext/plugin-dnd@2.0.3

@portabletext/plugin-input-rule@7.0.3

@portabletext/plugin-list-index@2.0.3

@portabletext/plugin-one-line@8.0.3

@portabletext/plugin-paste-link@5.0.3

@portabletext/plugin-sdk-value@8.0.3

@portabletext/plugin-table@2.0.3

@portabletext/toolbar@9.0.3

@vercel

vercel Bot commented Aug 26, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
portable-text-editor-documentation Building Building Preview Aug 26, 2026 11:29am
portable-text-example-basic Ready Ready Preview Aug 26, 2026 11:29am
portable-text-playground Ready Ready Preview Aug 26, 2026 11:29am

Request Review

@github-actions

github-actions Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Bundle Stats

✅ No significant changes.

All scenario measurements (7)

🗺️ @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/markdown / @portabletext/markdown · Artifacts

Scenario Kind Bundle (raw / gzip) Gzip change Import time Import change
⚪ @portabletext/editor / @portabletext/editor export 1.09 MB / 252.4 KB None 70 ms -0 ms, -0.1%
⚪ @portabletext/editor / @portabletext/editor/behaviors export 4.0 KB / 1.4 KB None 2 ms +0 ms, +0.8%
⚪ @portabletext/editor / @portabletext/editor/plugins export 5.1 KB / 1.8 KB None 7 ms +0 ms, +0.7%
⚪ @portabletext/editor / @portabletext/editor/selectors export 93.4 KB / 21.3 KB None 8 ms -0 ms, -1.4%
⚪ @portabletext/editor / @portabletext/editor/traversal export 41.4 KB / 10.7 KB None 6 ms -0 ms, -3.5%
⚪ @portabletext/editor / @portabletext/editor/utils export 32.8 KB / 8.6 KB None 6 ms -0 ms, -1.8%
⚪ @portabletext/markdown / @portabletext/markdown export 272.2 KB / 79.6 KB None 39 ms -0 ms, -1.0%

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

@christianhg
christianhg merged commit d4d277e into main Aug 26, 2026
16 checks passed
@christianhg
christianhg deleted the changeset-release/main branch August 26, 2026 12:30
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.

1 participant