fix(deps): update dependency @portabletext/to-html to v6 - autoclosed - #3070
Closed
renovate[bot] wants to merge 2 commits into
Closed
fix(deps): update dependency @portabletext/to-html to v6 - autoclosed#3070renovate[bot] wants to merge 2 commits into
renovate[bot] wants to merge 2 commits into
Conversation
🦋 Changeset detectedLatest commit: 8a6e60d 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 |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
📦 Bundle Stats —
|
| Metric | Value | vs main (f5b2c7f) |
|---|---|---|
| Internal (raw) | 807.1 KB | - |
| Internal (gzip) | 179.6 KB | - |
| Bundled (raw) | 1.42 MB | - |
| Bundled (gzip) | 348.5 KB | - |
| Import time | 98ms | -0ms, -0.3% |
@portabletext/editor/behaviors
| Metric | Value | vs main (f5b2c7f) |
|---|---|---|
| Internal (raw) | 4.2 KB | - |
| Internal (gzip) | 1.4 KB | - |
| Bundled (raw) | 3.9 KB | - |
| Bundled (gzip) | 1.3 KB | - |
| Import time | 2ms | +0ms, +1.4% |
@portabletext/editor/plugins
| Metric | Value | vs main (f5b2c7f) |
|---|---|---|
| Internal (raw) | 5.2 KB | - |
| Internal (gzip) | 1.8 KB | - |
| Bundled (raw) | 5.0 KB | - |
| Bundled (gzip) | 1.7 KB | - |
| Import time | 7ms | -0ms, -0.4% |
@portabletext/editor/selectors
| Metric | Value | vs main (f5b2c7f) |
|---|---|---|
| Internal (raw) | 96.4 KB | - |
| Internal (gzip) | 22.3 KB | - |
| Bundled (raw) | 92.5 KB | - |
| Bundled (gzip) | 21.0 KB | - |
| Import time | 8ms | +0ms, +2.7% |
@portabletext/editor/traversal
| Metric | Value | vs main (f5b2c7f) |
|---|---|---|
| Internal (raw) | 40.6 KB | - |
| Internal (gzip) | 10.6 KB | - |
| Bundled (raw) | 41.1 KB | - |
| Bundled (gzip) | 10.6 KB | - |
| Import time | 6ms | +0ms, +0.5% |
@portabletext/editor/utils
| Metric | Value | vs main (f5b2c7f) |
|---|---|---|
| Internal (raw) | 34.1 KB | - |
| Internal (gzip) | 8.7 KB | - |
| Bundled (raw) | 32.5 KB | - |
| Bundled (gzip) | 8.5 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 (f5b2c7f5)
| Metric | Value | vs main (f5b2c7f) |
|---|---|---|
| Internal (raw) | 50.9 KB | - |
| Internal (gzip) | 11.1 KB | - |
| Bundled (raw) | 345.9 KB | - |
| Bundled (gzip) | 97.7 KB | - |
| Import time | 40ms | -0ms, -0.7% |
🗺️ 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.
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
renovate
Bot
force-pushed
the
renovate/portabletext-to-html-6.x
branch
from
August 14, 2026 11:09
f8026d2 to
d14f3fc
Compare
christianhg
requested changes
Aug 14, 2026
christianhg
left a comment
Member
There was a problem hiding this comment.
#3072 needs to merge first
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 contains the following updates:
^5.0.3→^6.0.0Release Notes
portabletext/to-html (@portabletext/to-html)
v6.0.0Compare Source
Major Changes
#220
3e429a5Thanks @rexxars! - Node.js 22.12 or later is now requiredThe previous range also allowed Node.js 20.19 and later. Node.js 20 reached end of life in April 2026, so it is no longer supported here.
If you render on Node.js 20, upgrade to 22.12 or later before taking this version. Installing on an older release will fail the
enginescheck. Nothing changes for browsers or for bundled output.#220
3e429a5Thanks @rexxars! - Lists now nest as deeply as theirlevelsays they doWhen you will see a difference
Only when your content has a list item that starts deeper than level 1, or that jumps more than one level at a time, such as going straight from level 1 to level 3. Lists that start at level 1 and change one level at a time render exactly as before.
Portable Text stores list nesting as a flat
levelnumber on each block, and an editor lets an author produce both of those shapes. Previously the rendered nesting could be shallower thanlevelsaid, and an item returning to a shallower level could start a new list instead of continuing the one it belonged to, which restarts the numbering of an<ol>.What changes
Two list items, the first at level 3 and the second at level 1, used to render as two unrelated lists:
They now render as one list, three levels deep, with the second item as a sibling at the top:
The levels nobody authored have to be filled with something, and HTML can only put a list inside a list item, so they become empty list items. A browser draws a bullet or a number for each of them.
What you may need to do
Snapshot tests and any stored HTML covering lists that start deep or skip levels will need regenerating.
If the empty markers are visible somewhere you do not want them, the durable fix is the content itself, since a list skipping from level 1 to level 3 usually means an authoring mistake. To hide them in the meantime, target list items whose only child is a nested list:
Note that in an
<ol>this hides the number but the item still counts, so the numbering of the items after it is unchanged.Fixes #108
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate using a curated preset maintained by
. View repository job log here