Repository navigation
chore: merge main into next - #3664
christianhg wants to merge 27 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: 48332bf The changes in this PR will be included in the next version bump. This PR includes changesets to release 14 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Bundle Stats✅ No significant changes. All scenario measurements (34)🗺️
Significant means at least 1.0 KB and 1% gzip, or at least 5 ms and 10% import time. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
An `insert.break` mid-span in a three-span block splits the block and makes the moved spans reappear under their original keys in the new block, the shape the interpreter's key-reappearance oracle sweeps. No existing capture covers it. The snapshot is the fixture; consumers read `__fixtures__/wire-catalogue/block-split-multi-span.json`. `@portabletext/steps` reads the shared catalogue across packages for conformance and cannot regenerate captures itself (regeneration needs `createTestEditor`), so the scenario lands editor-side.
…d whether its default was prevented
…rep deadline's reason
The parent now kills the guard's process group whenever the guard exits, so a stage cannot outlive a guard that was killed before it could clean up. A guard started without IPC refuses to run.
…nt they had The prep's children get THUMBJAR_OUT_DIR and the other prep variables again, so the Japanese dictionary check writes its screenshot into the out dir. --out-dir and --page-dir resolve against the caller's directory once, and every child gets the absolute path.
The jar went to .cache inside the installed thumbjar package, which an install from npm puts in node_modules, a read-only store or a zip. It now goes to node_modules/.cache/thumbjar in the nearest package above the working directory, or under CACHE_DIR when that is set.
…ry is found find-cache-dir is deprecated in favour of find-cache-directory, which behaves the same. The README now says when fetch-u2-jar cannot find a cache directory, and the outside-a-package test can no longer download.
Brings main into next: the removal of the markdown package and the bump of the playground and doc examples to @portabletext/markdown ^2.9.4. Next already had its own copy of the removal. Both copies re-padded the same table in skills/portable-text-editor/SKILL.md differently, so that merge conflicted and resolves to next's version of the file, which has the same content. The bump merges cleanly.
Note
Medium Risk
Touches core editor value sync and patch emission; wrong handling of
childrencould corrupt nested block-object data, though the change is narrowly scoped to non-text blocks and is heavily tested.Overview
Fixes
@portabletext/editorso block objects that definechildrenas a normal array field (e.g. galleries, callouts witharrayField: 'children') no longer lose that data when syncing the engine.sync-machinenow strips and manageschildrenonly for text blocks;valueskeeps all properties on non-text block objects. Containers should load and update without spurious patches, and insert/move/paste/undo paths keep nested content.Adds broad regression tests (containers, history, paste, wire catalogue) and a changeset for the editor patch.
thumbjargainswindow.__selection()and richerrecordInputtelemetry (selection, composing, target ranges,defaultPrevented), with matching unit/device test updates for Japanese composition expectations.Bumps
@portabletext/markdownto ^2.9.4 in doc-examples and playground (lockfile).Reviewed by Cursor Bugbot for commit 12ce7b7. Bugbot is set up for automated code reviews on this repo. Configure here.