fix(deps): update nextra monorepo to v3.3.1 #1917
Open
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:
3.0.0-alpha.28
->3.3.1
3.0.0-alpha.28
->3.3.1
Release Notes
shuding/nextra (nextra)
v3.3.1
Compare Source
Patch Changes
bfa61d9
: addtext-overflow: ellipsis
for<Cards.Card>
componentv3.3.0
Compare Source
Minor Changes
ee69234
: addimage zoom feature for all
images written via GFM syntax in
md/mdx files (except images inside links)
v3.2.5
Compare Source
Patch Changes
2f5d954
: fix unable override injectedimg
componentv3.2.4
Compare Source
Patch Changes
a4b0bbb
: fix(deps): update dependency title to v4v3.2.3
Compare Source
Patch Changes
50f33f3
: Add tabClassName to Tabs propsv3.2.2
Compare Source
Patch Changes
45cccd4
: allow passingclassName
for<Tabs>
and<Tabs.Tab>
v3.2.1
Compare Source
v3.2.0
Compare Source
v3.1.3
Compare Source
Patch Changes
6e64b16
: fixError [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in /path/to/project/node_modules/nextra/package.json
when using
next.config.ts
d44c4bc
: 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.2
Compare Source
Patch Changes
9c78588
: fix(loader): Prevent overwriting ofrehypePrettyCodeOptions.transformer
v3.1.1
Compare Source
Patch Changes
68633e5
: fix: Improve Twoslash Popover Displayv3.1.0
Compare Source
Minor Changes
8e9767e
:activeType
should be initialized frommeta['*']
fec399a
: fixtype: 'separator'
,type: 'menu'
anditem
withhref
notrespecting order when not all pages specified in
_meta
filePatch 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 withhref
v3.0.15
Compare Source
Patch Changes
bd498c6
: fix compatibility with Next.js15.0.0-rc.1
v3.0.14
Compare Source
Patch Changes
6454938
: update css selectors forcode
, usecode.nextra-code
9794e9e
: update package version range for@theguild/remark-mermaid
to be atleast
^0.1.3
nextauthjs/next-auth#12029 (comment)
9794e9e
: FixfrontMatter.sidebarTitle
didn't affect withoutfrontMatter.title
setnow priority for sidebar title is:
title
property from_meta
filefrontMatter.sidebarTitle
frontMatter.title
v3.0.13
Compare Source
v3.0.12
Compare Source
Patch Changes
7e0093f
: Fixnextra/locales
middleware, redirect to the docs URL relative tothe
/<basePath>
.v3.0.11
Compare Source
Patch Changes
e0a9303
: addnextra/locales
middleware which can be exported fromroot-of-your-project/middleware.{js,ts}
file to detect and redirect to theuser-selected language for i18n websites
v3.0.10
Compare Source
Patch Changes
31de764
: another attempt to fix:161d350
: fixCould not find a declaration file for module 'nextra'
v3.0.9
Compare Source
Patch Changes
f9cc160
: - fixModule not found: Can't resolve 'module'
in [email protected]twoslash
in browser because he never worked in this environmentv3.0.8
Compare Source
v3.0.7
Compare Source
Patch Changes
4bbc1fe
: apply user'srecmaPlugins
firstv3.0.6
Compare Source
v3.0.5
Compare Source
v3.0.4
Compare Source
Patch Changes
84a8a41
: use 3 nextra's webpack loaders instead of 4659b36e
: removejsx-runtime.cjs
, import runtime from 'react/jsx-runtime'84fc255
: should get rightactiveType
,activeThemeContext
even when someparent has
display: 'hidden'
v3.0.3
Compare Source
Patch Changes
82fc267
: removeCritical dependency: the request of a dependency is an expression
warningsedc6c29
: removetruthy()
helper function9d93caf
: RTL support for the<Steps>
component.5fbce2f
: Added golang logo for code blocks.v3.0.2
Compare Source
Patch Changes
b6341f7
: remove warningWatchpack Error (initial scan): Error: ENOTDIR: not a directory, scandir 'path-to-your-node_modules/next/dist/pages/_app.js'
v3.0.1
Compare Source
v3.0.0
Compare Source
Major Changes
e7e8e84
: show react components, variable interpolation and latex in toc7188278
: - insertfrontMatter
as export node via custom remark pluginfrontMatter.mdxOptions
support023d37b
: add"type": "module"
tonextra
package50a52fd
: - ❌ remove_app.mdx
, use_app.{js,jsx}
or_app.{ts,tsx}
forTypeScript projects instead
nextra/locales
parseFileName
fromnextra/utils
nextra/filter-route-locale
resolvePageMap
andpageMapCache
fromnextra/page-map
__nextraPageOptions.pageNextRoute
pageOpts.route
andpageOpts.newNextLinkBehavior
LoaderOptions.defaultLocale
__nextra_internal__.context[route].themeConfig
nextra/fetch-filepaths-from-github
pageMap
to.next/static/chunks/nextra-page-map-{locale}.mjs
fileMap
to.next/static/chunks/nextra-file-map.mjs
c2ad837
: 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
,disabled
andhover
state for<Tab>
d7d8a3e
: new styles for code blocks aka in next.js2872606
: removeimage
prop from<Card>
component, image will be showedbased on truthiness
children
prop nowset
icon
as optional prop63ca28b
: Remove support of "_meta.json", use "_meta.{js,jsx,ts,tsx}"instead.
ad4823d
: add zod validation for nextraConfigab07609
: removelocale
anddefaultLocale
fromnormalizePages
2f3be33
: - set"engines.node": ">=18"
Tab
export, useTabs.Tab
insteadCard
export, useCards.Card
insteadsymlinks instead
66cce1d
: BREAKING bundle to ESM onlyb9f88e3
: - removeuse-internals.ts
layout.tsx
, move directly tosetup-page.tsx
kind: 'Meta' | 'Folder' | 'MdxPage'
to keep page map smaller128e195
: fix React warning, remove PageOpts.toc, usetoc
prop fromcomponents.wrapper
576cb6f
: - renamenextraConfig.flexsearch
tonextraConfig.search
1f3e7cd
: - remove__nextraPageOptions.hot
__nextraPageOptions.pageOptsChecksum
__nextra_internal__.refreshListeners
(no longer needed since weinsert toc as esm node in remark plugin)
hashFnv32a
198dbcc
: use toc with JSX elements for remote content191e6c4
: - useshikiji
instead ofshiki
useSSG
touseData
c7f03e5
: renamepageOpts.headings
totoc
Minor Changes
0fe55db
: addimport { useRouter } from 'nextra/hooks'
for fetchinglocale
and
defaultLocale
6ec3241
: Add Terraform/Move icon #2811#2808
c7f03e5
: should not add virtual_meta
file if missing3644e1c
: addremark-smartypants
5a63701
: 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=false
meta data setting
60ec68c
: improvements for remarkStaticImage:a52a869
: addfrontmatter.sidebarTitle
support 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_label
tofrontmatter.sidebarTitle
4e55c06
: add support for_meta.{js,jsx,ts,tsx}
with JSX support8bce16d
: replacetransformPageOpts
nextra option bytransformPageMap
3043826
: add shikiji twoslashDemo feature:
https://nextra-v2-na3obnhub-shuding1.vercel.app/docs/guide/twoslash-support
6070b02
: moveremoveLinks
function fromnextra-theme-docs
tonextra/remove-links
440ff42
: add MathJax supportPatch Changes
d1e3e9a
: handle case when meta object was added intransformPageMap
73239c4
: 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/react
v22a3e3e7
: Fix first list item in<FileTree>
not within permitted parentelements
a3b67ae
:_meta
should returnexport const getStaticProps = () => ({ notFound: true })
for static exports,instead of page without contain
1a36469
: addfrontMatter.sidebarTitle
only iffrontMatter.title
is empty799174f
: fixed creatingpageMap
items for folders with dotsremove requirement of passing
filePaths
with.md
/.mdx
extensions forcreateCatchAllMeta
function98f439c
: exportevaluate
function for remote contentcb24790
: fix brokenexport default
statement in mdx files982862f
: Support forh2
andh4
Markdown headings with the Steps component.a8c2196
: use dynamic import for loadingmermaid
0b5cc9d
: make nextra compatible with windowsfe5061b
: fix for remote docs1a634cd
: remove explicitZodError
assertionad108ff
: useoverflow-x-auto
insteadoverflow-x-scroll
for<Table>
4f0f6b2
: Omit...{:type}
inline code annotations from search index #29221f3e7cd
: fixpageProps
for NextraLayout90c129e
: children in Card component is required only if the image prop is true150184b
: attach heading anchorid
attribute 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
: fixuseRouter
innextra/hooks
, useasPath
insteadroute
because locale can be dynamic
/[locale]
7bb18e3
: Add a generic forthemeConfig
inNextraThemeLayoutProps
toimprove type inference.
8efbb45
: removenextra/data
export, moveuseData
tonextra/hooks
,RemoteContent
tonextra/components
6f4c83a
: fix unclickable links in TOCallow passing
recmaPlugins
inmdxOptions
d8a406b
: add"sideEffects": false
for better tree-shaking9f55bd1
: update rehype-pretty-code/shikiji to latestccaf3d4
: Add theautoImportThemeStyle
option 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: false
217f708
: 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 unnecessarysortPages
fromserver/utils.ts
363b85f
: addflex-shrink: 0
for indent inFileTree
for<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-plugins
98f439c
: 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
: moveresolvePageMap
tonextra/page-map-dynamic
v3.0.0-alpha.42
Compare Source
Patch Changes
ca51306
: Enhance focus ring style consistency.v3.0.0-alpha.41
Compare Source
Patch Changes
237c345
: Make React 18 as minimal requirementv3.0.0-alpha.40
Compare Source
Patch Changes
982862f
: Support forh2
andh4
Markdown headings with the Steps component.v3.0.0-alpha.39
Compare Source
Major Changes
47b125d
: fix global style conflicts for<a>
/<button>
/<summary>
/<input>
/[tabindex]:not([tabindex='-1']
ba30c6c
: use render props for className withselected
,disabled
andhover
state for<Tab>
2872606
: removeimage
prop from<Card>
component, image will be showedbased on truthiness
children
prop nowset
icon
as optional propv3.0.0-alpha.38
Compare Source
Patch Changes
ccaf3d4
: Add theautoImportThemeStyle
option to the Nextra configuration.This allows users to import the official Nextra theme CSS into a specific
cascade layer.
v3.0.0-alpha.37
Compare Source
Patch Changes
2a3e3e7
: Fix first list item in<FileTree>
not within permitted parentelements
v3.0.0-alpha.36
Compare Source
Patch Changes
2b9b95b
: migrate to@headlessui/react
v2v3.0.0-alpha.35
Compare Source
Patch Changes
f662237
: avoid focus-visible style being cut off by overflow-hiddenv3.0.0-alpha.34
Compare Source
Patch Changes
1a634cd
: remove explicitZodError
assertionv3.0.0-alpha.33
Compare Source
Patch Changes
7bb18e3
: Add a generic forthemeConfig
inNextraThemeLayoutProps
toimprove type inference.
v3.0.0-alpha.32
Compare Source
Patch Changes
73239c4
: 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.
799174f
: fixed creatingpageMap
items for folders with dotsremove requirement of passing
filePaths
with.md
/.mdx
extensions forcreateCatchAllMeta
function150184b
: attach heading anchorid
attribute to heading (like Pagefind do)and fix heading anchor styles when
theme.typesetting: 'article'
is set3c6193d
: Remove unnecessarysortPages
fromserver/utils.ts
v3.0.0-alpha.31
Compare Source
Patch Changes
d1e3e9a
: handle case when meta object was added intransformPageMap
v3.0.0-alpha.30
Compare Source
Patch Changes
7615b62
: fixuseRouter
innextra/hooks
, useasPath
insteadroute
because locale can be dynamic
/[locale]
v3.0.0-alpha.29
Compare Source
Patch Changes
fef635e
: ignore loading pageMap for dynamic locale/[locale]
Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), 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.