Skip to content
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

fix(deps): update nextra monorepo to v3 (major) #263

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 28, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
nextra 2.13.4 -> 3.1.1 age adoption passing confidence
nextra-theme-docs 2.13.4 -> 3.1.1 age adoption passing confidence

Release Notes

shuding/nextra (nextra)

v3.1.1

Compare Source

Patch Changes

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
  • Updated dependencies [035fe48]
  • Updated dependencies [8e9767e]
  • Updated dependencies [fec399a]
  • Updated dependencies [c002118]

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

Patch Changes
  • f1815ac: From an accessibility POV (WCAG G13) there's a need of additional
    visual 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.12

Compare Source

Patch Changes

v3.0.11

Compare Source

Patch Changes

v3.0.10

Compare Source

Patch Changes

v3.0.9

Compare Source

Patch Changes

v3.0.8

Compare Source

Patch Changes
  • 72c84eb: add max-md:_overflow-hidden instead of _overflow-hidden when
    hamburger is clicked
  • 1530239: hide <summary> marker on Safari
  • 210d68a: trigger scrolling when the TOC item is outside the viewport
  • bf04f96: add ring-inset for navbar links

v3.0.7

Compare Source

Patch Changes

v3.0.6

Compare Source

Patch Changes

v3.0.5

Compare Source

v3.0.4

Compare Source

Patch Changes
  • 84fc255: should get right activeType, activeThemeContext even when some
    parent has display: 'hidden'
  • 9b6595d: Ensure the jump link behavior is consistent in Markdown.
  • f3a5575: add a scrollbar for nav links in the header when they exceed
    available free space
  • Updated dependencies [84a8a41]
  • Updated dependencies [659b36e]
  • Updated dependencies [84fc255]

v3.0.3

Compare Source

Patch Changes

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

Patch Changes

v3.0.0

Compare Source

Major Changes
  • e7e8e84: show react components, variable interpolation and latex in toc

  • c7f03e5: remove toc.headingComponent

  • ea1a736: remove next-seo and useNextSeoProps, use head option instead

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

  • ebe652d: remove sidebar.titleComponent, use JSX for styling separators and
    titles

  • eca7535: - remove Steps, Callout, Tabs, Tab, Cards, Card,
    FileTree exports, export them now from nextra/components

    • remove useMDXComponents export, export it now from nextra/mdx
    • set by default sidebar.toggleButton to true
  • 128e195: fix React warning, remove PageOpts.toc, use toc prop from
    components.wrapper

  • 63ca28b: remove config.serverSideError

  • f2dd18d: - rename theme config options

    i18n.texti18n.name

    banner.textbanner.content

    editLink.texteditLink.content

    footer.textfooter.content

  • 198dbcc: use toc with JSX elements for remote content

  • 191e6c4: - use shikiji instead of shiki

    • rename useSSG to useData
  • 6eb3118: rename primaryHue and primarySaturation theme options to
    color.hue and color.saturation

  • c7f03e5: rename pageOpts.headings to toc

  • 8c1b9d5: remove <MatchSorterSearch>

Minor Changes
  • eb943d0: add theme.topContent and theme.bottomContent

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

  • c77485e: set default head option as null

  • 1dcb91a: export useThemeConfig

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

  • 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

  • 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

  • b47880d: export useMenu hook

  • b776b16: add backgroundColor.light and backgroundColor.dark theme options

  • 6070b02: rename frontmatter.sidebar_label to frontmatter.sidebarTitle

  • 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

  • 962cea6: allow items: Map for type: 'menu' since object can't guaranty the
    insertion order

  • 440ff42: add MathJax support

  • 1a97327: keep loading, placeholder and themeSwitch.useOptions default
    theme options only for en lang

Patch Changes
  • b045cc3: fix invisible mobile menu after click on hamburger

  • eeb4c4c: enable outline: 'none' only for :focus-visible state, to fix
    double ring in Firefox

  • 376b895: fixes case when setting disabled: true on the scroll to top button
    prevents scrolling to most top

    scroll to most top in toc element too

  • 34e25cd: migrate search to @headlessui/react Combobox

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

  • 57f3963: Remove intersection-observer polyfill

  • 2b9b95b: migrate to @headlessui/react v2

  • 7457d6b: remove git-url-parse to keep bundle smaller

  • 2a3e3e7: Fix first list item in <FileTree> not within permitted parent
    elements

  • 6070b02: load flexsearch dynamically to reduce bundle size

  • 0b4d43b: Avoid the sidebar collapse having unintended animations when
    sidebar.autoCollapse is set to true.

  • 31c2ee7: fix removeLinks when input node is link

  • bf963cd: Remove the aria-hidden attribute from scroll-to-top button when it is
    visible

  • 829c417: - fix overflow when clicking on <details> with open state

    • fix animation on mobile when clicking on <details> with open state
  • cb24790: fix broken export default statement in mdx files

  • de56507: fix vertical margin for nested ordered <ol> and unordered <ul>
    lists

  • 8c99baf: enhance search input to better support CJK language users

  • a8c2196: use dynamic import for loading mermaid

  • 0b5cc9d: make nextra compatible with windows

  • 7b0b7e9: fix page scroll jump while entering characters in the search input

  • 45471df: fix “Scroll to top” is not supposed to be interactable when it is
    hidden.

    display:children doesn't collapse breadcrumbs

    hide external links from pagination

    remove xmlns attribute from icons

  • 8ffe2fe: remove focus-visible polyfill

  • fe5061b: fix for remote docs

  • 6945f38: fix not rendered default <meta name="description" /> and
    <meta property="og:description" />

  • 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

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

  • 80c9764: ensure zod is removed from production build with /* @&#8203;__PURE__ */
    comments

  • 9df7f58: Fix nav-links not highlighting on hover in dark mode

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

  • 9b41180: backToTop is hidden when enabled but when toc.extraContent,
    feedback.content and editLink.component are falsy

  • 6f4c83a: fix unclickable links in TOC

    allow passing recmaPlugins in mdxOptions

  • f255696: Improve styles for reduced motion preferences

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

  • d21634d: export getComponents

  • 452e5bd: Add <Playground> component

    https://nextra-v2-9x7fp6hti-shud.vercel.app/docs/guide/advanced/playground

  • e95faa1: - fixed <summary> lost whitespaces when there is some HTML element
    inside

    • fixed hydration errors and <summary> was not rendered when <details>
      text content follows directly after <summary> element
  • ccaf3d4: Add the autoImportThemeStyle option to the Nextra configuration.
    This allows users to import the official Nextra theme CSS into a specific
    cascade layer.

  • cee94a6: Consider the navbar height when setting the root margin for the
    active anchor intersection observer

  • 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>

  • 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

  • 1a97327: Update the backToTop option in the docs theme configuration to
    support i18n

  • 799174f: fixed react warning
    Warning: React has detected a change in the order of Hooks called by Body
    when themeConfig.main options is used

  • 363b85f: add flex-shrink: 0 for indent in FileTree for <Ident> and svg
    icons in <Folder> and <File>

  • 237c345: Make React 18 as minimal requirement

  • eb943d0: hardcode flexsearch version to 0.7.31, because package is broken on
    0.7.41

  • ad108ff: fix <Bleed> overflows incorrectly in firefox

  • 4fb2452: fix invisible mobile menu when layout: "raw" is specified in _meta
    file

  • 7faa096: fix visible hidden pages on mobile which set up with
    display: 'hidden'

  • 315ca82: remove possible links in toc elements

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

  • 363b85f: fix RangeError: Maximum call stack size exceeded in findSummary
    when child.props.children is undefined

  • Updated dependencies [e7e8e84]

  • Updated dependencies [7188278]

  • Updated dependencies [d1e3e9a]

  • Updated dependencies [73239c4]

  • Updated dependencies [2b9b95b]

  • Updated dependencies [023d37b]

  • Updated dependencies [0fe55db]

  • Updated dependencies [50a52fd]

  • Updated dependencies [c2ad837]

  • Updated dependencies [2a3e3e7]

  • Updated dependencies [a3b67ae]

  • Updated dependencies [1a36469]

  • Updated dependencies [799174f]

  • Updated dependencies [98f439c]

  • Updated dependencies [6ec3241]

  • Updated dependencies [148278c]

  • Updated dependencies [c7f03e5]

  • Updated dependencies [3644e1c]

  • Updated dependencies [919fe97]

  • Updated dependencies [cb24790]

  • Updated dependencies [47b125d]

  • Updated dependencies [982862f]

  • Updated dependencies [a8c2196]

  • Updated dependencies [ba30c6c]

  • Updated dependencies [0b5cc9d]

  • Updated dependencies [5a63701]

  • Updated dependencies [60ec68c]

  • Updated dependencies [d7d8a3e]

  • Updated dependencies [fe5061b]

  • Updated dependencies [2872606]

  • Updated dependencies [a52a869]

  • Updated dependencies [6ec3241]

  • Updated dependencies [1a634cd]

  • Updated dependencies [63ca28b]

  • Updated dependencies [ad108ff]

  • Updated dependencies [ad4823d]

  • Updated dependencies [4f0f6b2]

  • Updated dependencies [1f3e7cd]

  • Updated dependencies [ab07609]

  • Updated dependencies [2f3be33]

  • Updated dependencies [90c129e]

  • Updated dependencies [f71e660]

  • Updated dependencies [150184b]

  • Updated dependencies [66cce1d]

  • Updated dependencies [c74ae90]

  • Updated dependencies [7615b62]

  • Updated dependencies [6070b02]

  • Updated dependencies [7bb18e3]

  • Updated dependencies [b9f88e3]

  • Updated dependencies [8efbb45]

  • Updated dependencies [6f4c83a]

  • Updated dependencies [d8a406b]

  • Updated dependencies [9f55bd1]

  • Updated dependencies [4e55c06]

  • Updated dependencies [128e195]

  • Updated dependencies [8bce16d]

  • Updated dependencies [ccaf3d4]

  • Updated dependencies [3043826]

  • Updated dependencies [2630461]

  • Updated dependencies [576cb6f]

  • Updated dependencies [217f708]

  • Updated dependencies [57bc0e2]

  • Updated dependencies [ca51306]

  • Updated dependencies [f662237]

  • Updated dependencies [3c6193d]

  • Updated dependencies [1f3e7cd]

  • Updated dependencies [198dbcc]

  • Updated dependencies [363b85f]

  • Updated dependencies [fef635e]

  • Updated dependencies [6070b02]

  • Updated dependencies [237c345]

  • Updated dependencies [191e6c4]

  • Updated dependencies [440ff42]

  • Updated dependencies [7faa096]

  • Updated dependencies [9099c35]

  • Updated dependencies [98f439c]

  • Updated dependencies [a95e745]

  • Updated dependencies [80e11e0]

  • Updated dependencies [c7f03e5]


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.


  • 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

vercel bot commented Sep 28, 2024

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

Name Status Preview Comments Updated (UTC)
website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 27, 2024 0:41am

@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch from 8766b35 to b3409be Compare September 28, 2024 16:19
@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch from b3409be to 8f486e7 Compare September 30, 2024 21:32
@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch from 8f486e7 to 2f2a4a6 Compare October 1, 2024 22:07
@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch from 2f2a4a6 to a228fd3 Compare October 3, 2024 01:25
@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch from a228fd3 to 6df6239 Compare October 6, 2024 03:43
@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch from 6df6239 to aa6819b Compare October 7, 2024 09:14
@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch from aa6819b to 18f7379 Compare October 7, 2024 19:52
@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch from 18f7379 to 0c6003e Compare October 8, 2024 11:00
@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch from 0c6003e to 0418128 Compare October 9, 2024 01:02
@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch from 0418128 to 57fc71c Compare October 9, 2024 16:41
@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch from 57fc71c to 339cade Compare October 11, 2024 17:22
@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch from 339cade to 39dbf22 Compare October 12, 2024 00:12
@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch from 39dbf22 to ce0e9d4 Compare October 13, 2024 01:24
@renovate renovate bot force-pushed the renovate/major-nextra-monorepo branch from ce0e9d4 to 7069940 Compare October 15, 2024 15:36
Copy link
Contributor Author

renovate bot commented Oct 27, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Copy link

perfsee bot commented Oct 27, 2024

napi-rs-website

Bundle main

diff ------------------- Bundle Size Diff -------------------------

@@                       EntryPoint: main                        @@
##                       main …xtra-monorepo                 +/- ##
===================================================================
> Bundle              35.9 MB        35.1 MB     -856 kB(-2.38%)   
> Initial JS          4.57 MB        3.71 MB    -864 kB(-18.90%)   
> Initial CSS         69.3 kB        61.2 kB   -8.13 kB(-11.72%)   
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
< Assets                  144            170                 +26   
< Chunks                  132            158                 +26   
> Packages                 35             28                  -7   
= Duplicates                0              0                       
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warnings ~~~~~~~~~~~~~~~~~~~~~~~~~~~#
! Separate mixed content assets files                              

@@                    EntryPoint: pages/_app                     @@
##                       main …xtra-monorepo                 +/- ##
===================================================================
> Bundle              35.7 MB          35 MB     -716 kB(-2.01%)   
> Initial JS           4.3 MB        3.57 MB    -724 kB(-16.84%)   
> Initial CSS         69.3 kB        61.2 kB   -8.13 kB(-11.72%)   
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
< Assets                  141            168                 +27   
< Chunks                  129            156                 +27   
> Packages                 31             27                  -4   
= Duplicates                0              0                       
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warnings ~~~~~~~~~~~~~~~~~~~~~~~~~~~#
! Separate mixed content assets files                              

@@                   EntryPoint: pages/_error                    @@
##                       main …xtra-monorepo                 +/- ##
===================================================================
> Bundle                250 B          235 B       -15 B(-6.00%)   
> Initial JS            250 B          235 B       -15 B(-6.00%)   
= Initial CSS             0 B            0 B                       
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
= Assets                    1              1                       
= Chunks                    1              1                       
= Packages                  1              1                       
= Duplicates                0              0                       
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warnings ~~~~~~~~~~~~~~~~~~~~~~~~~~~#
! Avoid cache wasting                                              

...and more

Copy link
Member

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @renovate and the rest of your teammates on Graphite Graphite

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.

1 participant