supabase-cache-helpers
supabase-cache-helpers copied to clipboard
fix(deps): update nextra monorepo to v3 (major)
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
nextra | 2.13.2 -> 3.0.1 |
||||
nextra-theme-docs | 2.13.2 -> 3.0.1 |
Release Notes
shuding/nextra (nextra)
v3.0.1
Patch Changes
v3.0.0
Major Changes
-
e7e8e84
: show react components, variable interpolation and latex in toc -
7188278
: - insertfrontMatter
as export node via custom remark plugin- remove
frontMatter.mdxOptions
support
- remove
-
023d37b
: add"type": "module"
tonextra
package -
50a52fd
: - ❌ remove_app.mdx
, use_app.{js,jsx}
or_app.{ts,tsx}
for TypeScript projects instead- ❌ remove Nextra middleware
nextra/locales
- ❌ remove
parseFileName
fromnextra/utils
- ❌ remove
nextra/filter-route-locale
- ❌ remove
resolvePageMap
andpageMapCache
fromnextra/page-map
- ❌ remove
__nextraPageOptions.pageNextRoute
- ❌ remove
pageOpts.route
andpageOpts.newNextLinkBehavior
- ❌ remove
LoaderOptions.defaultLocale
- ❌ remove
__nextra_internal__.context[route].themeConfig
- ✅ add
nextra/fetch-filepaths-from-github
- save
pageMap
to.next/static/chunks/nextra-page-map-{locale}.mjs
- save
fileMap
to.next/static/chunks/nextra-file-map.mjs
- ❌ remove Nextra middleware
-
c2ad837
: update to MDX3 -
148278c
: rename tailwind prefixnx-
to_
to reduce bundle size -
919fe97
: 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.js -
2872606
: removeimage
prop from<Card>
component, image will be showed based on truthinesschildren
prop nowset
icon
as optional prop -
63ca28b
: Remove support of "_meta.json", use "_meta.{js,jsx,ts,tsx}" instead. -
ad4823d
: add zod validation for nextraConfig -
ab07609
: removelocale
anddefaultLocale
fromnormalizePages
-
2f3be33
: - set"engines.node": ">=18"
- remove
Tab
export, useTabs.Tab
instead - remove
Card
export, useCards.Card
instead - disallow import md/mdx files that are outside the working directory, use symlinks instead
- remove
-
66cce1d
: BREAKING bundle to ESM only⚠️⚠️⚠️ use
next.config.mjs
ornext.config.js
with"type": "module"
-
b9f88e3
: - removeuse-internals.ts
- remove
layout.tsx
, move directly tosetup-page.tsx
- remove
kind: 'Meta' | 'Folder' | 'MdxPage'
to keep page map smaller
- remove
-
128e195
: fix React warning, remove PageOpts.toc, usetoc
prop fromcomponents.wrapper
-
576cb6f
: - renamenextraConfig.flexsearch
tonextraConfig.search
-
1f3e7cd
: - remove__nextraPageOptions.hot
- remove
__nextraPageOptions.pageOptsChecksum
- remove
__nextra_internal__.refreshListeners
(no longer needed since we insert toc as esm node in remark plugin) - remove
hashFnv32a
- remove
-
198dbcc
: use toc with JSX elements for remote content -
191e6c4
: - useshikiji
instead ofshiki
- rename
useSSG
touseData
- rename
-
c7f03e5
: renamepageOpts.headings
totoc
Minor Changes
-
0fe55db
: addimport { useRouter } from 'nextra/hooks'
for fetchinglocale
anddefaultLocale
-
c7f03e5
: should not add virtual_meta
file if missing -
3644e1c
: addremark-smartypants
-
5a63701
: add icons for following languages:- GraphQL (
graphql
) - C++ (
c++
,cpp
) - C# (
csharp
,c#
,cs
) - Python (
python
,py
)
allow disallow mobile word wrap button in code blocks with
word-wrap=false
meta data setting - GraphQL (
-
60ec68c
: improvements for remarkStaticImage:- import same image only once
- support importing images by markdown image definitions
-
a52a869
: addfrontmatter.sidebarTitle
support for setting page label in sidebar via frontmatter -
6ec3241
: Make the<Tab>
component be crawlable and indexable by search engines by default -
f71e660
: change to shiki again -
6070b02
: renamefrontmatter.sidebar_label
tofrontmatter.sidebarTitle
-
4e55c06
: add support for_meta.{js,jsx,ts,tsx}
with JSX support -
8bce16d
: 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 support
Patch Changes
-
d1e3e9a
: handle case when meta object was added intransformPageMap
-
73239c4
: To ensure consistent horizontal padding, set the default language as plaintext for code blocks. This prevents any loss of formatting for code blocks without a specified language. -
2b9b95b
: migrate to@headlessui/react
v2 -
2a3e3e7
: Fix first list item in<FileTree>
not within permitted parent elements -
a3b67ae
:_meta
should returnexport const getStaticProps = () => ({ notFound: true })
for static exports, instead of page without contain -
1a36469
: addfrontMatter.sidebarTitle
only iffrontMatter.title
is empty -
799174f
: fixed creatingpageMap
items for folders with dotsremove requirement of passing
filePaths
with.md
/.mdx
extensions forcreateCatchAllMeta
function -
98f439c
: exportevaluate
function for remote content -
cb24790
: fix brokenexport default
statement in mdx files -
982862f
: Support forh2
andh4
Markdown headings with the Steps component. -
a8c2196
: use dynamic import for loadingmermaid
-
0b5cc9d
: make nextra compatible with windows -
fe5061b
: fix for remote docs -
1a634cd
: remove explicitZodError
assertion -
ad108ff
: useoverflow-x-auto
insteadoverflow-x-scroll
for<Table>
-
4f0f6b2
: Omit...{:type}
inline code annotations from search index #2922 -
1f3e7cd
: fixpageProps
for NextraLayout -
90c129e
: children in Card component is required only if the image prop is true -
150184b
: attach heading anchorid
attribute to heading (like Pagefind do) and fix heading anchor styles whentheme.typesetting: 'article'
is set -
c74ae90
: Fix TypeError: _jsx is not a function for remote content on development environment -
7615b62
: fixuseRouter
innextra/hooks
, useasPath
insteadroute
because locale can be dynamic/[locale]
-
7bb18e3
: Add a generic forthemeConfig
inNextraThemeLayoutProps
to improve 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-shaking -
9f55bd1
: update rehype-pretty-code/shikiji to latest -
ccaf3d4
: 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 whenfrontMatter.searchable: false
-
217f708
: update next-themesfix wrong numbering for nested
<Steps>
-
57bc0e2
: fix reload of nextra layout on route change, reported by sound.xyz -
ca51306
: Enhance focus ring style consistency. -
f662237
: avoid focus-visible style being cut off by overflow-hidden -
3c6193d
: Remove unnecessarysortPages
fromserver/utils.ts
-
363b85f
: addflex-shrink: 0
for indent inFileTree
for<Ident>
and svg icons in<Folder>
and<File>
-
fef635e
: ignore loading pageMap for dynamic locale/[locale]
-
237c345
: Make React 18 as minimal requirement -
7faa096
: fix visible hidden pages on mobile which set up withdisplay: 'hidden'
-
9099c35
: removenextra/mdx-plugins
, addnextra/remark-plugins
-
98f439c
: add rust icon -
a95e745
: Fix the line highlighting background-color does not extend to the full width of the code block when a scrollbar appears with line numbers. -
80e11e0
: moveresolvePageMap
tonextra/page-map-dynamic
v2.13.4
Patch Changes
-
f7fc10b
: fix for the memory leak issue in thehighlight-matches.tsx
component when search query contain multiple whitespaces
v2.13.3
Patch Changes
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 is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.