Skip to content

fix(deps): update nextra monorepo to v3.3.1 #1917

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
wants to merge 1 commit into
base: source
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 28, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
nextra 3.0.0-alpha.28 -> 3.3.1 age adoption passing confidence
nextra-theme-docs 3.0.0-alpha.28 -> 3.3.1 age adoption passing confidence

Release Notes

shuding/nextra (nextra)

v3.3.1

Compare Source

Patch Changes
  • bfa61d9: add text-overflow: ellipsis for <Cards.Card> component

v3.3.0

Compare Source

Minor Changes

v3.2.5

Compare Source

Patch Changes
  • 2f5d954: fix unable override injected img component

v3.2.4

Compare Source

Patch Changes
  • a4b0bbb: fix(deps): update dependency title to v4

    This fix ReDoS vulnerability exposed via title → clipboardy → execa →
    cross-spawn dependency chain

v3.2.3

Compare Source

Patch Changes
  • 50f33f3: Add tabClassName to Tabs props

v3.2.2

Compare Source

Patch Changes
  • 45cccd4: allow passing className for <Tabs> and <Tabs.Tab>

v3.2.1

Compare Source

v3.2.0

Compare Source

v3.1.3

Compare Source

Patch Changes
  • 6e64b16: fix
    Error [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 some
    edge case

v3.1.2

Compare Source

Patch Changes
  • 9c78588: fix(loader): Prevent overwriting of
    rehypePrettyCodeOptions.transformer

v3.1.1

Compare Source

Patch Changes
  • 68633e5: fix: Improve Twoslash Popover Display

v3.1.0

Compare Source

Minor Changes
  • 8e9767e: activeType should be initialized from meta['*']
  • fec399a: fix type: 'separator', type: 'menu' and item with href not
    respecting order when not all pages specified in _meta file
Patch Changes
  • 035fe48: - fix empty dropdown menu when _meta item with type: "menu"
    contains items with local pages
  • c002118: - add tests for should respect order for type: "separator",
    type: "menu" and item with href

v3.0.15

Compare Source

Patch Changes
  • bd498c6: fix compatibility with Next.js 15.0.0-rc.1

v3.0.14

Compare Source

Patch Changes
  • 6454938: update css selectors for code, use code.nextra-code

  • 9794e9e: update package version range for @theguild/remark-mermaid to be at
    least ^0.1.3
    nextauthjs/next-auth#12029 (comment)

  • 9794e9e: Fix frontMatter.sidebarTitle didn't affect without
    frontMatter.title set

    now priority for sidebar title is:

    1. title property from _meta file
    2. frontMatter.sidebarTitle
    3. frontMatter.title
    4. formatted with Title based on filename

v3.0.13

Compare Source

v3.0.12

Compare Source

Patch Changes
  • 7e0093f: Fix nextra/locales middleware, redirect to the docs URL relative to
    the /<basePath>.

v3.0.11

Compare Source

Patch Changes
  • e0a9303: add nextra/locales middleware which can be exported from
    root-of-your-project/middleware.{js,ts} file to detect and redirect to the
    user-selected language for i18n websites

v3.0.10

Compare Source

Patch Changes
  • 31de764: another attempt to fix:

    Failed to compile.
    
    ./node_modules/typescript/lib/typescript.js
    Module not found: Can't resolve 'module'
    
  • 161d350: fix Could not find a declaration file for module 'nextra'

v3.0.9

Compare Source

Patch Changes
  • f9cc160: - fix Module not found: Can't resolve 'module' in [email protected]

    • disable twoslash in browser because he never worked in this environment

v3.0.8

Compare Source

v3.0.7

Compare Source

Patch Changes
  • 4bbc1fe: apply user's recmaPlugins first

v3.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 4
  • 659b36e: remove jsx-runtime.cjs, import runtime from 'react/jsx-runtime'
  • 84fc255: should get right activeType, activeThemeContext even when some
    parent has display: 'hidden'

v3.0.3

Compare Source

Patch Changes
  • 82fc267: remove
    Critical dependency: the request of a dependency is an expression warnings
  • edc6c29: remove truthy() helper function
  • 9d93caf: RTL support for the <Steps> component.
  • 5fbce2f: Added golang logo for code blocks.

v3.0.2

Compare Source

Patch Changes
  • b6341f7: remove warning
    Watchpack 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 toc

  • 7188278: - insert frontMatter as export node via custom remark plugin

    • remove frontMatter.mdxOptions support
  • 023d37b: add "type": "module" to nextra package

  • 50a52fd: - ❌ remove _app.mdx, use _app.{js,jsx} or _app.{ts,tsx} for
    TypeScript projects instead

    • ❌ remove Nextra middleware nextra/locales
    • ❌ remove parseFileName from nextra/utils
    • ❌ remove nextra/filter-route-locale
    • ❌ remove resolvePageMap and pageMapCache from nextra/page-map
    • ❌ remove __nextraPageOptions.pageNextRoute
    • ❌ remove pageOpts.route and pageOpts.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
  • c2ad837: update to MDX3

  • 148278c: rename tailwind prefix nx- 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 with selected, disabled and
    hover state for <Tab>

  • d7d8a3e: new styles for code blocks aka in next.js

  • 2872606: remove image prop from <Card> component, image will be showed
    based on truthiness children prop now

    set icon as optional prop

  • 63ca28b: Remove support of "_meta.json", use "_meta.{js,jsx,ts,tsx}"
    instead.

  • ad4823d: add zod validation for nextraConfig

  • ab07609: remove locale and defaultLocale from normalizePages

  • 2f3be33: - set "engines.node": ">=18"

    • remove Tab export, use Tabs.Tab instead
    • remove Card export, use Cards.Card instead
    • disallow import md/mdx files that are outside the working directory, use
      symlinks instead
  • 66cce1d: BREAKING bundle to ESM only

    ⚠️⚠️⚠️ use next.config.mjs or next.config.js with "type": "module"

  • b9f88e3: - remove use-internals.ts

    • remove layout.tsx, move directly to setup-page.tsx
    • remove kind: 'Meta' | 'Folder' | 'MdxPage' to keep page map smaller
  • 128e195: fix React warning, remove PageOpts.toc, use toc prop from
    components.wrapper

  • 576cb6f: - rename nextraConfig.flexsearch to nextraConfig.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
  • 198dbcc: use toc with JSX elements for remote content

  • 191e6c4: - use shikiji instead of shiki

    • rename useSSG to useData
  • c7f03e5: rename pageOpts.headings to toc

Minor Changes
  • 0fe55db: add import { useRouter } from 'nextra/hooks' for fetching locale
    and defaultLocale

  • 6ec3241: Add Terraform/Move icon #​2811
    #​2808

  • c7f03e5: should not add virtual _meta file if missing

  • 3644e1c: add remark-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

  • 60ec68c: improvements for remarkStaticImage:

    • import same image only once
    • support importing images by markdown image definitions
  • a52a869: add frontmatter.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: rename frontmatter.sidebar_label to frontmatter.sidebarTitle

  • 4e55c06: add support for _meta.{js,jsx,ts,tsx} with JSX support

  • 8bce16d: replace transformPageOpts nextra option by transformPageMap

  • 3043826: add shikiji twoslash

    Demo feature:
    https://nextra-v2-na3obnhub-shuding1.vercel.app/docs/guide/twoslash-support

  • 6070b02: move removeLinks function from nextra-theme-docs to
    nextra/remove-links

  • 440ff42: add MathJax support

Patch Changes
  • d1e3e9a: handle case when meta object was added in transformPageMap

  • 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 return
    export const getStaticProps = () => ({ notFound: true }) for static exports,
    instead of page without contain

  • 1a36469: add frontMatter.sidebarTitle only if frontMatter.title is empty

  • 799174f: fixed creating pageMap items for folders with dots

    remove requirement of passing filePaths with .md/.mdx extensions for
    createCatchAllMeta function

  • 98f439c: export evaluate function for remote content

  • cb24790: fix broken export default statement in mdx files

  • 982862f: Support for h2 and h4 Markdown headings with the Steps component.

  • a8c2196: use dynamic import for loading mermaid

  • 0b5cc9d: make nextra compatible with windows

  • fe5061b: fix for remote docs

  • 1a634cd: remove explicit ZodError assertion

  • ad108ff: use overflow-x-auto instead overflow-x-scroll for <Table>

  • 4f0f6b2: Omit ...{:type} inline code annotations from search index #​2922

  • 1f3e7cd: fix pageProps for NextraLayout

  • 90c129e: children in Card component is required only if the image prop is true

  • 150184b: attach heading anchor id attribute to heading (like Pagefind do)
    and fix heading anchor styles when theme.typesetting: 'article' is set

  • c74ae90: Fix TypeError: _jsx is not a function for remote content on
    development environment

  • 7615b62: fix useRouter in nextra/hooks, use asPath instead route
    because locale can be dynamic /[locale]

  • 7bb18e3: Add a generic for themeConfig in NextraThemeLayoutProps to
    improve type inference.

  • 8efbb45: remove nextra/data export, move useData to nextra/hooks,
    RemoteContent to nextra/components

  • 6f4c83a: fix unclickable links in TOC

    allow passing recmaPlugins in mdxOptions

  • d8a406b: add "sideEffects": false for better tree-shaking

  • 9f55bd1: update rehype-pretty-code/shikiji to latest

  • ccaf3d4: Add the autoImportThemeStyle option to the Nextra configuration.
    This allows users to import the official Nextra theme CSS into a specific
    cascade layer.

  • 2630461: fix
    TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
    on dev environment when frontMatter.searchable: false

  • 217f708: update next-themes

    fix 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 unnecessary sortPages from server/utils.ts

  • 363b85f: add flex-shrink: 0 for indent in FileTree 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 with
    display: 'hidden'

  • 9099c35: remove nextra/mdx-plugins, add nextra/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: move resolvePageMap to nextra/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 requirement

v3.0.0-alpha.40

Compare Source

Patch Changes
  • 982862f: Support for h2 and h4 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 with selected, disabled and
    hover state for <Tab>

  • 2872606: remove image prop from <Card> component, image will be showed
    based on truthiness children prop now

    set icon as optional prop

v3.0.0-alpha.38

Compare Source

Patch Changes
  • ccaf3d4: Add the autoImportThemeStyle 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 parent
    elements

v3.0.0-alpha.36

Compare Source

Patch Changes
  • 2b9b95b: migrate to @headlessui/react v2

v3.0.0-alpha.35

Compare Source

Patch Changes
  • f662237: avoid focus-visible style being cut off by overflow-hidden

v3.0.0-alpha.34

Compare Source

Patch Changes
  • 1a634cd: remove explicit ZodError assertion

v3.0.0-alpha.33

Compare Source

Patch Changes
  • 7bb18e3: Add a generic for themeConfig in NextraThemeLayoutProps to
    improve type inference.

v3.0.0-alpha.32

Compare Source

Patch Changes
  • 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.

  • 799174f: fixed creating pageMap items for folders with dots

    remove requirement of passing filePaths with .md/.mdx extensions for
    createCatchAllMeta function

  • 150184b: attach heading anchor id attribute to heading (like Pagefind do)
    and fix heading anchor styles when theme.typesetting: 'article' is set

  • 3c6193d: Remove unnecessary sortPages from server/utils.ts

v3.0.0-alpha.31

Compare Source

Patch Changes
  • d1e3e9a: handle case when meta object was added in transformPageMap

v3.0.0-alpha.30

Compare Source

Patch Changes
  • 7615b62: fix useRouter in nextra/hooks, use asPath instead route
    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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link
Contributor Author

renovate bot commented Dec 28, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: pnpm-lock.yaml
Progress: resolved 1, reused 0, downloaded 0, added 0
.                                        |  WARN  deprecated [email protected]
.                                        |  WARN  deprecated [email protected]
Progress: resolved 62, reused 0, downloaded 0, added 0
Progress: resolved 130, reused 0, downloaded 0, added 0
Progress: resolved 207, reused 0, downloaded 0, added 0
Progress: resolved 387, reused 0, downloaded 0, added 0
Progress: resolved 480, reused 0, downloaded 0, added 0
Progress: resolved 638, reused 0, downloaded 0, added 0
Progress: resolved 759, reused 0, downloaded 0, added 0
Progress: resolved 900, reused 0, downloaded 0, added 0
Progress: resolved 1050, reused 0, downloaded 0, added 0
 ERR_PNPM_PATCH_NOT_APPLIED  The following patches were not applied: [email protected]

Either remove them from "patchedDependencies" or update them to match packages in your dependencies.

Copy link

vercel bot commented Dec 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
graphql-github-io ❌ Failed (Inspect) Dec 28, 2024 3:55am

@renovate renovate bot changed the title fix(deps): update nextra monorepo to v3.3.1 Update nextra monorepo to v3.3.1 Apr 17, 2025
@renovate renovate bot changed the title Update nextra monorepo to v3.3.1 fix(deps): update nextra monorepo to v3.3.1 Apr 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants