Skip to content

chore(deps): update dependency @portabletext/vue to v2 - #1535

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/portabletext-vue-2.x
Open

chore(deps): update dependency @portabletext/vue to v2#1535
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/portabletext-vue-2.x

Conversation

@renovate

@renovate renovate Bot commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@portabletext/vue ^1.0.14^2.0.0 age confidence

Release Notes

portabletext/vue-portabletext (@​portabletext/vue)

v2.0.0

Compare Source

Major Changes
When you will see a difference

Only if you load this package with require(), or build on Node.js 20 or earlier. If you already import it, or use a bundler, nothing changes.

What changes

The package no longer ships a CommonJS build. require("@portabletext/vue") will fail, where before it resolved to dist/vue-portable-text.cjs. Use import instead, or a dynamic await import() from a CommonJS file.

This brings the package in line with the rest of the Portable Text packages, which are already ESM only.

Node.js 20 reached end of life in April 2026. The package previously declared no engines range at all, so nothing was enforced.

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

Tests covering lists that start deep or skip levels will need updating.

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.


Configuration

📅 Schedule: (UTC)

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

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


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

This PR was generated by Mend Renovate. View the repository job log.

@netlify

netlify Bot commented Aug 17, 2026

Copy link
Copy Markdown

Deploy Preview for nuxt-sanity-module ready!

Name Link
🔨 Latest commit d80a0cf
🔍 Latest deploy log https://app.netlify.com/projects/nuxt-sanity-module/deploys/6a8286d506de67000809d76c
😎 Deploy Preview https://deploy-preview-1535--nuxt-sanity-module.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@pkg-pr-new

pkg-pr-new Bot commented Aug 17, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@nuxtjs/sanity@1535

commit: d80a0cf

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.

0 participants