Skip to content
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

Update nextra monorepo to v4 (major) #221

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 3, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
nextra ^3.0.0 -> ^4.0.0 age adoption passing confidence
nextra-theme-docs ^3.0.0 -> ^4.0.0 age adoption passing confidence

Release Notes

shuding/nextra (nextra)

v4.2.4

Compare Source

Patch Changes
  • b46d831: fix Could not parse expression with acorn for inline math code in development mode without turbopack enabled
  • 7949e28: move setting pageMap items' title property from normalizePages to sortFolder

v4.2.3

Compare Source

Patch Changes
  • ca67a19: remove requirement page.{jsx,tsx} pages to have exported metadata object

v4.2.2

Compare Source

Patch Changes
  • dd32eca: fix route group within app/ dir crash the convertToPageMap

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

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

Patch Changes

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 - "* 0-3 * * 1" (UTC), Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR is behind base branch, 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 force-pushed the renovate/major-nextra-monorepo branch from 0d31731 to 4544704 Compare February 3, 2025 04:41
@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch from 4544704 to d3667ed Compare February 10, 2025 05:12
@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch from d3667ed to 0bec52d Compare February 10, 2025 09:54
@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch from 0bec52d to 6eff456 Compare February 10, 2025 20:38
@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch from 6eff456 to d04d7d9 Compare February 20, 2025 00:29
@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch from d04d7d9 to 9cd5fa0 Compare February 20, 2025 00:34
@admdly
Copy link
Contributor

admdly commented Feb 20, 2025

This will require some effort to migrate to Nextra v4 - there is a migration guide. I'll assign this to me for now and work on this where possible (there's no real rush), unless anyone else would like to do the migration.

@admdly admdly self-assigned this Feb 20, 2025
@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch from 9cd5fa0 to 885a0ab Compare February 20, 2025 00:50
@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch from 28eae83 to b3f6c6e Compare February 26, 2025 07:44
@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch from b3f6c6e to a30b96a Compare February 26, 2025 08:06
@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch from a30b96a to f144d6c Compare March 3, 2025 06:11
@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch from f144d6c to ba21c46 Compare March 3, 2025 09:34
@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch from ba21c46 to 49e07ba Compare March 3, 2025 09:40
@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch from 49e07ba to 12afebd Compare March 3, 2025 17:05
@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch from 12afebd to 578b8b4 Compare March 3, 2025 17:44
@renovate renovate bot deployed to internal March 3, 2025 17:45 Active
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant