chore(deps): update astro monorepo (major) #1868
Open
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.
Note
Mend has cancelled the proposed renaming of the Renovate GitHub app being renamed to
mend[bot]
.This notice will be removed on 2025-10-07.
This PR contains the following updates:
^1.2.2 || ^2.0.0 || ^3.0.0
->^1.2.2 || ^2.0.0 || ^3.0.0 || ^4.0.0
3.6.3
->4.4.0
^1.0.2 || ^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0
->^1.0.2 || ^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0
6.0.2
->7.2.0
^1.2.2 || ^2.0.0 || ^3.0.0 || ^4.0.0
->^1.2.2 || ^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0
4.5.3
->5.1.1
^3.0.0 || ^4.0.0
->^3.0.0 || ^4.0.0 || ^5.0.0
4.16.15
->5.14.1
Release Notes
withastro/astro (@astrojs/react)
v4.4.0
Compare Source
Minor Changes
#14386
f75f446
Thanks @yanthomasdev! - Stabilizes the formerly experimentalgetActionState()
andwithState()
functions introduced in@astrojs/react
v3.4.0 used to integrate Astro Actions with React 19'suseActionState()
hook.This example calls a
like
action that accepts apostId
and returns the number of likes. Pass this action to thewithState()
function to apply progressive enhancement info, and apply touseActionState()
to track the result:You can also access the state stored by
useActionState()
from your action handler. CallgetActionState()
with the API context, and optionally apply a type to the result:If you were previously using this experimental feature, you will need to update your code to use the new stable exports:
v4.3.1
Compare Source
Patch Changes
c24a8f4
Thanks @jsparkdev! - Updatesvite
version to fix CVEv4.3.0
Compare Source
Minor Changes
#13809
3c3b492
Thanks @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.
v4.2.7
Compare Source
Patch Changes
c3e80c2
Thanks @jsparkdev! - update vite to latest version for fixing CVEv4.2.6
Compare Source
Patch Changes
e1cd1ae
Thanks @florian-lefebvre! - Fixes SSR renderer typev4.2.5
Compare Source
Patch Changes
a19a185
Thanks @florian-lefebvre! - Improves type-safety of renderersv4.2.4
Compare Source
Patch Changes
#13596
3752519
Thanks @jsparkdev! - update vite to latest version to fix CVE#13547
360cb91
Thanks @jsparkdev! - Updates vite to the latest versionv4.2.3
Compare Source
Patch Changes
ff9d69e
Thanks @jsparkdev! - updatevite
to the latest versionv4.2.2
Compare Source
Patch Changes
a98ae5b
Thanks @ematipico! - Updates the dependencyvite
to the latest.v4.2.1
Compare Source
Patch Changes
80926fa
Thanks @ematipico! - Updatesesbuild
andvite
to the latest to avoid false positives audits warnings caused byesbuild
.v4.2.0
Compare Source
Minor Changes
#13036
3c90d8f
Thanks @artmsilva! - Adds experimental support for disabling streamingThis is useful to support libraries that are not compatible with streaming such as some CSS-in-JS libraries. To disable streaming for all React components in your project, set
experimentalDisableStreaming: true
as a configuration option for@astrojs/react
:// astro.config.mjs import { defineConfig } from 'astro/config'; import react from '@​astrojs/react'; export default defineConfig({ integrations: [ react({ + experimentalDisableStreaming: true, }), ], });
v4.1.6
Compare Source
Patch Changes
#12996
80c6801
Thanks @bluwy! - Removes hardcodedssr.external: ['react-dom/server', 'react-dom/client']
config that causes issues with adapters that bundle all dependencies (e.g. Cloudflare). These externals should already be inferred by default by Vite when deploying to a server environment.#13011
cf30880
Thanks @ascorbic! - Upgrades Vitev4.1.5
Compare Source
Patch Changes
ea603ae
Thanks @louisescher! - Adds a warning message when multiple JSX-based UI frameworks are being used without either theinclude
orexclude
property being set on the integration.v4.1.4
Compare Source
Patch Changes
c7642fb
Thanks @bluwy! - Removes react-specific entrypoints inoptimizeDeps.include
and rely on@vitejs/plugin-react
to addv4.1.3
Compare Source
Patch Changes
51ab7b5
Thanks @bluwy! - Supports checking for React 19 componentsv4.1.2
Compare Source
Patch Changes
739dbfb
Thanks @ascorbic! - Upgrades Vite to pin esbuildv4.1.1
Compare Source
Patch Changes
391df0e
Thanks @matthewp! - Preoptimize React compiler runtimev4.1.0
Compare Source
Minor Changes
97c9265
Thanks @bskimball! - Add React 19 stable to peer dependenciesv4.0.0
Compare Source
Major Changes
9f44019
Thanks @bluwy! - Updates Vite dependency to v6 to match Astro v5Minor Changes
#12539
827093e
Thanks @bluwy! - Drops node 21 support#12510
14feaf3
Thanks @bholmesdev! - Changes the generated URL query param from_astroAction
to_action
when submitting a form using Actions. This avoids leaking the framework name into the URL bar, which may be considered a security issue.withastro/astro (@astrojs/svelte)
v7.2.0
Compare Source
Minor Changes
#14430
78011ba
Thanks @ascorbic! - Adds support for async server renderingSvelte 5.36 added experimental support for async rendering. This allows you to use
await
in your components in several new places. This worked out of the box with client-rendered components, but server-rendered components needed some extra help. This update adds support for async server rendering in Svelte components used in Astro.To use async rendering, you must enable it in your Svelte config:
Then you can use
await
in your components:See the Svelte docs for more information on using
await
in Svelte components, including inside$derived
blocks and directly in markup.Patch Changes
9cc8f21
Thanks @ascorbic! - Fixes a bug that prevented Svelte 5.39.1+ components rendering when multiple frameworks were presentv7.1.1
Compare Source
Patch Changes
c24a8f4
Thanks @jsparkdev! - Updatesvite
version to fix CVEv7.1.0
Compare Source
Minor Changes
#13809
3c3b492
Thanks @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.
v7.0.13
Compare Source
Patch Changes
c3e80c2
Thanks @jsparkdev! - update vite to latest version for fixing CVEv7.0.12
Compare Source
Patch Changes
e1cd1ae
Thanks @florian-lefebvre! - Fixes SSR renderer typev7.0.11
Compare Source
Patch Changes
a19a185
Thanks @florian-lefebvre! - Improves type-safety of renderersv7.0.10
Compare Source
Patch Changes
#13596
3752519
Thanks @jsparkdev! - update vite to latest version to fix CVE#13547
360cb91
Thanks @jsparkdev! - Updates vite to the latest versionv7.0.9
Compare Source
Patch Changes
ff9d69e
Thanks @jsparkdev! - updatevite
to the latest versionv7.0.8
Compare Source
Patch Changes
a98ae5b
Thanks @ematipico! - Updates the dependencyvite
to the latest.v7.0.7
Compare Source
Patch Changes
ecadb6b
Thanks @ascorbic! - Hides fallback content when renderingclient:only
islandv7.0.6
Compare Source
Patch Changes
a05e6ab
Thanks @Hugos68! - Fixes a case where$props.id()
would not be unique across multiple islandsv7.0.5
Compare Source
Patch Changes
80926fa
Thanks @ematipico! - Updatesesbuild
andvite
to the latest to avoid false positives audits warnings caused byesbuild
.v7.0.4
Compare Source
Patch Changes
cf30880
Thanks @ascorbic! - Upgrades Vitev7.0.3
Compare Source
Patch Changes
8809b85
Thanks @aminevg! - Fixes an issue where TypeScript couldn't infer the correct types of theserver.mjs
filev7.0.2
Compare Source
Patch Changes
739dbfb
Thanks @ascorbic! - Upgrades Vite to pin esbuildv7.0.1
Compare Source
Patch Changes
c3e80c2
Thanks @jsparkdev! - update vite to latest version for fixing CVEv7.0.0
Compare Source
Major Changes
#12060
cb5d3ae
Thanks @Princesseuh! - Updates peer dependency range to support Astro 5#12524
9f44019
Thanks @bluwy! - Updates@sveltejs/vite-plugin-svelte
to v5 to handle Vite 6#12524
9f44019
Thanks @bluwy! - Updates Vite dependency to v6 to match Astro v5Minor Changes
827093e
Thanks @bluwy! - Drops node 21 supportPatch Changes
#12102
dcc1e89
Thanks @hermit99! - Fixes an Reference Error that occurred during client transitions#12551
b21a075
Thanks @ematipico! - New release to include changes from 5.7.3withastro/astro (@astrojs/vue)
v5.1.1
Compare Source
Patch Changes
c24a8f4
Thanks @jsparkdev! - Updatesvite
version to fix CVEv5.1.0
Compare Source
Minor Changes
#13809
3c3b492
Thanks @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.
v5.0.13
Compare Source
Patch Changes
c3e80c2
Thanks @jsparkdev! - update vite to latest version for fixing CVEv5.0.12
Compare Source
Patch Changes
e1cd1ae
Thanks @florian-lefebvre! - Fixes SSR renderer typev5.0.11
Compare Source
Patch Changes
a19a185
Thanks @florian-lefebvre! - Improves type-safety of renderersv5.0.10
Compare Source
Patch Changes
#13596
3752519
Thanks @jsparkdev! - update vite to latest version to fix CVE#13547
360cb91
Thanks @jsparkdev! - Updates vite to the latest versionv5.0.9
Compare Source
Patch Changes
ff9d69e
Thanks @jsparkdev! - updatevite
to the latest versionv5.0.8
Compare Source
Patch Changes
a98ae5b
Thanks @ematipico! - Updates the dependencyvite
to the latest.v5.0.7
Compare Source
Patch Changes
3842ce5
Thanks @florian-lefebvre! - Fixes a case where the compiler could not be resolved automaticallyv5.0.6
Compare Source
Patch Changes
cf30880
Thanks @ascorbic! - Upgrades Vitev5.0.5
Compare Source
Patch Changes
ea603ae
Thanks @louisescher! - Adds a warning message when multiple JSX-based UI frameworks are being used without either theinclude
orexclude
property being set on the integration.v5.0.4
Compare Source
Patch Changes
8809b85
Thanks @aminevg! - Fixes an issue where TypeScript couldn't infer the correct types of theserver.mjs
filev5.0.3
Compare Source
Patch Changes
739dbfb
Thanks @ascorbic! - Upgrades Vite to pin esbuildv5.0.2
Compare Source
Patch Changes
7dc2fca
Thanks @yoyo837! - fix vite peer dependency issue for vue integrationv5.0.1
Compare Source
Patch Changes
c3e80c2
Thanks @jsparkdev! - update vite to latest version for fixing CVEv5.0.0
Compare Source
Major Changes
#12060
cb5d3ae
Thanks @Princesseuh! - Updates peer dependency range to support Astro 5#12524
9f44019
Thanks @bluwy! - Updates Vite dependency to v6 to match Astro v5Minor Changes
827093e
Thanks @bluwy! - Drops node 21 supportPatch Changes
81b0bf5
Thanks @ematipico! - New release to include changes from 4.5.2withastro/astro (astro)
v5.14.1
Compare Source
Patch Changes
a3e16ab
Thanks @florian-lefebvre! - Fixes a case where the URLs generated by the experimental Fonts API would be incorrect in devv5.14.0
Compare Source
Minor Changes
#13520
a31edb8
Thanks @openscript! - Adds a new propertyroutePattern
available toGetStaticPathsOptions
This provides the original, dynamic segment definition in a routing file path (e.g.
/[...locale]/[files]/[slug]
) from the Astro render context that would not otherwise be available within the scope ofgetStaticPaths()
. This can be useful to calculate theparams
andprops
for each page route.For example, you can now localize your route segments and return an array of static paths by passing
routePattern
to a customgetLocalizedData()
helper function. Theparams
object will be set with explicit values for each route segment (e.g.locale
,files
, andslug)
. Then, these values will be used to generate the routes and can be used in your page template viaAstro.params
.v5.13.11
Compare Source
Patch Changes
#14409
250a595
Thanks @louisescher! - Fixes an issue whereastro info
would log errors to console in certain cases.#14398
a7df80d
Thanks @idawnlight! - Fixes an unsatisfiable type definition when callingaddServerRenderer
on an experimental container instance#13747
120866f
Thanks @jp-knj! - Adds automatic request signal abortion when the underlying socket closes in the Node.js adapterThe Node.js adapter now automatically aborts the
request.signal
when the client connection is terminated. This enables better resource management and allows applications to properly handle client disconnections through the standardAbortSignal
API.#14428
32a8acb
Thanks @drfuzzyness! - Force sharpService to return a Uint8Array if Sharp returns a SharedArrayBuffer#14411
a601186
Thanks @GameRoMan! - Fixes relative links to docs that could not be opened in the editor.v5.13.10
Compare Source
Patch Changes
1e2499e
]:v5.13.9
Compare Source
Patch Changes
54dcd04
Thanks @FredKSchott! - Removes warning that caused unexpected console spam when using Bunv5.13.8
Compare Source
Patch Changes
#14300
bd4a70b
Thanks @louisescher! - Adds Vite version & integration versions to output ofastro info
#14341
f75fd99
Thanks @delucis! - Fixes support for declarative Shadow DOM when using the<ClientRouter>
component#14350
f59581f
Thanks @ascorbic! - Improves error reporting for content collections by adding logging for configuration errors that had previously been silently ignored. Also adds a new error that is thrown if a live collection is used incontent.config.ts
rather thanlive.config.ts
.#14343
13f7d36
Thanks @florian-lefebvre! - Fixes a regression in non node runtimesv5.13.7
Compare Source
Patch Changes
#14330
72e14ab
Thanks @ascorbic! - Removes pinned package that is no longer needed.#14335
17c7b03
Thanks @florian-lefebvre! - Bumpssharp
minimal version to0.34.0
v5.13.6
Compare Source
Patch Changes
#14294
e005855
Thanks @martrapp! - Restores the ability to use Google AnalyticsHistory change trigger
with the<ClientRouter />
.#14326
c24a8f4
Thanks @jsparkdev! - Updatesvite
version to fix CVE#14108
218e070
Thanks @JusticeMatthew! - Updates dynamic route split regex to avoid infinite retries/exponential complexity#14327
c1033be
Thanks @ascorbic! - Pins simple-swizzle to avoid compromised versionv5.13.5
Compare Source
Patch Changes
#14286
09c5db3
Thanks @ematipico! - BREAKING CHANGES only to the experimental CSP featureThe following runtime APIs of the
Astro
global have been renamed:Astro.insertDirective
toAstro.csp.insertDirective
Astro.insertStyleResource
toAstro.csp.insertStyleResource
Astro.insertStyleHash
toAstro.csp.insertStyleHash
Astro.insertScriptResource
toAstro.csp.insertScriptResource
Astro.insertScriptHash
toAstro.csp.insertScriptHash
The following runtime APIs of the
APIContext
have been renamed:ctx.insertDirective
toctx.csp.insertDirective
ctx.insertStyleResource
toctx.csp.insertStyleResource
ctx.insertStyleHash
toctx.csp.insertStyleHash
ctx.insertScriptResource
toctx.csp.insertScriptResource
ctx.insertScriptHash
toctx.csp.insertScriptHash
#14283
3224637
Thanks @ematipico! - Fixes an issue where CSP headers were incorrectly injected in the development server.#14275
3e2f20d
Thanks @florian-lefebvre! - Adds support for experimental CSP when using experimental fontsExperimental fonts now integrate well with experimental CSP by injecting hashes for the styles it generates, as well as
font-src
directives.No action is required to benefit from it.
#14280
4b9fb73
Thanks @ascorbic! - Fixes a bug that caused cookies to not be correctly set when using middleware sequences#14276
77281c4
Thanks @ArmandPhilippot! - Adds a missing export forresolveSrc
, aConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, 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.