Skip to content
This repository was archived by the owner on May 22, 2026. It is now read-only.

fix(deps): update dependency @astrojs/mdx to v4 - #19

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-4-astro-monorepo
Open

fix(deps): update dependency @astrojs/mdx to v4#19
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-4-astro-monorepo

Conversation

@renovate

@renovate renovate Bot commented Dec 3, 2024

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@astrojs/mdx (source) ^3.1.8^4.3.14 age confidence

Release Notes

withastro/astro (@​astrojs/mdx)

v4.3.14

Compare Source

Patch Changes

v4.3.13

Compare Source

Patch Changes

v4.3.12

Compare Source

Patch Changes

v4.3.11

Compare Source

Patch Changes

v4.3.10

Compare Source

Patch Changes
  • #​14715 3d55c5d Thanks @​ascorbic! - Adds support for client hydration in getContainerRenderer()

    The getContainerRenderer() function is exported by Astro framework integrations to simplify the process of rendering framework components when using the experimental Container API inside a Vite or Vitest environment. This update adds the client hydration entrypoint to the returned object, enabling client-side interactivity for components rendered using this function. Previously this required users to manually call container.addClientRenderer() with the appropriate client renderer entrypoint.

    See the container-with-vitest demo for a usage example, and the Container API documentation for more information on using framework components with the experimental Container API.

v4.3.9

Patch Changes

v4.3.8

Patch Changes
  • #​14591 3e887ec Thanks @​matthewp! - Adds TypeScript support for the components prop on MDX Content component when using await render(). Developers now get proper IntelliSense and type checking when passing custom components to override default MDX element rendering.

  • #​14598 7b45c65 Thanks @​delucis! - Reduces terminal text styling dependency size by switching from kleur to picocolors

v4.3.7

Compare Source

Patch Changes

v4.3.6

Compare Source

Patch Changes

v4.3.5

Compare Source

Patch Changes

v4.3.4

Compare Source

Patch Changes

v4.3.3

Compare Source

Patch Changes

v4.3.2

Compare Source

Patch Changes

v4.3.1

Compare Source

Patch Changes

v4.3.0

Compare Source

Minor Changes
  • #​13809 3c3b492 Thanks @​ascorbic! - Increases minimum Node.js version to 18.20.8

    Node.js 18 has now reached end-of-life and should not be used. For now, Astro will continue to support Node.js 18.20.8, which is the final LTS release of Node.js 18, as well as Node.js 20 and Node.js 22 or later. We will drop support for Node.js 18 in a future release, so we recommend upgrading to Node.js 22 as soon as possible. See Astro's Node.js support policy for more details.

    ⚠️ Important note for users of Cloudflare Pages: The current build image for Cloudflare Pages uses Node.js 18.17.1 by default, which is no longer supported by Astro. If you are using Cloudflare Pages you should override the default Node.js version to Node.js 22. This does not affect users of Cloudflare Workers, which uses Node.js 22 by default.

Patch Changes

v4.2.6

Compare Source

Patch Changes

v4.2.5

Compare Source

Patch Changes

v4.2.4

Compare Source

Patch Changes

v4.2.3

Compare Source

Patch Changes

v4.2.2

Patch Changes

v4.2.1

Patch Changes

v4.2.0

Compare Source

Minor Changes
  • #​13352 cb886dc Thanks @​delucis! - Adds support for a new experimental.headingIdCompat flag

    By default, Astro removes a trailing - from the end of IDs it generates for headings ending with
    special characters. This differs from the behavior of common Markdown processors.

    You can now disable this behavior with a new configuration flag:

    // astro.config.mjs
    import { defineConfig } from 'astro/config';
    
    export default defineConfig({
      experimental: {
        headingIdCompat: true,
      },
    });

    This can be useful when heading IDs and anchor links need to behave consistently across your site
    and other platforms such as GitHub and npm.

    If you are using the rehypeHeadingIds plugin directly, you can also pass this new option:

    // astro.config.mjs
    import { defineConfig } from 'astro/config';
    import { rehypeHeadingIds } from '@​astrojs/markdown-remark';
    import { otherPluginThatReliesOnHeadingIDs } from 'some/plugin/source';
    
    export default defineConfig({
      markdown: {
        rehypePlugins: [
          [rehypeHeadingIds, { experimentalHeadingIdCompat: true }],
          otherPluginThatReliesOnHeadingIDs,
        ],
      },
    });
Patch Changes

v4.1.1

Compare Source

Patch Changes

v4.1.0

Compare Source

Minor Changes
  • #​13254 1e11f5e Thanks @​p0lyw0lf! - Adds the ability to process and optimize remote images in Markdown syntax in MDX files.

    Previously, Astro only allowed local images to be optimized when included using ![]() syntax. Astro's image service could only display remote images without any processing.

    Now, Astro's image service can also optimize remote images written in standard Markdown syntax. This allows you to enjoy the benefits of Astro's image processing when your images are stored externally, for example in a CMS or digital asset manager.

    No additional configuration is required to use this feature! Any existing remote images written in Markdown will now automatically be optimized. To opt-out of this processing, write your images in Markdown using the JSX <img/> tag instead. Note that images located in your public/ folder are still never processed.

Patch Changes

v4.0.8

Compare Source

Patch Changes

v4.0.7

Compare Source

Patch Changes

v4.0.6

Compare Source

Patch Changes

v4.0.5

Compare Source

Patch Changes

v4.0.4

Compare Source

Patch Changes
  • #​12921 aeb7e1a Thanks @​ascorbic! - Fixes a bug that caused Image component to be imported on MDX pages that did not include images

  • #​12913 9a3b48c Thanks @​bluwy! - Makes internal check() function a no-op to allow faster component renders and prevent React 19 component warnings

v4.0.3

Compare Source

Patch Changes

v4.0.2

Compare Source

Patch Changes

v4.0.1

Compare Source

Patch Changes

v4.0.0

Compare Source

Major Changes
  • #​12231 90ae100 Thanks @​bluwy! - Handles the breaking change in Astro where content pages (including .mdx pages located within src/pages/) no longer respond with charset=utf-8 in the Content-Type header.

    For MDX pages without layouts, @astrojs/mdx will automatically add the <meta charset="utf-8"> tag to the page by default. This reduces the boilerplate needed to write with non-ASCII characters. If your MDX pages have a layout, the layout component should include the <meta charset="utf-8"> tag.

    If you require charset=utf-8 to render your page correctly, make sure that your layout components have the <meta charset="utf-8"> tag added.

  • #​12008 5608338 Thanks @​Princesseuh! - Welcome to the Astro 5 beta! This release has no changes from the latest alpha of this package, but it does bring us one step closer to the final, stable release.

    Starting from this release, no breaking changes will be introduced unless absolutely necessary.

    To learn how to upgrade, check out the Astro v5.0 upgrade guide in our beta docs site.

Minor Changes
  • #​12539 827093e Thanks @​bluwy! - Drops node 21 support

  • #​11741 6617491 Thanks @​bluwy! - Updates adapter server entrypoint to use @astrojs/mdx/server.js

    This is an internal change. Handling JSX in your .mdx files has been moved from Astro internals and is now the responsibility of this integration. You should not notice a change in your project, and no update to your code is required.

Patch Changes

v3.1.9

Compare Source

Patch Changes

Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) in timezone Asia/Tokyo, 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 this update again.


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

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

@renovate
renovate Bot requested a review from koralle December 3, 2024 16:23
@renovate
renovate Bot force-pushed the renovate/major-4-astro-monorepo branch from d29d6ee to ee07842 Compare December 9, 2024 17:30
@renovate
renovate Bot force-pushed the renovate/major-4-astro-monorepo branch from ee07842 to 392ffa4 Compare December 20, 2024 13:01
@renovate
renovate Bot force-pushed the renovate/major-4-astro-monorepo branch 3 times, most recently from f00fa55 to d1a0d0a Compare January 15, 2025 14:11
@renovate
renovate Bot force-pushed the renovate/major-4-astro-monorepo branch from d1a0d0a to afd35a4 Compare January 21, 2025 08:43
@renovate
renovate Bot force-pushed the renovate/major-4-astro-monorepo branch from afd35a4 to 1b95279 Compare January 30, 2025 12:26
@renovate
renovate Bot force-pushed the renovate/major-4-astro-monorepo branch from 1b95279 to de795bf Compare February 27, 2025 15:34
@renovate
renovate Bot force-pushed the renovate/major-4-astro-monorepo branch 2 times, most recently from f91d23e to 9252541 Compare March 13, 2025 14:41
@renovate
renovate Bot force-pushed the renovate/major-4-astro-monorepo branch from 9252541 to 921f30a Compare March 18, 2025 16:44
@renovate
renovate Bot force-pushed the renovate/major-4-astro-monorepo branch 2 times, most recently from ac329a4 to 059acdf Compare March 31, 2025 16:03
@renovate
renovate Bot force-pushed the renovate/major-4-astro-monorepo branch from 059acdf to 93434a7 Compare April 14, 2025 10:37
@renovate
renovate Bot force-pushed the renovate/major-4-astro-monorepo branch from 93434a7 to 505b42c Compare April 23, 2025 11:57
@renovate
renovate Bot force-pushed the renovate/major-4-astro-monorepo branch from 505b42c to fc45def Compare April 30, 2025 13:48
@renovate
renovate Bot force-pushed the renovate/major-4-astro-monorepo branch from fc45def to f83b7ec Compare May 22, 2025 12:36
@renovate
renovate Bot force-pushed the renovate/major-4-astro-monorepo branch from f83b7ec to d8d1a4c Compare July 17, 2025 17:27
@renovate
renovate Bot force-pushed the renovate/major-4-astro-monorepo branch 2 times, most recently from e5f312f to 21c838b Compare August 1, 2025 18:08
@renovate
renovate Bot force-pushed the renovate/major-4-astro-monorepo branch 2 times, most recently from 3c823ff to edd1b91 Compare August 15, 2025 18:00
@renovate
renovate Bot force-pushed the renovate/major-4-astro-monorepo branch from edd1b91 to 937762a Compare August 19, 2025 19:49
@renovate
renovate Bot force-pushed the renovate/major-4-astro-monorepo branch from 937762a to 310f5ab Compare August 31, 2025 12:25
@renovate
renovate Bot force-pushed the renovate/major-4-astro-monorepo branch 2 times, most recently from 69f0906 to 9ddef68 Compare September 22, 2025 13:35
@renovate
renovate Bot force-pushed the renovate/major-4-astro-monorepo branch from 9ddef68 to b4cca88 Compare September 25, 2025 14:35
@renovate
renovate Bot force-pushed the renovate/major-4-astro-monorepo branch from b4cca88 to 39c1e76 Compare October 9, 2025 15:29
@renovate
renovate Bot force-pushed the renovate/major-4-astro-monorepo branch 2 times, most recently from 1c81fc7 to 72d0b7b Compare October 23, 2025 12:51
@renovate
renovate Bot force-pushed the renovate/major-4-astro-monorepo branch from 72d0b7b to 7499096 Compare October 28, 2025 20:59
@renovate
renovate Bot force-pushed the renovate/major-4-astro-monorepo branch 2 times, most recently from 94ad608 to 18a58cf Compare November 10, 2025 23:42
@renovate
renovate Bot force-pushed the renovate/major-4-astro-monorepo branch 3 times, most recently from 2b2e5ae to daa8926 Compare November 20, 2025 14:14
@renovate
renovate Bot force-pushed the renovate/major-4-astro-monorepo branch from daa8926 to 67faeaf Compare December 3, 2025 17:49
@renovate
renovate Bot force-pushed the renovate/major-4-astro-monorepo branch from 67faeaf to 2450eca Compare December 10, 2025 19:51
@renovate
renovate Bot force-pushed the renovate/major-4-astro-monorepo branch from 2450eca to be1b790 Compare December 31, 2025 15:31
@renovate
renovate Bot force-pushed the renovate/major-4-astro-monorepo branch from be1b790 to 3fbe71f Compare January 8, 2026 17:10
@renovate
renovate Bot force-pushed the renovate/major-4-astro-monorepo branch 2 times, most recently from 82bf896 to 3f742e4 Compare January 23, 2026 20:06
@renovate
renovate Bot force-pushed the renovate/major-4-astro-monorepo branch from 3f742e4 to 06c9e36 Compare February 2, 2026 19:57
@renovate
renovate Bot force-pushed the renovate/major-4-astro-monorepo branch from 06c9e36 to 5edc30d Compare February 12, 2026 17:15
@renovate
renovate Bot force-pushed the renovate/major-4-astro-monorepo branch 2 times, most recently from f73a1ed to 3837ce8 Compare March 10, 2026 18:02
@renovate
renovate Bot force-pushed the renovate/major-4-astro-monorepo branch 2 times, most recently from 2ddd055 to fe86d3d Compare April 1, 2026 17:29
@renovate
renovate Bot force-pushed the renovate/major-4-astro-monorepo branch from fe86d3d to e203e06 Compare April 8, 2026 20:56
@renovate
renovate Bot force-pushed the renovate/major-4-astro-monorepo branch from e203e06 to fd9d761 Compare April 29, 2026 12:09
@renovate
renovate Bot force-pushed the renovate/major-4-astro-monorepo branch from fd9d761 to fa6ab8d Compare May 12, 2026 16:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant