Skip to content

chore(deps): update nextra monorepo to v4 (major) #968

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 19, 2025

This PR contains the following updates:

Package Change Age Confidence
nextra 3.3.1 -> 4.3.0 age confidence
nextra-theme-docs 3.3.1 -> 4.3.0 age confidence

Release Notes

shuding/nextra (nextra)

v4.3.0

Compare Source

Minor Changes
  • eed8328: feat: adapt colors and icons from original GitHub alerts syntax

    feat: new Callout type important

    fix: inconsistent built-in Callout's icons size

    feat: improve Callout's accessibility colors

  • 0831a1b: Add an onSearch callback to the <Search /> component. This
    callback, when specified, is called upon every search input change.

  • b0afee7: feat(tsdoc): add support for @inline tag on function parameters

  • c93fc48: update zod to v4

    feat(TSDoc): rename generateDocumentation to generateDefinition

    feat(Bleed): pass all props from div element to Bleed, Callout, Banner
    container

    fix(TSDoc): improve TSDoc comments for components

    • Banner
    • Head
    • Search
    • Bleed
    • Callout
    • Cards
    • FileTree
    • Steps
    • Table
    • Tabs
    • Playground
    • TSDoc
    • Layout
    • Navbar

    fix(TSDoc): improve TSDoc comments for functions:

    • nextra
    • generateDefinition
    • useMDXComponents
  • 01ac538: feat(tsdoc): support @​inline tag and fix mobile overflow in
    table

  • 94b081c: feat: refactor <Search> component styles for improved transitions
    and visibility

  • b5fab80: add MDXRemote component docs page
    https://nextra.site/docs/built-ins/mdxremote

  • ef35ab9: accept all ComboboxInputProps in Nextra's <Search /> component

  • d9dd061: update tailwindcss to 4.1.10 and react-compiler-runtime to
    19.1.0-rc.2

  • c134abe: feat: improve overall accessibility, makes text/colors easier to read
    and achieves WCAG Level AAA compliance in many places

  • 83f6c57: feat: introduce new <TSDoc /> component

    The <TSDoc> component from nextra/tsdoc generates a properties table that
    displays:

    • Property name
    • TypeScript type
    • Property description - is parsed from TSDoc inline
      description or the @description tag. You can use any Markdown/MDX syntax
      here.
    • Default value - are extracted from the @default or @defaultValue
      tag.
    • Permalink - a # anchor link to the property row for easy reference.

    More info can be found in https://nextra.site/docs/built-ins/tsdoc

    [!IMPORTANT]

    Huge thanks to
    xyflow - Node Based UIs for React and Svelte
    for sponsoring this feature!

  • 07debf9: feat(TSDoc): support flattening return object fields

