-
-
Notifications
You must be signed in to change notification settings - Fork 302
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
e07d581
to
612a707
Compare
e185b01
to
6ac57cd
Compare
eb39416
to
7e3a091
Compare
29d44c0
to
d4728f9
Compare
751f17c
to
22ebe15
Compare
22ebe15
to
b2198a8
Compare
b2198a8
to
a566954
Compare
8a71298
to
3cd5038
Compare
933ecf3
to
627b9a4
Compare
627b9a4
to
f6d0709
Compare
This PR contains the following updates:
3.3.1
->4.3.0
3.3.1
->4.3.0
Release Notes
shuding/nextra (nextra)
v4.3.0
Compare Source
Minor Changes
eed8328
: feat: adapt colors and icons from original GitHub alerts syntaxfeat: new Callout type
important
fix: inconsistent built-in Callout's icons size
feat: improve Callout's accessibility colors
0831a1b
: Add anonSearch
callback to the<Search />
component. Thiscallback, when specified, is called upon every search input change.
b0afee7
: feat(tsdoc): add support for@inline
tag on function parametersc93fc48
: update zod to v4feat(TSDoc): rename
generateDocumentation
togenerateDefinition
feat(Bleed): pass all props from
div
element toBleed
,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 intable
94b081c
: feat: refactor<Search>
component styles for improved transitionsand visibility
b5fab80
: addMDXRemote
component docs pagehttps://nextra.site/docs/built-ins/mdxremote
ef35ab9
: accept allComboboxInputProps
in Nextra's<Search />
componentd9dd061
: updatetailwindcss
to4.1.10
andreact-compiler-runtime
to19.1.0-rc.2
c134abe
: 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/tsdoc
generates a properties table thatdisplays:
description or the
@description
tag. You can use any Markdown/MDX syntaxhere.
@default
or@defaultValue
tag.
#
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 fieldsPatch Changes
71f7b3f
: Update https://nextra.site/docs/guide/search pageFixes extra margin-top inside
Tabs.Tab
Fix breaking
<Steps>
component numeration when there is<Tabs>
componentinside
47ba5f3
: fix: useem
for padding-y, padding-x and border-radius styles of<Code>
elementfix(TSDoc): for return signature without
name
return mobile card instead oftable
feat: use
em
insteadrem
for margins40267dc
: splitTSDoc
component logic toTSDoc
component andgenerateDocumentation
functionupdate https://nextra.site/docs/built-ins/tsdoc documentation
f717156
: feat(TSDoc): enableexactOptionalPropertyTypes
andstrictNullChecks
in ts-morphcompilerOptions
9f449e5
: fix(TSDoc): should shownull
type in properties table8ac2506
: chore: bumpbabel-plugin-react-compiler
andreact-compiler-runtime
, remove custom pnpm patch forbabel-plugin-react-compiler
a6a1f97
: fix(tsdoc): check@inline
and@remarks
tags on alias type too inaddition to field tags
fda0355
: fix tsdoc File not found: /var/task/.../tsconfig.jsonb2cba90
: improve TSDoc comments forgetPageMap
,generateStaticParamsFor
and
importPage
functions. Add new https://nextra.site/docs/guide/api page.f40e018
: fix TSDoc errorExpected to find an alias symbol
when using@inline
commentd29469e
: support Next.js 15.3.06a82e6f
: - Fix: Receivedfalse
for a non-boolean attributeprefetch
.next-mdx-import-source-file
inturbopack.resolveAlias
option
7de40fb
: Update Tailwind CSS guide to match v4 versionhttps://nextra.site/docs/advanced/tailwind-css
c7d25df
: fix(tsdoc): should resolvePartial
types as declared4547eb9
: feat(TSDoc): add support for functions and functions with multiplesignatures
407e0c4
: feat(TSDoc): addTSDoc.noParametersContent
prop00f4696
: add https://nextra.site/api page generated with TSDoc component31ddba4
: improve LaTeX docs, mention that you need apply styles for KaTeXhttps://nextra.site/docs/advanced/latex#apply-styles
a506e0b
: fixTypeError: page.generateMetadata is not a function
when usingwith
withSentryConfig
plugin9690841
: Upgrade remark-reading-time to 2.0.2 in dependencies.v4.2.17
Compare Source
Patch Changes
a7db0e6
: fix: use correctReactNode
zod validation forLayout.footer/banner/editLink/feedback.content/toc.backToTop/toc.extraContent/toc.title/search
andNavbar.children/projectIcon/chatIcon
18e7fb9
: fix: allow overrideNextraConfig.mdxOptions.format
option innext.config
filev4.2.16
Compare Source
Patch Changes
2cfaacc
: fix: frozen spinner on loading state in search results by updating Tailwind CSS to v4.0.102cfaacc
]v4.2.15
Compare Source
Patch Changes
27dcd23
: fix: better error message forLayout#lastUpdated
prop. EnsurelastUpdated
is React component and not React fragment.5617e04
: fix: loading state in search results was only visible during the first search5617e04
]v4.2.14
Compare 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 navbarv4.2.13
Compare Source
Patch Changes
fc4035c
: add code block icon forsvelte
languagefc4035c
: increasez-index
for banner to30
to fix hidden banner when mobile nav is openv4.2.12
Compare Source
Patch Changes
23b1c48
: increate z-index fortype: menu
dropdown from20
to30
v4.2.11
Compare Source
Patch Changes
8805d3f
: - addoverflow: hidden
on<html>
element instead of<body>
to lock scroll when mobile nav is open10
to20
, in navbar from20
to30
Navbar.align
prop is set toleft
v4.2.10
Compare Source
Patch Changes
5c22495
: - addNavbar.align
prop to align navigation links to the specified side. (default'right'
)type: 'page', href: '...'
in_meta
files5c22495
]v4.2.9
Compare Source
Patch Changes
31534cb
: addNavbar.className
propv4.2.8
Compare Source
Patch Changes
e610d1d
: fix type ofNavbar.children
, should beReactNode
, notReactElement
v4.2.7
Compare Source
v4.2.6
Compare Source
Patch Changes
a7906d1
]v4.2.5
Compare Source
Patch Changes
e6c3050
]v4.2.4
Compare Source
Patch Changes
b46d831
]7949e28
]v4.2.3
Compare Source
Patch Changes
ca67a19
: remove requirementpage.{jsx,tsx}
pages to have exportedmetadata
objectca67a19
]v4.2.2
Compare Source
Patch Changes
dd32eca
]v4.2.1
Compare Source
Patch Changes
5c51b49
: fix allow configuringtheme.toc
in_meta
file whentoc.float
is set tofalse
for pages withtype: 'page'
996b0b5
: fix: showScroll to top
linktoc.backToTop
whentoc.float: false
is setv4.2.0
Compare Source
Minor Changes
90b8c66
: allow configuringtheme.toc
withlayout: 'default'
in_meta
filesPatch Changes
0b0db89
: better animations for open/closed state for the<NavbarMenu>
component which is rendered withtype: 'menu'
in_meta
file427b080
: calculate--nextra-banner-height
after 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-opacity
style for the<BackToTop>
componentb0e686e
: hide default<summary>
arrow on mobile2b0b434
: add the missingcursor-pointer
style in the<BackToTop>
componentbcc34cc
: reduce main area padding x to from24px
to16px
like in next.js docs427b080
]6b8053f
]b0e686e
]v4.1.1
Compare Source
Patch Changes
b9f8bfb
: do not render default footer content if theFooter#children
prop was not provided8d878dd
: fix: show heading anchor when hover on heading itself20f7aaa
: fixUncaught Error: Minified React error #​418; visit https://react.dev/errors/418
error due mismatch of last updated time date57e98cd
: addLayout#sidebar.defaultOpen
prop to configure sidebar default open stated586bd6
: fixThemeSwitch#lite
prop29a44de
: fix regression from Nextra 3 settingtheme.collapsed?: boolean
in_meta
file for folders has no effect in sidebar5e86a14
: add missing transition state for<Navbar>
links and<TOC>
extra content links2ba45de
: allow change_meta
filetheme.toc
property withtype: 'page'
29a44de
]19578c3
]v4.1.0
Compare 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.9
Compare 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.hash
id is inside<Tabs.Tab>
ff007b2
: fix clicking on search result from same page doesn't scroll to the headingv4.0.8
Compare Source
Patch Changes
267ef81
]v4.0.7
Patch Changes
32e7d55
: fix::selection
styles, usehsla
instead ofhsl
because it can overlap text with::selection
background whenbackground-clip: text
is set695e428
: add new nextra config optionunstable_shouldAddLocaleToLinks
to append locale to all links, for i18n websites which uses static exports and can't use Nextra middlewarefc78033
: fix crash of Nextra whenprops
are used within headings, e.g.## Hello {props.something}
b2f2458
: do not log a bunch ofFailed to get the last modified timestamp from Git for the file
messages if init git repository failedv4.0.5
Compare Source
Patch Changes
14bf091
]v4.0.4
Compare Source
Patch Changes
5132295
: fix brokenshowLineNumbers
setting on code blocks5132295
: fix unable order _meta key withindex
name5132295
]5132295
]v4.0.3
Compare Source
Patch Changes
a0c432f
: fixTypeError: Cannot read properties of null (reading 'querySelector')
v4.0.2
Compare Source
v4.0.1
Compare Source
Patch Changes
481e0d0
: fix syntax highlighting formdx
lang and improve docs for/docs/docs-theme/start
426cd66
: Remove margin-top from.nextra-steps
:before
pseudo selector481e0d0
]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.
This PR was generated by Mend Renovate. View the repository job log.