Version Packages#2826
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
📦 Bundle Stats —
|
| Metric | Value | vs main (99c96b6) |
|---|---|---|
| Internal (raw) | 785.7 KB | - |
| Internal (gzip) | 150.0 KB | - |
| Bundled (raw) | 1.39 MB | - |
| Bundled (gzip) | 312.2 KB | - |
| Import time | 95ms | -2ms, -1.6% |
@portabletext/editor/behaviors
| Metric | Value | vs main (99c96b6) |
|---|---|---|
| Internal (raw) | 467 B | - |
| Internal (gzip) | 207 B | - |
| Bundled (raw) | 424 B | - |
| Bundled (gzip) | 171 B | - |
| Import time | 2ms | -0ms, -1.1% |
@portabletext/editor/plugins
| Metric | Value | vs main (99c96b6) |
|---|---|---|
| Internal (raw) | 2.7 KB | - |
| Internal (gzip) | 894 B | - |
| Bundled (raw) | 2.5 KB | - |
| Bundled (gzip) | 827 B | - |
| Import time | 7ms | -0ms, -0.6% |
@portabletext/editor/selectors
| Metric | Value | vs main (99c96b6) |
|---|---|---|
| Internal (raw) | 79.0 KB | - |
| Internal (gzip) | 14.5 KB | - |
| Bundled (raw) | 74.5 KB | - |
| Bundled (gzip) | 13.3 KB | - |
| Import time | 8ms | +0ms, +0.7% |
@portabletext/editor/traversal
| Metric | Value | vs main (99c96b6) |
|---|---|---|
| Internal (raw) | 25.1 KB | - |
| Internal (gzip) | 5.0 KB | - |
| Bundled (raw) | 25.0 KB | - |
| Bundled (gzip) | 4.9 KB | - |
| Import time | 6ms | -0ms, -0.5% |
@portabletext/editor/utils
| Metric | Value | vs main (99c96b6) |
|---|---|---|
| Internal (raw) | 29.3 KB | - |
| Internal (gzip) | 6.1 KB | - |
| Bundled (raw) | 26.8 KB | - |
| Bundled (gzip) | 5.8 KB | - |
| Import time | 6ms | +0ms, +0.8% |
🗺️ . · ./behaviors · ./plugins · ./selectors · ./traversal · ./utils · Artifacts
Details
- Import time regressions over 10% are flagged with
⚠️ - Sizes shown as raw / gzip 🗜️. Internal bytes = own code only. Total bytes = with all dependencies. Import time = Node.js cold-start median.
📦 Bundle Stats — @portabletext/markdown
Compared against main (99c96b6c)
| Metric | Value | vs main (99c96b6) |
|---|---|---|
| Internal (raw) | 53.0 KB | - |
| Internal (gzip) | 9.6 KB | - |
| Bundled (raw) | 348.2 KB | - |
| Bundled (gzip) | 96.1 KB | - |
| Import time | 39ms | +1ms, +3.6% |
🗺️ View treemap · Artifacts
Details
- Import time regressions over 10% are flagged with
⚠️ - Sizes shown as raw / gzip 🗜️. Internal bytes = own code only. Total bytes = with all dependencies. Import time = Node.js cold-start median.
christianhg
added a commit
that referenced
this pull request
Jun 19, 2026
…cus transient Focusing an empty editor emits `focused` and then programmatically sets the selection (`handleOnFocus` calls `editorEngine.select`). On Firefox that selection-set on a freshly-focused empty contenteditable transiently blurs and re-focuses the element, so the DOM event stream is `focused -> blurred -> focused`. The settled last event is `focused`, but under CI load it can arrive after the default 1s `vi.waitFor` window, so the wait exhausts while the last event is still the transient `blurred` and the test fails with `expected 'blurred' to deeply equal 'focused'`. This is a timing flake, not a wrong final state and not specific to any source change: it reproduces on the changeset release PR (#2826), which touches no source. Give the focus waits a 10s timeout (and the tests a 40s budget so a single slow wait is not capped by the default test timeout) so Firefox can reach the settled `focused` state under load. The existing `retry: 3` stays as a backstop. Behavior asserted is unchanged; only the time allowed to observe it.
7a54b15 to
958813d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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@7.6.2
Patch Changes
#2816
29091feThanks @christianhg! - fix: keepEngineString/TextStringuncompiled so the DOM-reconcile effect runs every renderIn 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.
@portabletext/plugin-character-pair-decorator@8.0.21
Patch Changes
29091fe]:@portabletext/plugin-dnd@1.0.6
Patch Changes
29091fe]:@portabletext/plugin-emoji-picker@7.0.21
Patch Changes
29091fe]:@portabletext/plugin-input-rule@5.0.21
Patch Changes
29091fe]:@portabletext/plugin-list-index@1.0.6
Patch Changes
29091fe]:@portabletext/plugin-markdown-shortcuts@8.0.21
Patch Changes
29091fe]:@portabletext/plugin-one-line@7.0.21
Patch Changes
29091fe]:@portabletext/plugin-paste-link@4.0.21
Patch Changes
29091fe]:@portabletext/plugin-sdk-value@7.0.21
Patch Changes
29091fe]:@portabletext/plugin-typeahead-picker@6.0.21
Patch Changes
29091fe]:@portabletext/plugin-typography@8.0.21
Patch Changes
29091fe]:@portabletext/toolbar@8.0.21
Patch Changes
29091fe]:@portabletext/plugin-table@0.0.17
Patch Changes
29091fe]: