-
-
Notifications
You must be signed in to change notification settings - Fork 0
⬆️ upgrade nextra monorepo to v4 (major)
#56
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
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/major-nextra-monorepo
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
v3 (major)v3 (major) - autoclosed
v3 (major) - autoclosedv3 (major)
8e04733 to
84f0e6d
Compare
84f0e6d to
6c0b8a2
Compare
v3 (major)v4 (major)
6c0b8a2 to
3484fd7
Compare
3484fd7 to
5747946
Compare
5747946 to
0673b19
Compare
0673b19 to
87b010d
Compare
87b010d to
bc5bd15
Compare
bc5bd15 to
5c5093e
Compare
5c5093e to
7d593f8
Compare
7d593f8 to
f233e54
Compare
f233e54 to
07a2879
Compare
07a2879 to
4b15a1c
Compare
4b15a1c to
60ced95
Compare
60ced95 to
168c833
Compare
168c833 to
75f84aa
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^2.13.4->^4.0.0^2.13.4->^4.0.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.
v3.3.1Compare Source
Patch Changes
bfa61d9: addtext-overflow: ellipsisfor<Cards.Card>componentv3.3.0Compare Source
Minor Changes
ee69234: addimage zoom feature for all
images written via GFM syntax in
md/mdx files (except images inside links)
v3.2.5Compare Source
Patch Changes
2f5d954]v3.2.4Compare Source
Patch Changes
a4b0bbb]v3.2.3Compare Source
Patch Changes
50f33f3]v3.2.2Compare Source
Patch Changes
45cccd4: allow passingclassNamefor<Tabs>and<Tabs.Tab>45cccd4]v3.2.1Compare Source
Patch Changes
9154c2f: fix(nextra-theme-docs): incorrect makePrimaryColor relative value fortailwind primary.900
8a21a77: - Change hamburger menu animation speedGoogle Core Web Vitals rolled out a new
INP score
The mobile hamburger menu would occasionally get flagged for "need
improvement"
v3.2.0Compare Source
Minor Changes
d755012: feat(nextra-theme-docs): add new theme config optioncolor.lightnessPatch Changes
v3.1.3Compare Source
Patch Changes
6e64b16: fixError [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in /path/to/project/node_modules/nextra/package.jsonwhen using
next.config.tsd44c4bc: requires to have a custom App component (pages/_app.jsx)24f9806: fix folder's index page was not merged with folder itself for someedge case
6e64b16]d44c4bc]24f9806]v3.1.2Compare Source
Patch Changes
9c78588]v3.1.1Compare Source
Patch Changes
68633e5: fix: Improve Twoslash Popover Display68633e5]v3.1.0Compare Source
Minor Changes
8e9767e:activeTypeshould be initialized frommeta['*']fec399a: fixtype: 'separator',type: 'menu'anditemwithhrefnotrespecting order when not all pages specified in
_metafilePatch Changes
035fe48: - fix empty dropdown menu when _meta item withtype: "menu"contains items with local pages
c002118: - add tests for should respect order fortype: "separator",type: "menu"and item withhref035fe48]8e9767e]fec399a]c002118]v3.0.15Compare Source
Patch Changes
bd498c6]v3.0.14Compare Source
Patch Changes
9794e9e: FixfrontMatter.sidebarTitledidn't affect withoutfrontMatter.titlesetnow priority for sidebar title is:
titleproperty from_metafilefrontMatter.sidebarTitlefrontMatter.titleUpdated dependencies [
6454938]Updated dependencies [
9794e9e]Updated dependencies [
9794e9e]v3.0.13Compare Source
Patch Changes
f1815ac: From an accessibility POV (WCAG G13) there's a need of additionalvisual differentiation factor for hovers. Article achieves this but mdx
doesn't.
So changing the mdx link behaviour so on hover the underline disappears.
v3.0.12Compare Source
Patch Changes
7e0093f: Fixnextra/localesmiddleware, redirect to the docs URL relative tothe
/<basePath>.7e0093f]v3.0.11Compare Source
Patch Changes
e0a9303]v3.0.10Compare Source
Patch Changes
31de764]161d350]v3.0.9Compare Source
Patch Changes
f9cc160]v3.0.8Compare Source
Patch Changes
72c84eb: addmax-md:_overflow-hiddeninstead of_overflow-hiddenwhenhamburger is clicked
1530239: hide<summary>marker on Safari210d68a: trigger scrolling when the TOC item is outside the viewportbf04f96: add ring-inset for navbar linksv3.0.7Compare Source
Patch Changes
4bbc1fe]v3.0.6Compare Source
Patch Changes
4ed7b4b: remove extra horizontal margin spacing in tocv3.0.5Compare Source
Patch Changes
3aac732: Add.nextra-search-resultsclass backv3.0.4Compare Source
Patch Changes
84fc255: should get rightactiveType,activeThemeContexteven when someparent has
display: 'hidden'9b6595d: Ensure the jump link behavior is consistent in Markdown.f3a5575: add a scrollbar for nav links in the header when they exceedavailable free space
84a8a41]659b36e]84fc255]v3.0.3Compare Source
Patch Changes
9d93caf: RTL support for the<Steps>component.5fbce2f: Added golang logo for code blocks.82fc267]edc6c29]9d93caf]5fbce2f]v3.0.2Compare Source
Patch Changes
991b69a: handle emptyitem.routein<FolderImplin<Sidebar>foritem.type: 'menu'b6341f7]v3.0.1Compare Source
Patch Changes
d9d0820: fix unclickable links on mobilev3.0.0Compare Source
Major Changes
e7e8e84: show react components, variable interpolation and latex in toc7188278: - insertfrontMatteras export node via custom remark pluginfrontMatter.mdxOptionssupport023d37b: add"type": "module"tonextrapackage50a52fd: - ❌ remove_app.mdx, use_app.{js,jsx}or_app.{ts,tsx}forTypeScript projects instead
nextra/localesparseFileNamefromnextra/utilsnextra/filter-route-localeresolvePageMapandpageMapCachefromnextra/page-map__nextraPageOptions.pageNextRoutepageOpts.routeandpageOpts.newNextLinkBehaviorLoaderOptions.defaultLocale__nextra_internal__.context[route].themeConfignextra/fetch-filepaths-from-githubpageMapto.next/static/chunks/nextra-page-map-{locale}.mjsfileMapto.next/static/chunks/nextra-file-map.mjsc2ad837: update to MDX3148278c: rename tailwind prefixnx-to_to reduce bundle size919fe97: set"peerDependencies.next": ">=13"47b125d: fix global style conflicts for<a>/<button>/<summary>/<input>/[tabindex]:not([tabindex='-1']ba30c6c: use render props for className withselected,disabledandhoverstate for<Tab>d7d8a3e: new styles for code blocks aka in next.js2872606: removeimageprop from<Card>component, image will be showedbased on truthiness
childrenprop nowset
iconas optional prop63ca28b: Remove support of "_meta.json", use "_meta.{js,jsx,ts,tsx}"instead.
ad4823d: add zod validation for nextraConfigab07609: removelocaleanddefaultLocalefromnormalizePages2f3be33: - set"engines.node": ">=18"Tabexport, useTabs.TabinsteadCardexport, useCards.Cardinsteadsymlinks instead
66cce1d: BREAKING bundle to ESM onlyb9f88e3: - removeuse-internals.tslayout.tsx, move directly tosetup-page.tsxkind: 'Meta' | 'Folder' | 'MdxPage'to keep page map smaller128e195: fix React warning, remove PageOpts.toc, usetocprop fromcomponents.wrapper576cb6f: - renamenextraConfig.flexsearchtonextraConfig.search1f3e7cd: - remove__nextraPageOptions.hot__nextraPageOptions.pageOptsChecksum__nextra_internal__.refreshListeners(no longer needed since weinsert toc as esm node in remark plugin)
hashFnv32a198dbcc: use toc with JSX elements for remote content191e6c4: - useshikijiinstead ofshikiuseSSGtouseDatac7f03e5: renamepageOpts.headingstotocMinor Changes
0fe55db: addimport { useRouter } from 'nextra/hooks'for fetchinglocaleand
defaultLocale6ec3241: Add Terraform/Move icon #2811#2808
c7f03e5: should not add virtual_metafile if missing3644e1c: addremark-smartypants5a63701: add icons for following languages:graphql)c++,cpp)csharp,c#,cs)python,py)allow disallow mobile word wrap button in code blocks with
word-wrap=falsemeta data setting
60ec68c: improvements for remarkStaticImage:a52a869: addfrontmatter.sidebarTitlesupport for setting page label insidebar via frontmatter
6ec3241: Make the<Tab>component be crawlable and indexable by searchengines by default
f71e660: change to shiki again6070b02: renamefrontmatter.sidebar_labeltofrontmatter.sidebarTitle4e55c06: add support for_meta.{js,jsx,ts,tsx}with JSX support8bce16d: replacetransformPageOptsnextra option bytransformPageMap3043826: add shikiji twoslashDemo feature:
https://nextra-v2-na3obnhub-shuding1.vercel.app/docs/guide/twoslash-support
6070b02: moveremoveLinksfunction fromnextra-theme-docstonextra/remove-links440ff42: add MathJax supportPatch Changes
d1e3e9a: handle case when meta object was added intransformPageMap73239c4: To ensure consistent horizontal padding, set the default language asplaintext for code blocks. This prevents any loss of formatting for code
blocks without a specified language.
2b9b95b: migrate to@headlessui/reactv22a3e3e7: Fix first list item in<FileTree>not within permitted parentelements
a3b67ae:_metashould returnexport const getStaticProps = () => ({ notFound: true })for static exports,instead of page without contain
1a36469: addfrontMatter.sidebarTitleonly iffrontMatter.titleis empty799174f: fixed creatingpageMapitems for folders with dotsremove requirement of passing
filePathswith.md/.mdxextensions forcreateCatchAllMetafunction98f439c: exportevaluatefunction for remote contentcb24790: fix brokenexport defaultstatement in mdx files982862f: Support forh2andh4Markdown headings with the Steps component.a8c2196: use dynamic import for loadingmermaid0b5cc9d: make nextra compatible with windowsfe5061b: fix for remote docs1a634cd: remove explicitZodErrorassertionad108ff: useoverflow-x-autoinsteadoverflow-x-scrollfor<Table>4f0f6b2: Omit...{:type}inline code annotations from search index #29221f3e7cd: fixpagePropsfor NextraLayout90c129e: children in Card component is required only if the image prop is true150184b: attach heading anchoridattribute to heading (like Pagefind do)and fix heading anchor styles when
theme.typesetting: 'article'is setc74ae90: Fix TypeError: _jsx is not a function for remote content ondevelopment environment
7615b62: fixuseRouterinnextra/hooks, useasPathinsteadroutebecause locale can be dynamic
/[locale]7bb18e3: Add a generic forthemeConfiginNextraThemeLayoutPropstoimprove type inference.
8efbb45: removenextra/dataexport, moveuseDatatonextra/hooks,RemoteContenttonextra/components6f4c83a: fix unclickable links in TOCallow passing
recmaPluginsinmdxOptionsd8a406b: add"sideEffects": falsefor better tree-shaking9f55bd1: update rehype-pretty-code/shikiji to latestccaf3d4: Add theautoImportThemeStyleoption to the Nextra configuration.This allows users to import the official Nextra theme CSS into a specific
cascade layer.
2630461: fixTypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))on dev environment when
frontMatter.searchable: false217f708: update next-themesfix wrong numbering for nested
<Steps>57bc0e2: fix reload of nextra layout on route change, reported by sound.xyzca51306: Enhance focus ring style consistency.f662237: avoid focus-visible style being cut off by overflow-hidden3c6193d: Remove unnecessarysortPagesfromserver/utils.ts363b85f: addflex-shrink: 0for indent inFileTreefor<Ident>and svgicons in
<Folder>and<File>fef635e: ignore loading pageMap for dynamic locale/[locale]237c345: Make React 18 as minimal requirement7faa096: fix visible hidden pages on mobile which set up withdisplay: 'hidden'9099c35: removenextra/mdx-plugins, addnextra/remark-plugins98f439c: add rust icona95e745: Fix the line highlighting background-color does not extend to thefull width of the code block when a scrollbar appears with line numbers.
80e11e0: moveresolvePageMaptonextra/page-map-dynamicConfiguration
📅 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.