Update astro monorepo (major)#103
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
from
December 2, 2024 03:25
1db6699 to
a092a75
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
from
December 9, 2024 01:41
a092a75 to
a0d2f89
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
from
December 10, 2024 12:38
a0d2f89 to
8ab2756
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
from
December 11, 2024 00:33
8ab2756 to
b8ccb54
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
from
December 12, 2024 16:54
b8ccb54 to
4344313
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
from
December 16, 2024 03:52
4344313 to
ac5dcaa
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
from
December 16, 2024 16:06
ac5dcaa to
b069a34
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
from
December 18, 2024 11:11
b069a34 to
e21c3ae
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
from
December 23, 2024 16:02
e21c3ae to
882f440
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
from
December 23, 2024 18:11
882f440 to
e3acdd3
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
from
December 23, 2024 22:52
e3acdd3 to
17d9ca7
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
from
December 24, 2024 04:59
17d9ca7 to
0390975
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
from
December 26, 2024 12:43
0390975 to
aeb1852
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
from
January 20, 2025 17:25
1a8bb93 to
74d1385
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
from
January 22, 2025 09:19
74d1385 to
37335cf
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
from
January 27, 2025 20:58
37335cf to
7272256
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
from
January 30, 2025 19:04
7272256 to
3f4dd10
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
from
February 3, 2025 12:37
3f4dd10 to
399f403
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
from
February 6, 2025 15:07
399f403 to
f4ae24b
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
from
February 6, 2025 16:36
f4ae24b to
573792b
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
from
February 7, 2025 12:41
573792b to
dfc53d1
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
from
February 7, 2025 18:13
dfc53d1 to
e80c7ed
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
from
February 11, 2025 11:11
e80c7ed to
c637811
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
from
February 11, 2025 19:39
c637811 to
3590195
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
from
February 17, 2025 03:12
3590195 to
99f44ce
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
from
February 19, 2025 12:35
99f44ce to
3ae6188
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
from
February 20, 2025 16:26
3ae6188 to
63e384d
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
from
March 3, 2025 18:12
63e384d to
bea20e5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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→^7.0.0^5.0.0→^9.0.0^5.0.0→^6.0.04.16.19→7.0.7Release Notes
withastro/astro (@astrojs/mdx)
v7.0.2Compare Source
Patch Changes
eb6f97e]:v7.0.1Compare Source
Patch Changes
02b73b0Thanks @ematipico! - Fixes an issue where thepeerDependenciesfield used incorrect dependencies.v7.0.0Compare Source
Major Changes
cafec4eThanks @delucis! - Upgrade to Vite v8Minor Changes
#17093
4585fe5Thanks @Princesseuh! - Replaces the import entrypoint ofgetContainerRenderer()A new
container-rendererentrypoint exportinggetContainerRenderer()has been added to the following integrations: React, Preact, Svelte, SolidJS, Vue, and MDX. This prevents bundlers from trying to bundle unrelated exports from the package root when only the Container API is used.If you are using the Container API, update your import statements to use the new entrypoint. The following example updates the
getContainerRenderer()import for React:Importing
getContainerRenderer()from the package root still works, but is now deprecated and logs a warning.#17129
ff7b718Thanks @Princesseuh! - Adds support for modifying frontmatter programmatically with the default Markdown processor.A Sätteri plugin can now read and mutate
ctx.data.astro.frontmatter, and Astro uses the result as the page's frontmatter, in both Markdown and MDX.Patch Changes
#17124
7e7ab87Thanks @Princesseuh! - Updatessatterito0.9.0. See the Sätteri changelog for details.#17027
241250bThanks @ocavue! - Triggers beta prereleases for packages that are still on alphav6.0.3Compare Source
Patch Changes
#16969
4a31f90Thanks @Princesseuh! - Adds support for Prism syntax highlighting to the Sätteri Markdown and MDX processors. Settingmarkdown.syntaxHighlightto'prism'now highlights your code blocks with Prism.v6.0.2Patch Changes
#16955
9a93d68Thanks @Princesseuh! - Updates Sätteri processor to v0.8.0. See its changelog for details on bugs fixed and features added.Updated dependencies [
9a93d68]:v6.0.1Patch Changes
eeb064c]:v6.0.0Compare Source
Major Changes
#16848
f732f3cThanks @Princesseuh! - Adds a newmarkdown.processorconfiguration option, allowing you to choose an alternative Markdown processor.Websites with many Markdown/MDX files tend to be slow to build because the unified ecosystem (e.g., remark, rehype) is slow to process. This feature introduces the ability to replace this part of the build pipeline with another processor.
The default processor is
unified(). This means that existing configurations remain unchanged and your remark/rehype plugins continue to work.In addition to this new configuration option, Astro provides a new alternative processor based on Rust: Sätteri. You can choose to use it now by installing
@astrojs/markdown-satteri, importing thesatteri()processor, and adapting your existing configuration:This processor does not support the remark and rehype plugins. This means you may need to convert them to MDAST or HAST plugins to retain your current functionality.
The existing top-level
markdown.remarkPlugins,markdown.rehypePlugins,markdown.remarkRehype,markdown.gfm, andmarkdown.smartypantsoptions still work, but are now deprecated and will be removed in a future major update. The matchingremarkPlugins,rehypePlugins, andremarkRehypeoptions on the MDX integration are also deprecated for the same reason. To anticipate their removal, move them ontounified({...})(or your preferred plugin processor) :// astro.config.mjs import { defineConfig } from 'astro/config'; import remarkToc from 'remark-toc'; import rehypeSlug from 'rehype-slug'; + import { unified } from '@​astrojs/markdown-remark'; export default defineConfig({ markdown: { + processor: unified({ + remarkPlugins: [remarkToc], + rehypePlugins: [rehypeSlug], + remarkRehype: true, + gfm: true, + smartypants: true, + }), - remarkPlugins: [remarkToc], - rehypePlugins: [rehypeSlug], - remarkRehype: true, - gfm: true, - smartypants: true, }, });For more information on enabling and using this feature in your project, see our Markdown guide. To give feedback on this new Rust processor, see the Native Markdown / MDX parsing and processing RFC.
Minor Changes
#16848
f732f3cThanks @Princesseuh! - Adds support for using@astrojs/markdown-satterito parse.mdxfiles.Note that the
recmaPluginsoption is not supported when using Sätteri as your MDX processor. If you would like to use Sätteri for Markdown files, but still use Unified for MDX, you can pass a different Markdown processor to the MDX integration:Patch Changes
f732f3c,f732f3c,f732f3c]:v5.0.6Compare Source
Patch Changes
49e10e3Thanks @igor-koop! - Fixes an issue where thesmartypantsoption was ignored.v5.0.5Compare Source
Patch Changes
9256345]:v5.0.4Compare Source
Patch Changes
f3485c3]:v5.0.3Compare Source
Patch Changes
10a1a5a]:v5.0.2Compare Source
Patch Changes
#15864
d3c7de9Thanks @florian-lefebvre! - Removes temporary support for Node >=20.19.1 because Stackblitz now uses Node 22 by defaultUpdated dependencies []:
v5.0.1Compare Source
Patch Changes
6f8f0bcThanks @ematipico! - Updates the AstropeerDependencies#astroto be6.0.0.v5.0.0Compare Source
Major Changes
#14494
727b0a2Thanks @florian-lefebvre! - Updates Markdown heading ID generation - (v6 upgrade guidance)#14427
e131261Thanks @florian-lefebvre! - Increases minimum Node.js version to 22.12.0 - (v6 upgrade guidance)#14445
ecb0b98Thanks @florian-lefebvre! - Astro v6.0 upgrades to Vite v7.0 as the development server and production bundler - (v6 upgrade guidance)Patch Changes
#15187
bbb5811Thanks @matthewp! - Update to Astro 6 beta#15475
36fc0e0Thanks @delucis! - Fixes edge cases where anexport const components = {...}declaration would fail to be detected with theoptimizeoption enabled#15264
11efb05Thanks @florian-lefebvre! - Lower the Node version requirement to allow running on Stackblitz until it supports v22Updated dependencies [
bbb5811,cb99214,80f0225,727b0a2,1fa4177,7c55f80,6f19ecc,f94d3c5]:v4.3.14Compare Source
Patch Changes
v4.3.13Compare Source
Patch Changes
d8305f8]:v4.3.12Compare Source
Patch Changes
e1dd377Thanks @ematipico! - Removespicocolorsas dependency in favor of the forkpiccolore.v4.3.11Compare Source
Patch Changes
v4.3.10Compare Source
Patch Changes
#14715
3d55c5dThanks @ascorbic! - Adds support for client hydration ingetContainerRenderer()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 callcontainer.addClientRenderer()with the appropriate client renderer entrypoint.See the
container-with-vitestdemo for a usage example, and the Container API documentation for more information on using framework components with the experimental Container API.v4.3.9Patch Changes
e3175d9Thanks @GameRoMan! - Updatesviteversion to fix CVEv4.3.8Patch Changes
#14591
3e887ecThanks @matthewp! - Adds TypeScript support for thecomponentsprop on MDXContentcomponent when usingawait render(). Developers now get proper IntelliSense and type checking when passing custom components to override default MDX element rendering.#14598
7b45c65Thanks @delucis! - Reduces terminal text styling dependency size by switching fromkleurtopicocolorsv4.3.7Compare Source
Patch Changes
v4.3.6Compare Source
Patch Changes
v4.3.5Compare Source
Patch Changes
c24a8f4Thanks @jsparkdev! - Updatesviteversion to fix CVEv4.3.4Compare Source
Patch Changes
v4.3.3Compare Source
Patch Changes
v4.3.2Compare Source
Patch Changes
v4.3.1Compare Source
Patch Changes
6bd5f75]:v4.3.0Compare Source
Minor Changes
#13809
3c3b492Thanks @ascorbic! - Increases minimum Node.js version to 18.20.8Node.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.
Patch Changes
v4.2.6Compare Source
Patch Changes
c3e80c2Thanks @jsparkdev! - update vite to latest version for fixing CVEv4.2.5Compare Source
Patch Changes
5dd2d3fThanks @florian-lefebvre! - Removes unused codev4.2.4Compare Source
Patch Changes
#13596
3752519Thanks @jsparkdev! - update vite to latest version to fix CVE#13547
360cb91Thanks @jsparkdev! - Updates vite to the latest versionv4.2.3Compare Source
Patch Changes
ff9d69eThanks @jsparkdev! - updateviteto the latest versionv4.2.2Patch Changes
a98ae5bThanks @ematipico! - Updates the dependencyviteto the latest.v4.2.1Patch Changes
#13448
91c9503Thanks @ematipico! - Upgrade to shiki v3Updated dependencies [
91c9503]:v4.2.0Compare Source
Minor Changes
#13352
cb886dcThanks @delucis! - Adds support for a newexperimental.headingIdCompatflagBy default, Astro removes a trailing
-from the end of IDs it generates for headings ending withspecial characters. This differs from the behavior of common Markdown processors.
You can now disable this behavior with a new configuration flag:
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
rehypeHeadingIdsplugin directly, you can also pass this new option:Patch Changes
cb886dc,a3327ff]:v4.1.1Compare Source
Patch Changes
v4.1.0Compare Source
Minor Changes
#13254
1e11f5eThanks @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 yourpublic/folder are still never processed.Patch Changes
1e11f5e]:v4.0.8Compare Source
Patch Changes
db252e0]:v4.0.7Compare Source
Patch Changes
cf30880Thanks @ascorbic! - Upgrades Vitev4.0.6Compare Source
Patch Changes
3d89e62]:v4.0.5Compare Source
Patch Changes
3a267f3Thanks @bluwy! - Reverts9a3b48cwhich caused a regression for rendering inline MDX components and MDX files from content collectionsv4.0.4Compare Source
Patch Changes
#12921
aeb7e1aThanks @ascorbic! - Fixes a bug that caused Image component to be imported on MDX pages that did not include images#12913
9a3b48cThanks @bluwy! - Makes internalcheck()function a no-op to allow faster component renders and prevent React 19 component warningsv4.0.3Compare Source
Patch Changes
739dbfbThanks @ascorbic! - Upgrades Vite to pin esbuildv4.0.2Compare Source
Patch Changes
f13417b,87231b1,a71e9b9]:v4.0.1Compare Source
Patch Changes
4f2fd0aThanks @Princesseuh! - Fixes compatibility with Astro 5v4.0.0Compare Source
Major Changes
#12231
90ae100Thanks @bluwy! - Handles the breaking change in Astro where content pages (including.mdxpages located withinsrc/pages/) no longer respond withcharset=utf-8in theContent-Typeheader.For MDX pages without layouts,
@astrojs/mdxwill 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-8to render your page correctly, make sure that your layout components have the<meta charset="utf-8">tag added.#12008
5608338Thanks @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
827093eThanks @bluwy! - Drops node 21 support#11741
6617491Thanks @bluwy! - Updates adapter server entrypoint to use@astrojs/mdx/server.jsThis is an internal change. Handling JSX in your
.mdxfiles 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
#12075
a19530eThanks @bluwy! - Parses frontmatter ourselves#11861
3ab3b4eThanks @bluwy! - Updates@astrojs/markdown-remarkand handle its breaking changes#12533
1b61fdfThanks @ematipico! - Fixes a case where the MDX renderer couldn't be loaded when used as a direct dependency of an Astro integration.Updated dependencies [
3ab3b4e,5608338,560ef15,83a2a64,3ab3b4e,a19530e]:withastro/astro (@astrojs/svelte)
v9.0.1Compare Source
Patch Changes
02b73b0Thanks @ematipico! - Fixes an issue where thepeerDependenciesfield used incorrect dependencies.v9.0.0Compare Source
Major Changes
cafec4eThanks @delucis! - Upgrade to Vite v8Minor Changes
#17093
4585fe5Thanks @Princesseuh! - Replaces the import entrypoint ofgetContainerRenderer()A new
container-rendererentrypoint exportinggetContainerRenderer()has been added to the following integrations: React, Preact, Svelte, SolidJS, Vue, and MDX. This prevents bundlers from trying to bundle unrelated exports from the package root when only the Container API is used.If you are using the Container API, update your import statements to use the new entrypoint. The following example updates the
getContainerRenderer()import for React:Importing
getContainerRenderer()from the package root still works, but is now deprecated and logs a warning.#16549
9d9d516Thanks @ocavue! - Updates@sveltejs/vite-plugin-svelteto v7. No user action is necessary.Patch Changes
241250bThanks @ocavue! - Triggers beta prereleases for packages that are still on alphav8.1.2Compare Source
Patch Changes
4d79750Thanks @fkatsuhiro! - Fixed an issue where type errors occurred during testing library type checks because Astro overrides Svelte 5 component types.v8.1.1Compare Source
Patch Changes
53059beThanks @ocavue! - Adds support for TypeScript v6 to peer dependencies range.v8.1.0Compare Source
Minor Changes
31b6198Thanks @fkatsuhiro! - This change updates the Svelte integration's type shims to treat non-childrensnippet props and
any-typed props as optional. Previously, these wereincorrectly marked as required in Astro files, causing false-positive type
errors when using Svelte 5 components.
HandleSnippetPropsto make Snippets optional in Astro.v8.0.5Compare Source
Patch Changes
e030bd0Thanks @matthewp! - Fixes.sveltefiles innode_modulesfailing withUnknown file extension ".svelte"when using the Cloudflare adapter withprerenderEnvironment: 'node'v8.0.4Compare Source
Patch Changes
#15604
3e1ac66Thanks @pierreeurope! - Adds a temporary workaround for a Svelte bug causing empty class attributes in SSR output.#16050
89a7250Thanks @seroperson! - Using a Svelte component with generic type parameters now correctly infer props in .astro filesv8.0.3Compare Source
Patch Changes
7e8d0eeThanks @matthewp! - Fix Cloudflare dev SSR dependency optimization to compile.svelte.jsand.svelte.tsdependency modules that use Svelte runes.v8.0.2Compare Source
Patch Changes
d3c7de9Thanks @florian-lefebvre! - Removes temporary support for Node >=20.19.1 because Stackblitz now uses Node 22 by defaultv8.0.1Compare Source
Patch Changes
6f8f0bcThanks @ematipico! - Updates the AstropeerDependencies#astroto be6.0.0.v8.0.0Compare Source
Major Changes
#14427
e131261Thanks @florian-lefebvre! - Increases minimum Node.js version to 22.12.0 - (v6 upgrade guidance)#14445
ecb0b98Thanks @florian-lefebvre! - Astro v6.0 upgrades to Vite v7.0 as the development server and production bundler - (v6 upgrade guidance)Minor Changes
48ea241Thanks @ocavue! - Update@sveltejs/vite-plugin-svelteto v6.Patch Changes
6feb0d7Thanks [@florian-lefebvre](https://redirect.github.com/floriConfiguration
📅 Schedule: (in timezone Europe/Zurich)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.