-
-
Notifications
You must be signed in to change notification settings - Fork 312
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
base: main
Are you sure you want to change the base?
Conversation
|
❌ Deploy Preview for react-docgen failed.
|
6b6a66f to
497309e
Compare
04cf297 to
b2e7358
Compare
73696e5 to
fa3fb7f
Compare
813923f to
ae9ae23
Compare
8a479fc to
882ad42
Compare
ee250ab to
67c8a35
Compare
744c589 to
1f39331
Compare
522d929 to
75624aa
Compare
8c8ed4e to
4a04312
Compare
dd9e099 to
f289850
Compare
a340002 to
b519204
Compare
f525257 to
8b2c518
Compare
a0e1f9c to
b51cdbf
Compare
b51cdbf to
b93c969
Compare
b93c969 to
ab3c291
Compare
This PR contains the following updates:
3.3.1->4.6.03.3.1->4.6.0Release Notes
shuding/nextra (nextra)
v4.6.0Compare Source
Minor Changes
e1d0ebd: Support disabling the "Copy Page" button through thetheme.copyPagesetting in
_metafilesPatch Changes
v4.5.1Compare Source
Patch Changes
8a4d176: fix TSDoc@inlinetag to properly expand nested type aliases8a4d176]v4.5.0Compare Source
Minor Changes
356a782: fix copy page button does not return the correct page contents due tocached MDX compiler
add a
copyPageButtonlayout prop which show/hide copy page content buttonPatch Changes
356a782]v4.4.0Compare Source
Minor Changes
26b1281: feat: add Copy Documentation button/dropdown feature as LLM-OptimizedPrompt
Patch Changes
26b1281]v4.3.0Compare Source
Minor Changes
eed8328: feat: adapt colors and icons from original GitHub alerts syntaxfeat: new Callout type
importantfix: inconsistent built-in Callout's icons size
feat: improve Callout's accessibility colors
0831a1b: Add anonSearchcallback to the<Search />component. Thiscallback, when specified, is called upon every search input change.
c93fc48: update zod to v4feat(TSDoc): rename
generateDocumentationtogenerateDefinitionfeat(Bleed): pass all props from
divelement toBleed,Callout,Bannercontainer
fix(TSDoc): improve TSDoc comments for components
BannerHeadSearchBleedCalloutCardsFileTreeStepsTableTabsPlaygroundTSDocLayoutNavbarfix(TSDoc): improve TSDoc comments for functions:
nextragenerateDefinitionuseMDXComponents94b081c: feat: refactor<Search>component styles for improved transitionsand visibility
b5fab80: addMDXRemotecomponent docs pagehttps://nextra.site/docs/built-ins/mdxremote
d9dd061: updatetailwindcssto4.1.10andreact-compiler-runtimeto19.1.0-rc.2c134abe: feat: improve overall accessibility, makes text/colors easier to readand achieves WCAG Level AAA compliance in many places
83f6c57: feat: introduce new<TSDoc />componentThe
<TSDoc>component fromnextra/tsdocgenerates a properties table thatdisplays:
description or the
@descriptiontag. You can use any Markdown/MDX syntaxhere.
@defaultor@defaultValuetag.
#anchor link to the property row for easy reference.More info can be found in https://nextra.site/docs/built-ins/tsdoc
07debf9: feat(TSDoc): support flattening return object fieldsfdeb5fe: feat: add new Layout propfeedback.linkto customize feedback hrefPatch Changes
71f7b3f: Update https://nextra.site/docs/guide/search pageFixes extra margin-top inside
Tabs.TabFix breaking
<Steps>component numeration when there is<Tabs>componentinside
a070fdc: Fix[object Object]text on hovering breadcrumbs and paginationlinks
47ba5f3: fix: useemfor padding-y, padding-x and border-radius styles of<Code>elementfix(TSDoc): for return signature without
namereturn mobile card instead oftable
feat: use
eminsteadremfor margins40267dc: splitTSDoccomponent logic toTSDoccomponent andgenerateDocumentationfunctionupdate https://nextra.site/docs/built-ins/tsdoc documentation
b0dde33: Fix collapse behaviour of sidebarnot collapse the section.
not cause it to collapse.
8ac2506: chore: bumpbabel-plugin-react-compilerandreact-compiler-runtime, remove custom pnpm patch forbabel-plugin-react-compiler8edc715: fix phantom scroll when footer is disabledb2cba90: improve TSDoc comments forgetPageMap,generateStaticParamsForand
importPagefunctions. Add new https://nextra.site/docs/guide/api page.d29469e: support Next.js 15.3.02b18c66: - Disable prefetch for sidebar/breadcrumb/pagination linkspagination links
6a82e6f: - Fix: Receivedfalsefor a non-boolean attributeprefetch.next-mdx-import-source-fileinturbopack.resolveAliasoption
4547eb9: feat(TSDoc): add support for functions and functions with multiplesignatures
407e0c4: feat(TSDoc): addTSDoc.noParametersContentpropa506e0b: fixTypeError: page.generateMetadata is not a functionwhen usingwith
withSentryConfigpluginUpdated dependencies [
eed8328]Updated dependencies [
71f7b3f]Updated dependencies [
0831a1b]Updated dependencies [
b0afee7]Updated dependencies [
c93fc48]Updated dependencies [
47ba5f3]Updated dependencies [
01ac538]Updated dependencies [
94b081c]Updated dependencies [
b5fab80]Updated dependencies [
40267dc]Updated dependencies [
ef35ab9]Updated dependencies [
f717156]Updated dependencies [
9f449e5]Updated dependencies [
8ac2506]Updated dependencies [
a6a1f97]Updated dependencies [
fda0355]Updated dependencies [
b2cba90]Updated dependencies [
f40e018]Updated dependencies [
d29469e]Updated dependencies [
d9dd061]Updated dependencies [
6a82e6f]Updated dependencies [
c134abe]Updated dependencies [
7de40fb]Updated dependencies [
c7d25df]Updated dependencies [
4547eb9]Updated dependencies [
407e0c4]Updated dependencies [
83f6c57]Updated dependencies [
00f4696]Updated dependencies [
31ddba4]Updated dependencies [
07debf9]Updated dependencies [
a506e0b]Updated dependencies [
9690841]v4.2.17Compare Source
Patch Changes
a7db0e6: fix: use correctReactNodezod validation forLayout.footer/banner/editLink/feedback.content/toc.backToTop/toc.extraContent/toc.title/searchandNavbar.children/projectIcon/chatIconaac469e: fix: improve sidebar folder item arrow animationa7db0e6]18e7fb9]v4.2.16Compare Source
Patch Changes
2cfaacc: fix: frozen spinner on loading state in search results by updating Tailwind CSS to v4.0.102cfaacc]v4.2.15Compare Source
Patch Changes
5617e04: fix: loading state in search results was only visible during the first searchv4.2.14Compare Source
Patch Changes
ccb5da2: removing custom nextra's scrollbar styles, allowing the browser's default scrollbars to be used05a202d: fix: make search results appear above the navbarfd4e6d1: fix: make scroll position in sidebar stable between client-side navigationccb5da2]05a202d]v4.2.13Compare Source
Patch Changes
fc4035c]fc4035c]v4.2.12Compare Source
Patch Changes
23b1c48: increate z-index fortype: menudropdown from20to30v4.2.11Compare Source
Patch Changes
8805d3f: - addoverflow: hiddenon<html>element instead of<body>to lock scroll when mobile nav is open10to20, in navbar from20to30Navbar.alignprop is set toleftv4.2.10Compare Source
Patch Changes
5c22495: - addNavbar.alignprop to align navigation links to the specified side. (default'right')type: 'page', href: '...'in_metafilesv4.2.9Compare Source
Patch Changes
31534cb: addNavbar.classNamepropv4.2.8Compare Source
Patch Changes
e610d1d: fix type ofNavbar.children, should beReactNode, notReactElementv4.2.7Compare Source
Patch Changes
9b5eea6: allow changenextThemes.forcedThemepropv4.2.6Compare Source
Patch Changes
a7906d1]v4.2.5Compare Source
Patch Changes
e6c3050]v4.2.4Compare Source
Patch Changes
b46d831]7949e28]v4.2.3Compare Source
Patch Changes
ca67a19: remove requirementpage.{jsx,tsx}pages to have exportedmetadataobjectv4.2.2Compare Source
Patch Changes
dd32eca]v4.2.1Compare Source
Patch Changes
5c51b49: fix allow configuringtheme.tocin_metafile whentoc.floatis set tofalsefor pages withtype: 'page'996b0b5: fix: showScroll to toplinktoc.backToTopwhentoc.float: falseis setv4.2.0Compare Source
Minor Changes
90b8c66: allow configuringtheme.tocwithlayout: 'default'in_metafilesPatch Changes
0b0db89: better animations for open/closed state for the<NavbarMenu>component which is rendered withtype: 'menu'in_metafile427b080: calculate--nextra-banner-heightafter mounting banner, so banner text can be wrapped on multiple lines6b8053f: fix a sudden height jump on opening for<detail>element when his last children contain margins5d1e75b: add the missingtransition-opacitystyle for the<BackToTop>componentb0e686e: hide default<summary>arrow on mobile2b0b434: add the missingcursor-pointerstyle in the<BackToTop>componentbcc34cc: reduce main area padding x to from24pxto16pxlike in next.js docs427b080]6b8053f]b0e686e]v4.1.1Compare Source
Patch Changes
29a44de: fix regression from Nextra 3 settingtheme.collapsed?: booleanin_metafile for folders has no effect in sidebar19578c3: improve github alert syntax name in DOMv4.1.0Compare Source
Minor Changes
7caf059: - generate unique anchor id for<summary>elements based on its content at build time<summary>Patch Changes
fa7f1ee: fix cropped sidebar footer on desktop, when Nextra's<Banner>is used7caf059]v4.0.9Compare Source
Patch Changes
e78f796: fix console error from<Search>results errorTypeError: Cannot destructure property 'results' of '(intermediate value)' as it is null.select right tab and scroll into view when html element with
location.hashid is inside<Tabs.Tab>ff007b2: fix clicking on search result from same page doesn't scroll to the headingv4.0.8Compare Source
Patch Changes
267ef81: fix parsing empty front matterv4.0.7Patch Changes
32e7d55]695e428]fc78033]b2f2458]v4.0.5Compare Source
Patch Changes
14bf091]v4.0.4Compare Source
Patch Changes
5132295: fix brokenshowLineNumberssetting on code blocks5132295: fix unable order _meta key withindexnamev4.0.3Compare Source
Patch Changes
a0c432f: fixTypeError: Cannot read properties of null (reading 'querySelector')v4.0.2Compare Source
Patch Changes
865e2ab: hideOn This PageTOC's titlethemeConfig.toc.titlewhen there is no toc linksv4.0.1Compare Source
Patch Changes
481e0d0: fix syntax highlighting formdxlang and improve docs for/docs/docs-theme/start426cd66: Remove margin-top from.nextra-steps:beforepseudo selector481e0d0]426cd66]v4.0.0Compare 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.
This PR was generated by Mend Renovate. View the repository job log.