Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jul 24, 2025

This PR contains the following updates:

Package Change Age Confidence
nextra 2.13.4 -> 4.2.17 age confidence
nextra-theme-docs 2.13.4 -> 4.2.17 age confidence

Release Notes

shuding/nextra (nextra)

v4.2.17

Compare Source

Patch Changes
  • a7db0e6: fix: use correct ReactNode zod validation for Layout.footer/banner/editLink/feedback.content/toc.backToTop/toc.extraContent/toc.title/search and Navbar.children/projectIcon/chatIcon
  • aac469e: fix: improve sidebar folder item arrow animation
  • Updated dependencies [a7db0e6]
  • Updated dependencies [18e7fb9]
    • nextra@4.2.17

v4.2.16

Compare Source

Patch Changes
  • 2cfaacc: fix: frozen spinner on loading state in search results by updating Tailwind CSS to v4.0.10
  • Updated dependencies [2cfaacc]
    • nextra@4.2.16

v4.2.15

Compare Source

Patch Changes
  • 5617e04: fix: loading state in search results was only visible during the first search
  • Updated dependencies [5617e04]
    • nextra@4.2.15

v4.2.14

Compare Source

Patch Changes
  • ccb5da2: removing custom nextra's scrollbar styles, allowing the browser's default scrollbars to be used
  • Updated dependencies [ccb5da2]
  • Updated dependencies [05a202d]
    • nextra@4.2.14

v4.2.13

Compare Source

Patch Changes
  • fc4035c: add code block icon for svelte language
  • fc4035c: increase z-index for banner to 30 to fix hidden banner when mobile nav is open

v4.2.12

Compare Source

Patch Changes
  • 23b1c48: increate z-index for type: menu dropdown from 20 to 30
    • nextra@4.2.12

v4.2.11

Compare Source

Patch Changes
  • nextra@4.2.11

v4.2.10

Compare Source

Patch Changes
  • Updated dependencies [5c22495]
    • nextra@4.2.10

v4.2.9

Compare Source

Patch Changes
  • nextra@4.2.9

v4.2.8

Compare Source

Patch Changes
  • nextra@4.2.8

v4.2.7

Compare Source

Patch Changes
  • 9b5eea6: allow change nextThemes.forcedTheme prop
    • nextra@4.2.7

v4.2.6

Compare Source

Patch Changes
  • Updated dependencies [a7906d1]
    • nextra@4.2.6

v4.2.5

Compare Source

Patch Changes
  • Updated dependencies [e6c3050]
    • nextra@4.2.5

v4.2.4

Compare Source

Patch Changes
  • Updated dependencies [b46d831]
  • Updated dependencies [7949e28]
    • nextra@4.2.4

v4.2.3

Compare Source

Patch Changes
  • ca67a19: remove requirement page.{jsx,tsx} pages to have exported metadata object
  • Updated dependencies [ca67a19]
    • nextra@4.2.3

v4.2.2

Compare Source

Patch Changes
  • Updated dependencies [dd32eca]
    • nextra@4.2.2

v4.2.1

Compare Source

v4.2.0

Compare Source

Patch Changes
  • 427b080: calculate --nextra-banner-height after mounting banner, so banner text can be wrapped on multiple lines
  • 6b8053f: fix a sudden height jump on opening for <detail> element when his last children contain margins
  • b0e686e: hide default <summary> arrow on mobile
  • Updated dependencies [427b080]
  • Updated dependencies [6b8053f]
  • Updated dependencies [b0e686e]
    • nextra@4.2.0

v4.1.1

Compare Source

Patch Changes

v4.1.0

Compare Source

Minor Changes
  • 7caf059: - generate unique anchor id for <summary> elements based on its content at build time
    • add anchor link icon for <summary>
Patch Changes
  • Updated dependencies [7caf059]
    • nextra@4.1.0

v4.0.9

Compare Source

Patch Changes
  • Updated dependencies [e78f796]
  • Updated dependencies [ff007b2]
    • nextra@4.0.9

v4.0.8

Compare Source

Patch Changes
  • Updated dependencies [267ef81]
    • nextra@4.0.8

v4.0.7

Patch Changes

v4.0.5

Compare Source

Patch Changes
  • Updated dependencies [14bf091]
    • nextra@4.0.5

v4.0.4

Compare Source

Patch Changes
  • 5132295: fix broken showLineNumbers setting on code blocks
  • 5132295: fix unable order _meta key with index name
  • Updated dependencies [5132295]
  • Updated dependencies [5132295]
    • nextra@4.0.4

v4.0.3

Compare Source

Patch Changes
  • nextra@4.0.3

v4.0.2

Compare Source

Patch Changes
  • nextra@4.0.2

v4.0.1

Compare Source

Patch Changes
  • 481e0d0: fix syntax highlighting for mdx lang and improve docs for /docs/docs-theme/start
  • 426cd66: Remove margin-top from .nextra-steps :before pseudo selector
  • Updated dependencies [481e0d0]
  • Updated dependencies [426cd66]
    • nextra@4.0.1

v4.0.0

Compare Source

Nextra 4.0 is just released!

🔹App Router
🔹Turbopack
🔹Compiled by React-Compiler
🔹New Rust-powered search engine Pagefind
🔹RSC i18n
🔹Server/Client components
🔹Smallest bundle size EVER for a Nextra-powered website
🔹GitHub Alert Syntax
🔹New _meta.global file
🔹… and more

Blog post announcement and migration guide.

Please refer to CHANGELOG.md for details.

v3.3.1

Compare Source

Patch Changes
  • bfa61d9: add text-overflow: ellipsis for <Cards.Card> component

v3.3.0

Compare Source

Minor Changes

v3.2.5

Compare Source

Patch Changes
  • Updated dependencies [2f5d954]
    • nextra@3.2.5

v3.2.4

Compare Source

Patch Changes
  • a4b0bbb: fix(deps): update dependency title to v4

    This fix ReDoS vulnerability exposed via title → clipboardy → execa →
    cross-spawn dependency chain

v3.2.3

Compare Source

Patch Changes
  • 50f33f3: Add tabClassName to Tabs props

v3.2.2

Compare Source

Patch Changes
  • 45cccd4: allow passing className for <Tabs> and <Tabs.Tab>

v3.2.1

Compare Source

Patch Changes
  • 9154c2f: fix(nextra-theme-docs): incorrect makePrimaryColor relative value for
    tailwind primary.900

  • 8a21a77: - Change hamburger menu animation speed

    Google Core Web Vitals rolled out a new
    INP score
    The mobile hamburger menu would occasionally get flagged for "need
    improvement"

    • nextra@3.2.1

v3.2.0

Compare Source

Minor Changes
  • d755012: feat(nextra-theme-docs): add new theme config option
    color.lightness
Patch Changes
  • nextra@3.2.0

v3.1.3

Compare Source

Patch Changes
  • 6e64b16: fix
    Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in /path/to/project/node_modules/nextra/package.json
    when using next.config.ts
  • d44c4bc: requires to have a custom App component (pages/_app.jsx)
  • 24f9806: fix folder's index page was not merged with folder itself for some
    edge case

v3.1.2

Compare Source

Patch Changes
  • Updated dependencies [9c78588]
    • nextra@3.1.2

v3.1.1

Compare Source

Patch Changes
  • 68633e5: fix: Improve Twoslash Popover Display
  • Updated dependencies [68633e5]
    • nextra@3.1.1

v3.1.0

Compare Source

Minor Changes
  • 8e9767e: activeType should be initialized from meta['*']
  • fec399a: fix type: 'separator', type: 'menu' and item with href not
    respecting order when not all pages specified in _meta file
Patch Changes
  • 035fe48: - fix empty dropdown menu when _meta item with type: "menu"
    contains items with local pages
  • c002118: - add tests for should respect order for type: "separator",
    type: "menu" and item with href

v3.0.15

Compare Source

Patch Changes
  • Updated dependencies [bd498c6]
    • nextra@3.0.15

v3.0.14

Compare Source

Patch Changes
  • 9794e9e: Fix frontMatter.sidebarTitle didn't affect without
    frontMatter.title set

    now priority for sidebar title is:

    1. title property from _meta file
    2. frontMatter.sidebarTitle
    3. frontMatter.title
    4. formatted with Title based on filename
  • Updated dependencies [6454938]

  • Updated dependencies [9794e9e]

  • Updated dependencies [9794e9e]

    • nextra@3.0.14

v3.0.13

Compare Source

Patch Changes
  • f1815ac: From an accessibility POV (WCAG G13) there's a need of additional
    visual differentiation factor for hovers. Article achieves this but mdx
    doesn't.

    So changing the mdx link behaviour so on hover the underline disappears.

    • nextra@3.0.13

v3.0.12

Compare Source

Patch Changes
  • 7e0093f: Fix nextra/locales middleware, redirect to the docs URL relative to
    the /<basePath>.
  • Updated dependencies [7e0093f]
    • nextra@3.0.12

v3.0.11

Compare Source

Patch Changes
  • Updated dependencies [e0a9303]
    • nextra@3.0.11

v3.0.10

Compare Source

Patch Changes
  • Updated dependencies [31de764]
  • Updated dependencies [161d350]
    • nextra@3.0.10

v3.0.9

Compare Source

Patch Changes
  • Updated dependencies [f9cc160]
    • nextra@3.0.9

v3.0.8

Compare Source

Patch Changes
  • 72c84eb: add max-md:_overflow-hidden instead of _overflow-hidden when
    hamburger is clicked
  • 1530239: hide <summary> marker on Safari
  • 210d68a: trigger scrolling when the TOC item is outside the viewport
  • bf04f96: add ring-inset for navbar links
    • nextra@3.0.8

v3.0.7

Compare Source

Patch Changes
  • Updated dependencies [4bbc1fe]
    • nextra@3.0.7

v3.0.6

Compare Source

Patch Changes
  • 4ed7b4b: remove extra horizontal margin spacing in toc
    • nextra@3.0.6

v3.0.5

Compare Source

Patch Changes
  • nextra@3.0.5

v3.0.4

Compare Source

Patch Changes
  • 9b6595d: Ensure the jump link behavior is consistent in Markdown.
  • Updated dependencies [84a8a41]
  • Updated dependencies [659b36e]
  • Updated dependencies [84fc255]
    • nextra@3.0.4

v3.0.3

Compare Source

Patch Changes
  • 9d93caf: RTL support for the <Steps> component.
  • 5fbce2f: Added golang logo for code blocks.
  • Updated dependencies [82fc267]
  • Updated dependencies [edc6c29]
  • Updated dependencies [9d93caf]
  • Updated dependencies [5fbce2f]
    • nextra@3.0.3

v3.0.2

Compare Source

Patch Changes
  • 991b69a: handle empty item.route in <FolderImpl in <Sidebar> for
    item.type: 'menu'
  • Updated dependencies [b6341f7]
    • nextra@3.0.2

v3.0.1

Compare Source

Patch Changes
  • d9d0820: fix unclickable links on mobile
    • nextra@3.0.1

v3.0.0

Compare Source

Major Changes
  • e7e8e84: show react components, variable interpolation and latex in toc

  • 7188278: - insert frontMatter as export node via custom remark plugin

    • remove frontMatter.mdxOptions support
  • 023d37b: add "type": "module" to nextra package

  • 50a52fd: - ❌ remove _app.mdx, use _app.{js,jsx} or _app.{ts,tsx} for
    TypeScript projects instead

    • ❌ remove Nextra middleware nextra/locales
    • ❌ remove parseFileName from nextra/utils
    • ❌ remove nextra/filter-route-locale
    • ❌ remove resolvePageMap and pageMapCache from nextra/page-map
    • ❌ remove __nextraPageOptions.pageNextRoute
    • ❌ remove pageOpts.route and pageOpts.newNextLinkBehavior
    • ❌ remove LoaderOptions.defaultLocale
    • ❌ remove __nextra_internal__.context[route].themeConfig
    • ✅ add nextra/fetch-filepaths-from-github
    • save pageMap to .next/static/chunks/nextra-page-map-{locale}.mjs
    • save fileMap to .next/static/chunks/nextra-file-map.mjs
  • c2ad837: update to MDX3

  • 148278c: rename tailwind prefix nx- to _ to reduce bundle size

  • 919fe97: set "peerDependencies.next": ">=13"

  • 47b125d: fix global style conflicts for
    <a>/<button>/<summary>/<input>/[tabindex]:not([tabindex='-1']

  • ba30c6c: use render props for className with selected, disabled and
    hover state for <Tab>

  • d7d8a3e: new styles for code blocks aka in next.js

  • 2872606: remove image prop from <Card> component, image will be showed
    based on truthiness children prop now

    set icon as optional prop

  • 63ca28b: Remove support of "_meta.json", use "_meta.{js,jsx,ts,tsx}"
    instead.

  • ad4823d: add zod validation for nextraConfig

  • ab07609: remove locale and defaultLocale from normalizePages

  • 2f3be33: - set "engines.node": ">=18"

    • remove Tab export, use Tabs.Tab instead
    • remove Card export, use Cards.Card instead
    • disallow import md/mdx files that are outside the working directory, use
      symlinks instead
  • 66cce1d: BREAKING bundle to ESM only

    ⚠️⚠️⚠️ use next.config.mjs or next.config.js with "type": "module"

  • b9f88e3: - remove use-internals.ts

    • remove layout.tsx, move directly to setup-page.tsx
    • remove kind: 'Meta' | 'Folder' | 'MdxPage' to keep page map smaller
  • 128e195: fix React warning, remove PageOpts.toc, use toc prop from
    components.wrapper

  • 576cb6f: - rename nextraConfig.flexsearch to nextraConfig.search

  • 1f3e7cd: - remove __nextraPageOptions.hot

    • remove __nextraPageOptions.pageOptsChecksum
    • remove __nextra_internal__.refreshListeners (no longer needed since we
      insert toc as esm node in remark plugin)
    • remove hashFnv32a
  • 198dbcc: use toc with JSX elements for remote content

  • 191e6c4: - use shikiji instead of shiki

    • rename useSSG to useData
  • c7f03e5: rename pageOpts.headings to toc

Minor Changes
  • 0fe55db: add import { useRouter } from 'nextra/hooks' for fetching locale
    and defaultLocale

  • 6ec3241: Add Terraform/Move icon #​2811
    #​2808

  • c7f03e5: should not add virtual _meta file if missing

  • 3644e1c: add remark-smartypants

  • 5a63701: add icons for following languages:

    • GraphQL (graphql)
    • C++ (c++, cpp)
    • C# (csharp, c#, cs)
    • Python (python, py)

    allow disallow mobile word wrap button in code blocks with word-wrap=false
    meta data setting

  • 60ec68c: improvements for remarkStaticImage:

    • import same image only once
    • support importing images by markdown image definitions
  • a52a869: add frontmatter.sidebarTitle support for setting page label in
    sidebar via frontmatter

  • 6ec3241: Make the <Tab> component be crawlable and indexable by search
    engines by default

  • f71e660: change to shiki again

  • 6070b02: rename frontmatter.sidebar_label to frontmatter.sidebarTitle

  • 4e55c06: add support for _meta.{js,jsx,ts,tsx} with JSX support

  • 8bce16d: replace transformPageOpts nextra option by transformPageMap

  • 3043826: add shikiji twoslash

    Demo feature:
    https://nextra-v2-na3obnhub-shuding1.vercel.app/docs/guide/twoslash-support

  • 6070b02: move removeLinks function from nextra-theme-docs to
    nextra/remove-links

  • 440ff42: add MathJax support

Patch Changes
  • d1e3e9a: handle case when meta object was added in transformPageMap

  • 73239c4: To ensure consistent horizontal padding, set the default language as
    plaintext for code blocks. This prevents any loss of formatting for code
    blocks without a specified language.

  • 2b9b95b: migrate to @headlessui/react v2

  • 2a3e3e7: Fix first list item in <FileTree> not within permitted parent
    elements

  • a3b67ae: _meta should return
    export const getStaticProps = () => ({ notFound: true }) for static exports,
    instead of page without contain

  • 1a36469: add frontMatter.sidebarTitle only if frontMatter.title is empty

  • 799174f: fixed creating pageMap items for folders with dots

    remove requirement of passing filePaths with .md/.mdx extensions for
    createCatchAllMeta function

  • 98f439c: export evaluate function for remote content

  • cb24790: fix broken export default statement in mdx files

  • 982862f: Support for h2 and h4 Markdown headings with the Steps component.

  • a8c2196: use dynamic import for loading mermaid

  • 0b5cc9d: make nextra compatible with windows

  • fe5061b: fix for remote docs

  • 1a634cd: remove explicit ZodError assertion

  • ad108ff: use overflow-x-auto instead overflow-x-scroll for <Table>

  • 4f0f6b2: Omit ...{:type} inline code annotations from search index #​2922

  • 1f3e7cd: fix pageProps for NextraLayout

  • 90c129e: children in Card component is required only if the image prop is true

  • 150184b: attach heading anchor id attribute to heading (like Pagefind do)
    and fix heading anchor styles when theme.typesetting: 'article' is set

  • c74ae90: Fix TypeError: _jsx is not a function for remote content on
    development environment

  • 7615b62: fix useRouter in nextra/hooks, use asPath instead route
    because locale can be dynamic /[locale]

  • 7bb18e3: Add a generic for themeConfig in NextraThemeLayoutProps to
    improve type inference.

  • 8efbb45: remove nextra/data export, move useData to nextra/hooks,
    RemoteContent to nextra/components

  • 6f4c83a: fix unclickable links in TOC

    allow passing recmaPlugins in mdxOptions

  • d8a406b: add "sideEffects": false for better tree-shaking

  • 9f55bd1: update rehype-pretty-code/shikiji to latest

  • ccaf3d4: Add the autoImportThemeStyle option to the Nextra configuration.
    This allows users to import the official Nextra theme CSS into a specific
    cascade layer.

  • 2630461: fix
    TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
    on dev environment when frontMatter.searchable: false

  • 217f708: update next-themes

    fix wrong numbering for nested <Steps>

  • 57bc0e2: fix reload of nextra layout on route change, reported by sound.xyz

  • ca51306: Enhance focus ring style consistency.

  • f662237: avoid focus-visible style being cut off by overflow-hidden

  • 3c6193d: Remove unnecessary sortPages from server/utils.ts

  • 363b85f: add flex-shrink: 0 for indent in FileTree for <Ident> and svg
    icons in <Folder> and <File>

  • fef635e: ignore loading pageMap for dynamic locale /[locale]

  • 237c345: Make React 18 as minimal requirement

  • 7faa096: fix visible hidden pages on mobile which set up with
    display: 'hidden'

  • 9099c35: remove nextra/mdx-plugins, add nextra/remark-plugins

  • 98f439c: add rust icon

  • a95e745: Fix the line highlighting background-color does not extend to the
    full width of the code block when a scrollbar appears with line numbers.

  • 80e11e0: move resolvePageMap to nextra/page-map-dynamic


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Never, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


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

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

@kopach kopach closed this Jul 25, 2025
@kopach kopach deleted the renovate/major-4-nextra-monorepo branch July 25, 2025 09:53
@renovate
Copy link
Contributor Author

renovate bot commented Jul 25, 2025

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 4.x releases. But if you manually upgrade to 4.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.

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