Skip to content

fix(deps): update dependency @portabletext/to-html to v6 - #1907

Closed
squiggler-app[bot] wants to merge 1 commit into
mainfrom
renovate/portabletext-to-html-6.x
Closed

squiggler-app[bot] wants to merge 1 commit into
mainfrom
renovate/portabletext-to-html-6.x

Conversation

@squiggler-app

@squiggler-app squiggler-app Bot commented Aug 13, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@portabletext/to-html ^5.0.3 → ^6.0.0 age confidence

Release Notes

portabletext/to-html (@​portabletext/to-html)

v6.0.0

Compare Source

Major Changes
  • #​220 3e429a5 Thanks @​rexxars! - Node.js 22.12 or later is now required

    The 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 engines check. Nothing changes for browsers or for bundled output.

  • #​220 3e429a5 Thanks @​rexxars! - Lists now nest as deeply as their level says they do

When 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 level number on each block, and an editor lets an author produce both of those shapes. Previously the rendered nesting could be shallower than level said, 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:

<ul>
  <li>Level 3</li>
</ul>
<ul>
  <li>Level 1</li>
</ul>

They now render as one list, three levels deep, with the second item as a sibling at the top:

<ul>
  <li>
    <ul>
      <li>
        <ul>
          <li>Level 3</li>
        </ul>
      </li>
    </ul>
  </li>
  <li>Level 1</li>
</ul>

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:

li:has(> ul:only-child),
li:has(> ol:only-child) {
  list-style: none;
}

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)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate using a curated preset maintained by Sanity. View repository job log here

@squiggler-app
squiggler-app Bot requested a review from a team as a code owner August 13, 2026 09:52
@squiggler-app
squiggler-app Bot requested review from bjoerge and removed request for a team August 13, 2026 09:52
@squiggler-app
squiggler-app Bot enabled auto-merge (squash) August 13, 2026 09:52
@vercel

vercel Bot commented Aug 13, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
plugins-studio Ready Ready Preview Sep 28, 2026 3:44pm UTC
1 Skipped Deployment
Project Deployment Actions Updated
plugins-e2e-test-studio Ignored Ignored Sep 28, 2026 3:44pm UTC

Request Review

@changeset-bot

changeset-bot Bot commented Aug 13, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 711bebc

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions

github-actions Bot commented Aug 13, 2026 •

Copy link
Copy Markdown

✅ E2E Tests

🟢 41 passed • 🟡 3 flaky • view full report • view run

Studio: https://plugins-e2e-test-studio-h2u5bwvzf.sanity.dev

Datasets: pr-1907-chromium-36445743470, pr-1907-firefox-36445743470

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 061ef65. Configure here.

Comment thread pnpm-workspace.yaml
Comment thread pnpm-workspace.yaml
bjoerge
bjoerge previously approved these changes Aug 13, 2026
@squiggler-app
squiggler-app Bot force-pushed the renovate/portabletext-to-html-6.x branch from 061ef65 to c9d212d Compare August 17, 2026 20:15
@squiggler-app
squiggler-app Bot force-pushed the renovate/portabletext-to-html-6.x branch from c9d212d to 8053cfd Compare August 18, 2026 09:54
@squiggler-app
squiggler-app Bot force-pushed the renovate/portabletext-to-html-6.x branch from 8053cfd to e3b04cd Compare August 18, 2026 10:01
@squiggler-app
squiggler-app Bot force-pushed the renovate/portabletext-to-html-6.x branch from e3b04cd to e679c40 Compare August 18, 2026 10:23
@squiggler-app
squiggler-app Bot force-pushed the renovate/portabletext-to-html-6.x branch from e679c40 to cde7f70 Compare August 18, 2026 18:17
@squiggler-app
squiggler-app Bot force-pushed the renovate/portabletext-to-html-6.x branch from cde7f70 to 9b79190 Compare August 18, 2026 20:12
@squiggler-app
squiggler-app Bot force-pushed the renovate/portabletext-to-html-6.x branch from 9b79190 to 52eefad Compare August 18, 2026 21:23
stipsan
stipsan previously approved these changes Aug 28, 2026
stipsan
stipsan previously approved these changes Aug 29, 2026
stipsan
stipsan previously approved these changes Aug 31, 2026
stipsan
stipsan previously approved these changes Sep 1, 2026
stipsan
stipsan previously approved these changes Sep 3, 2026
stipsan
stipsan previously approved these changes Sep 3, 2026
stipsan
stipsan previously approved these changes Sep 4, 2026
@squiggler-app

squiggler-app Bot commented Oct 8, 2026

Copy link
Copy Markdown
Contributor Author

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 6.x releases. But if you manually upgrade to 6.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

This branch was successfully deployed

1 active deployment
Preview – plugins-studio — 711bebcb Deployed Sep 28, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants