chore(deps): 🔗 update nextra monorepo to v4 (major) #99
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.2.172.13.4->4.2.17Release Notes
shuding/nextra (nextra)
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 search5617e04]v4.2.14Compare Source
Patch Changes
ccb5da2: removing custom nextra's scrollbar styles, allowing the browser's default scrollbars to be usedccb5da2]05a202d]v4.2.13Compare Source
Patch Changes
fc4035c: add code block icon forsveltelanguagefc4035c: increasez-indexfor banner to30to fix hidden banner when mobile nav is openv4.2.12Compare Source
Patch Changes
23b1c48: increate z-index fortype: menudropdown from20to30v4.2.11Compare Source
Patch Changes
v4.2.10Compare Source
Patch Changes
5c22495]v4.2.9Compare Source
Patch Changes
v4.2.8Compare Source
Patch Changes
v4.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 exportedmetadataobjectca67a19]v4.2.2Compare Source
Patch Changes
dd32eca]v4.2.1Compare Source
v4.2.0Compare Source
Patch Changes
427b080: 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 marginsb0e686e: hide default<summary>arrow on mobile427b080]6b8053f]b0e686e]v4.1.1Compare Source
Patch Changes
29a44de: fix regression from Nextra 3 settingtheme.collapsed?: booleanin_metafile for folders has no effect in sidebar29a44de]19578c3]v4.1.0Compare Source
Minor Changes
7caf059: - generate unique anchor id for<summary>elements based on its content at build time<summary>Patch Changes
7caf059]v4.0.9Compare Source
Patch Changes
e78f796]ff007b2]v4.0.8Compare Source
Patch Changes
267ef81]v4.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 withindexname5132295]5132295]v4.0.3Compare Source
Patch Changes
v4.0.2Compare Source
Patch Changes
v4.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: fix(deps): update dependency title to v4v3.2.3Compare Source
Patch Changes
50f33f3: Add tabClassName to Tabs propsv3.2.2Compare Source
Patch Changes
45cccd4: allow passingclassNamefor<Tabs>and<Tabs.Tab>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
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 withhrefv3.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
v3.0.4Compare Source
Patch Changes
9b6595d: Ensure the jump link behavior is consistent in Markdown.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: Never, 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.