Patch Changes
  • 71f7b3f: Update https://nextra.site/docs/guide/search page

    Fixes extra margin-top inside Tabs.Tab

    Fix breaking <Steps> component numeration when there is <Tabs> component
    inside

  • 47ba5f3: fix: use em for padding-y, padding-x and border-radius styles of
    <Code> element

    fix(TSDoc): for return signature without name return mobile card instead of
    table

    feat: use em instead rem for margins

  • 40267dc: split TSDoc component logic to TSDoc component and
    generateDocumentation function

    update https://nextra.site/docs/built-ins/tsdoc documentation

  • f717156: feat(TSDoc): enable exactOptionalPropertyTypes and
    strictNullChecks in ts-morph compilerOptions

  • 9f449e5: fix(TSDoc): should show null type in properties table

  • 8ac2506: chore: bump babel-plugin-react-compiler and
    react-compiler-runtime, remove custom pnpm patch for
    babel-plugin-react-compiler

  • a6a1f97: fix(tsdoc): check @inline and @remarks tags on alias type too in
    addition to field tags

  • fda0355: fix tsdoc File not found: /var/task/.../tsconfig.json

  • b2cba90: improve TSDoc comments for getPageMap, generateStaticParamsFor
    and importPage functions. Add new https://nextra.site/docs/guide/api page.

  • f40e018: fix TSDoc error Expected to find an alias symbol when using
    @inline comment

  • d29469e: support Next.js 15.3.0

  • 6a82e6f: - Fix: Received false for a non-boolean attribute prefetch.

    • Allow override next-mdx-import-source-file in turbopack.resolveAlias
      option
  • 7de40fb: Update Tailwind CSS guide to match v4 version
    https://nextra.site/docs/advanced/tailwind-css

  • c7d25df: fix(tsdoc): should resolve Partial types as declared

  • 4547eb9: feat(TSDoc): add support for functions and functions with multiple
    signatures

  • 407e0c4: feat(TSDoc): add TSDoc.noParametersContent prop

  • 00f4696: add https://nextra.site/api page generated with TSDoc component

  • 31ddba4: improve LaTeX docs, mention that you need apply styles for KaTeX
    https://nextra.site/docs/advanced/latex#apply-styles

  • a506e0b: fix TypeError: page.generateMetadata is not a function when using
    with withSentryConfig plugin

  • 9690841: Upgrade remark-reading-time to 2.0.2 in dependencies.

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
  • 18e7fb9: fix: allow override NextraConfig.mdxOptions.format option in next.config file

v4.2.16

Compare Source

Patch Changes

v4.2.15

Compare Source

Patch Changes
  • 27dcd23: fix: better error message for Layout#lastUpdated prop. Ensure lastUpdated is React component and not React fragment.
  • 5617e04: fix: loading state in search results was only visible during the first search
  • Updated dependencies [5617e04]

v4.2.14

Compare Source

Patch Changes
  • ccb5da2: removing custom nextra's scrollbar styles, allowing the browser's default scrollbars to be used
  • 05a202d: fix: make search results appear above the navbar

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

v4.2.11

Compare Source

Patch Changes
  • 8805d3f: - add overflow: hidden on <html> element instead of <body> to lock scroll when mobile nav is open
    • increase z-index for mobile nav from 10 to 20, in navbar from 20 to 30
    • fix navbar alignement on mobile when Navbar.align prop is set to left
    • [email protected]

v4.2.10

Compare Source

Patch Changes
  • 5c22495: - add Navbar.align prop to align navigation links to the specified side. (default 'right')
    • fix hidden nav links when specified with type: 'page', href: '...' in _meta files
  • Updated dependencies [5c22495]

v4.2.9

Compare Source

Patch Changes

v4.2.8

Compare Source

Patch Changes

v4.2.7

Compare Source

v4.2.6

Compare Source

Patch Changes

v4.2.5

Compare Source

Patch Changes

v4.2.4

Compare Source

Patch Changes

v4.2.3

Compare Source

Patch Changes

v4.2.2

Compare Source

Patch Changes

v4.2.1

Compare Source

Patch Changes
  • 5c51b49: fix allow configuring theme.toc in _meta file when toc.float is set to false for pages with type: 'page'
  • 996b0b5: fix: show Scroll to top link toc.backToTop when toc.float: false is set

v4.2.0

Compare Source

Minor Changes
  • 90b8c66: allow configuring theme.toc with layout: 'default' in _meta files
Patch Changes
  • 0b0db89: better animations for open/closed state for the <NavbarMenu> component which is rendered with type: 'menu' in _meta file
  • 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
  • 5d1e75b: add the missing transition-opacity style for the <BackToTop> component
  • b0e686e: hide default <summary> arrow on mobile
  • 2b0b434: add the missing cursor-pointer style in the <BackToTop> component
  • bcc34cc: reduce main area padding x to from 24px to 16px like in next.js docs
  • Updated dependencies [427b080]
  • Updated dependencies [6b8053f]
  • Updated dependencies [b0e686e]

v4.1.1

Compare Source

Patch Changes
  • b9f8bfb: do not render default footer content if the Footer#children prop was not provided
  • 8d878dd: fix: show heading anchor when hover on heading itself
  • 20f7aaa: fix Uncaught Error: Minified React error #&#8203;418; visit https://react.dev/errors/418 error due mismatch of last updated time date
  • 57e98cd: add Layout#sidebar.defaultOpen prop to configure sidebar default open state
  • d586bd6: fix ThemeSwitch#lite prop
  • 29a44de: fix regression from Nextra 3 setting theme.collapsed?: boolean in _meta file for folders has no effect in sidebar
  • 5e86a14: add missing transition state for <Navbar> links and <TOC> extra content links
  • 2ba45de: allow change _meta file theme.toc property with type: 'page'
  • Updated dependencies [29a44de]
  • Updated dependencies [19578c3]

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

v4.0.9

Compare Source

Patch Changes
  • e78f796: fix console error from <Search> results error TypeError: Cannot destructure property 'results' of '(intermediate value)' as it is null.

    select right tab and scroll into view when html element with location.hash id is inside <Tabs.Tab>

  • ff007b2: fix clicking on search result from same page doesn't scroll to the heading

v4.0.8

Compare Source

Patch Changes

v4.0.7

Patch Changes
  • 32e7d55: fix ::selection styles, use hsla instead of hsl because it can overlap text with ::selection background when background-clip: text is set
  • 695e428: add new nextra config option unstable_shouldAddLocaleToLinks to append locale to all links, for i18n websites which uses static exports and can't use Nextra middleware
  • fc78033: fix crash of Nextra when props are used within headings, e.g. ## Hello {props.something}
  • b2f2458: do not log a bunch of Failed to get the last modified timestamp from Git for the file messages if init git repository failed

v4.0.5

Compare Source

Patch Changes

v4.0.4

Compare Source

Patch Changes

v4.0.3

Compare Source

Patch Changes

v4.0.2

Compare Source

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]

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.


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: Whenever PR becomes conflicted, 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.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Jan 19, 2025
Copy link

changeset-bot bot commented Jan 19, 2025

⚠️ No Changeset found

Latest commit: f6d0709

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

Copy link

netlify bot commented Jan 19, 2025

Deploy Preview for react-docgen failed.

Name Link
🔨 Latest commit f6d0709
🔍 Latest deploy log https://app.netlify.com/projects/react-docgen/deploys/6887bdbcdc9a220008aad67d

@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch 8 times, most recently from 6b6a66f to 497309e Compare January 28, 2025 12:59
@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch 4 times, most recently from 04cf297 to b2e7358 Compare February 5, 2025 05:14
@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch 6 times, most recently from 73696e5 to fa3fb7f Compare February 13, 2025 23:45
@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch 3 times, most recently from 813923f to ae9ae23 Compare February 18, 2025 07:26
@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch 3 times, most recently from 8a479fc to 882ad42 Compare March 6, 2025 02:18
@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch 3 times, most recently from ee250ab to 67c8a35 Compare March 13, 2025 00:29
@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch 4 times, most recently from e07d581 to 612a707 Compare May 13, 2025 19:26
@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch 4 times, most recently from e185b01 to 6ac57cd Compare May 21, 2025 17:27
@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch 5 times, most recently from eb39416 to 7e3a091 Compare June 2, 2025 06:24
@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch 4 times, most recently from 29d44c0 to d4728f9 Compare June 12, 2025 02:12
@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch 3 times, most recently from 751f17c to 22ebe15 Compare June 19, 2025 03:04
@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch from 22ebe15 to b2198a8 Compare June 24, 2025 01:16
@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch from b2198a8 to a566954 Compare July 4, 2025 02:13
@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch 2 times, most recently from 8a71298 to 3cd5038 Compare July 19, 2025 14:51
@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch 4 times, most recently from 933ecf3 to 627b9a4 Compare July 25, 2025 03:47
@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch from 627b9a4 to f6d0709 Compare July 28, 2025 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants