generated from dev-protocol/template-repos-ts
-
Notifications
You must be signed in to change notification settings - Fork 0
fix(deps): update astro monorepo (major) #649
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
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/major-astro-monorepo
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+1,071
−1,466
Conversation
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
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
2ab9db7
to
47b295d
Compare
47b295d
to
ca67e2f
Compare
ca67e2f
to
6092a53
Compare
6092a53
to
fdc9f9f
Compare
fdc9f9f
to
e44d74c
Compare
e44d74c
to
015e51f
Compare
015e51f
to
36122fc
Compare
36122fc
to
4caf6e1
Compare
4caf6e1
to
248350d
Compare
248350d
to
aea4b6c
Compare
aea4b6c
to
e91be74
Compare
e91be74
to
8cbedc4
Compare
8cbedc4
to
f722500
Compare
f722500
to
a0b2f6c
Compare
3fd38bc
to
b4173e2
Compare
5ed1a32
to
cb03811
Compare
ef2bada
to
3dfb94a
Compare
4ac3c4b
to
d751beb
Compare
d751beb
to
68f6103
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
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:
7.8.2
->8.2.8
^4.0.0
->^5.0.0
Release Notes
withastro/astro (@astrojs/vercel)
v8.2.8
Compare Source
Patch Changes
1e2499e
]:v8.2.7
Compare Source
Patch Changes
#14039
da4182d
Thanks @ematipico! - Fixes a bug whereexperimentalStaticHeaders
did not work as expected.#14289
ed493a6
Thanks @ascorbic! - Fixes a bug that caused invalid image sizes to be generated when the requested widths were larger than the source imagev8.2.6
Compare Source
Patch Changes
4d16de7
]:v8.2.5
Compare Source
Patch Changes
0567fb7
]:v8.2.4
Compare Source
Patch Changes
f4e8889
]:v8.2.3
Compare Source
Patch Changes
42ef004
Thanks @jat001! - Changes the default Node.js version of Vercel functions to 22v8.2.2
Compare Source
Patch Changes
de5a253
Thanks @RobbieTheWagner! - Allow settingdomains
toundefined
inimagesConfig
so thatremotePatterns
can be better utilized for images from a variety of domains.v8.2.1
Compare Source
Patch Changes
db8f8be
Thanks @ematipico! - Fixes the internal implementation of the new featureexperimentalStaticHeaders
, where dynamic routeswere mapped to use always the same header.
v8.2.0
Compare Source
Minor Changes
#13965
95ece06
Thanks @ematipico! - Adds support for the experimental static headers Astro feature.When the feature is enabled via option
experimentalStaticHeaders
, and experimental Content Security Policy is enabled, the adapter will generateResponse
headers for static pages, which allows support for CSP directives that are not supported inside a<meta>
tag (e.g.frame-ancestors
).Patch Changes
#13917
e615216
Thanks @ascorbic! - The responsive images feature introduced behind a flag in v5.0.0 is no longer experimental and is available for general use.The new responsive images feature in Astro automatically generates optimized images for different screen sizes and resolutions, and applies the correct attributes to ensure that images are displayed correctly on all devices.
Enable the
or component, or configure a default
image.responsiveStyles
option in your Astro config. Then, set alayout
attribute on anyimage.layout
, for instantly responsive images with automatically generatedsrcset
andsizes
attributes based on the image's dimensions and the layout type.Displaying images correctly on the web can be challenging, and is one of the most common performance issues seen in sites. This new feature simplifies the most challenging part of the process: serving your site visitor an image optimized for their viewing experience, and for your website's performance.
For full details, see the updated Image guide.
Migration from Experimental Responsive Images
The
experimental.responsiveImages
flag has been removed, and all experimental image configuration options have been renamed to their final names.If you were using the experimental responsive images feature, you'll need to update your configuration:
Remove the experimental flag
export default defineConfig({ experimental: { - responsiveImages: true, }, });
Update image configuration options
During the experimental phase, default styles were applied automatically to responsive images. Now, you need to explicitly set the
responsiveStyles
option totrue
if you want these styles applied.export default defineConfig({ image: { + responsiveStyles: true, }, });
The experimental image configuration options have been renamed:
Before:
After:
Component usage remains the same
The
layout
,fit
, andposition
props on<Image>
and<Picture>
components work exactly the same as before:If you weren't using the experimental responsive images feature, no changes are required.
Please see the Image guide for more information on using responsive images in Astro.
v8.1.5
Compare Source
Patch Changes
4a8f193
Thanks @moonclavedev! - Handle SVG images correctly in build image servicev8.1.4
Compare Source
Patch Changes
5dd2d3f
Thanks @florian-lefebvre! - Removes unused codev8.1.3
Compare Source
Patch Changes
12cc4d8
Thanks @ascorbic! - Fixes a bug that caused external redirects to failv8.1.2
Compare Source
Patch Changes
042d1de
]:v8.1.1
Compare Source
Patch Changes
fac32ad
Thanks @ascorbic! - Ensuressrcset
for responsive images only contains allowed sizesv8.1.0
Compare Source
Minor Changes
#13211
7ea0aba
Thanks @slawekkolodziej! - Adds support for regular expressions in ISR exclude listPreviously, excluding a page from ISR required explicitly listing it in
isr.exclude
. As websites grew larger, maintaining this list became increasingly difficult, especially for multiple API routes and pages that needed server-side rendering.To address this, ISR exclusions now support regular expressions, allowing for more flexible and scalable configurations.
Patch Changes
#13323
80926fa
Thanks @ematipico! - Updatesesbuild
andvite
to the latest to avoid false positives audits warnings caused byesbuild
.Updated dependencies [
1e11f5e
]:v8.0.8
Compare Source
Patch Changes
#13304
6efd57d
Thanks @ematipico! - Fixes a small issue where the package was pulling an outdated version of its internal dependencies.#13299
2e1321e
Thanks @bluwy! - Usestinyglobby
for globbing filesv8.0.7
Patch Changes
8e5b89c
Thanks @ascorbic! - Unpins@vercel/routing-utils
dependency as bug has been fixedv8.0.6
Patch Changes
5c2ea1f
Thanks @ascorbic! - Pins@vercel/routing-utils
to avoid broken versionv8.0.5
Patch Changes
#519
641d7d5
Thanks @ascorbic! - Updates edge middleware to support esnext syntax#525
6ef9a6f
Thanks @ascorbic! - Fixes a bug that caused redirect loops when trailingSlash was setv8.0.4
Patch Changes
3fe04eb
Thanks @ascorbic! - Fixes a bug that prevented integration-generated static assets from being deployed with non-static sitesv8.0.3
Patch Changes
af69a12
Thanks @ascorbic! - Fixes a bug that prevented static assets generated by integrations from being deployedv8.0.2
Patch Changes
#454
83cedad
Thanks @alexanderniebuhr! - Improves Astro 5 support#501
012b31d
Thanks @florian-lefebvre! - Refactor of the redirects logicv8.0.1
Patch Changes
d9eed7e
Thanks @bluwy! - Add back support for Node 22 on Vercel serverless that was fixed in v7 but lost in v8v8.0.0
Major Changes
#375
e7881f7
Thanks @Princesseuh! - Updates internal code to works with Astro 5 changes to hybrid rendering. No changes are necessary to your project, apart from using Astro 5#397
776a266
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.
#377
b77f99c
Thanks @alexanderniebuhr! - Updates the adapter to use newIntegrationRouteData
type#451
f248546
Thanks @ematipico! - Updates esbuild dependency to v0.24.0#384
7d83f60
Thanks @bluwy! - Removes deprecatedspeedInsights
option in favor of Vercel's direct support: https://vercel.com/docs/speed-insights/quickstart#392
3a49eb7
Thanks @Princesseuh! - Updates internal code for Astro 5 changes. No changes is required to your project, apart from using Astro 5Minor Changes
#424
3351348
Thanks @ematipico! - Deprecates the entrypoints@astrojs/vercel/serverless
and@astrojs/vercel/static
. These will continue to work but are no longer documented and will be removed in a future version. We recommend updating to the@astrojs/vercel
entrypoint as soon as you are able:#447
7d9835f
Thanks @laymonage! - Add support for Node 22 on Vercel serverless#385
bb725b7
Thanks @florian-lefebvre! - Cleans upastro:env
supportPatch Changes
b725b49
Thanks @ematipico! - Fixes a regression where the@astrojs/vercel
single entry point for the adapter was causing some regressions in users projects.withastro/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
, a documented image services utility.v5.13.4
Compare Source
Patch Changes
#14260
86a1e40
Thanks @jp-knj! - FixesAstro.url.pathname
to respecttrailingSlash: 'never'
configuration when using a base path. Previously, the root path with a base would incorrectly return/base/
instead of/base
whentrailingSlash
was set to 'never'.#14248
e81c4bd
Thanks @julesyoungberg! - Fixes a bug where actions named 'apply' do not work due to being a function prototype method.v5.13.3
Compare Source
Patch Changes
#14239
d7d93e1
Thanks @wtchnm! - Fixes a bug where the types for the live content collections were not being generated correctly in dev mode#14221
eadc9dd
Thanks @delucis! - Fixes JSON schema support for content collections using thefile()
loader#14229
1a9107a
Thanks @jonmichaeldarby! - EnsuresAstro.currentLocale
returns the correct locale during SSG for pages that use a locale param (such as[locale].astro
or[locale]/index.astro
, which produce[locale].html
)v5.13.2
Compare Source
Patch Changes
4d16de7
Thanks @ematipico! - Improves the detection of remote paths in the_image
endpoint. Nowhref
parameters that start with//
are considered remote paths.Updated dependencies [
4d16de7
]:v5.13.1
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.0
Compare Source
Minor Changes
#14173
39911b8
Thanks @florian-lefebvre! - Adds an experimental flagstaticImportMetaEnv
to disable the replacement ofimport.meta.env
values withprocess.env
calls and their coercion of environment variable values. This supersedes therawEnvValues
experimental flag, which is now removed.Astro allows you to configure a type-safe schema for your environment variables, and converts variables imported via
astro:env
into the expected type. This is the recommended way to use environment variables in Astro, as it allows you to easily see and manage whether your variables are public or secret, available on the client or only on the server at build time, and the data type of your values.However, you can still access environment variables through
process.env
andimport.meta.env
directly when needed. This was the only way to use environment variables in Astro beforeastro:env
was added in Astro 5.0, and Astro's default handling ofimport.meta.env
includes some logic that was only needed for earlier versions of Astro.The
experimental.staticImportMetaEnv
flag updates the behavior ofimport.meta.env
to align with Vite's handling of environment variables and for better ease of use with Astro's current implementations and features. This will become the default behavior in Astro 6.0, and this early preview is introduced as an experimental feature.Currently, non-public
import.meta.env
environment variables are replaced by a reference toprocess.env
. Additionally, Astro may also convert the value type of your environment variables used throughimport.meta.env
, which can prevent access to some values such as the strings"true"
(which is converted to a boolean value), and"1"
(which is converted to a number).The
experimental.staticImportMetaEnv
flag simplifies Astro's default behavior, making it easier to understand and use. Astro will no longer replace anyimport.meta.env
environment variables with aprocess.env
call, nor will it coerce values.To enable this feature, add the experimental flag in your Astro config and remove
rawEnvValues
if it was enabled:Updating your project
If you were relying on Astro's default coercion, you may need to update your project code to apply it manually:
If you were relying on the transformation into
process.env
calls, you may need to update your project code to apply it manually:You may also need to update types:
See the experimental static
import.meta.env
documentation for more information about this feature. You can learn more about using environment variables in Astro, includingastro:env
, in the environment variables documentation.#14122
41ed3ac
Thanks @ascorbic! - Adds experimental support for automatic Chrome DevTools workspace foldersThis feature allows you to edit files directly in the browser and have those changes reflected in your local file system via a connected workspace folder. This allows you to apply edits such as CSS tweaks without leaving your browser tab!
With this feature enabled, the Astro dev server will automatically configure a Chrome DevTools workspace for your project. Your project will then appear as a workspace source, ready to connect. Then, changes that you make in the "Sources" panel are automatically saved to your project source code.
To enable this feature, add the experimental flag
chromeDevtoolsWorkspace
to your Astro config:See the experimental Chrome DevTools workspace feature documentation for more information.
v5.12.9
Compare Source
Patch Changes
#14020
9518975
Thanks @jp-knj and @asieradzk! - Prevent double-prefixed redirect paths when using fallback and redirectToDefaultLocale togetherFixes an issue where i18n fallback routes would generate double-prefixed paths (e.g.,
/es/es/test/item1/
) whenfallback
andredirectToDefaultLocale
configurations were used together. The fix adds proper checks to prevent double prefixing in route generation.#14199
3e4cb8e
Thanks @ascorbic! - Fixes a bug that prevented HMR from working with inline stylesv5.12.8
Compare Source
Patch Changes
0567fb7
Thanks @ascorbic! - Adds//
to list of internal path prefixes that do not have automated trailing slash handling#13894
b36e72f
Thanks @florian-lefebvre! - Removes Astro Studio commands from the CLI helpUpdated dependencies [
0567fb7
]:v5.12.7
Compare Source
Patch Changes
#14169
f4e8889
Thanks @ascorbic! - Skips trailing slash handling for paths that start with/.
.#14170
34e6b3a
Thanks @ematipico! - Fixes an issue where static redirects couldn't correctly generate a redirect when the destination is a prerendered route, and theoutput
is set to"server"
.#14169
f4e8889
Thanks @ascorbic! - Fixes a bug that prevented images from being displayed in dev when using the Netlify adapter withtrailingSlash
set toalways
Updated dependencies [
f4e8889
]:v5.12.6
Compare Source
Patch Changes
#14153
29e9283
Thanks @jp-knj! - Fixes a regression introduced by a recent optimisation of how SVG images are emitted during the build.#14156
592f08d
Thanks @TheOtterlord! - Fix the client router not submitting forms if the active URL contained a hash#14160
d2e25c6
Thanks @ascorbic! - Fixes a bug that meant some remote image URLs could cause invalid filenames to be used for processed images#14167
62bd071
Thanks @ascorbic! - Fixes a bug that prevented destroyed sessions from being deleted from storage unless the session had been loadedv5.12.5
Compare Source
Patch Changes
#14059
19f53eb
Thanks @benosmac! - Fixes a bug in i18n implementation, where Astro didn't emit the correct pages whenfallback
is enabled, and a locale uses a catch-all route, e.g.src/pages/es/[...catchAll].astro
#14155
31822c3
Thanks @ascorbic! - Fixes a bug that caused an error "serverEntrypointModule[_start] is not a function" in some adaptersv5.12.4
Compare Source
Patch Changes
#14031
e9206c1
Thanks @jp-knj! - Optimized the build pipeline for SVG images. Now, Astro doesn't reprocess images that have already been processed.#14132
976879a
Thanks @ematipico! - Fixes a bug where the propertyAstro.routePattern
/context.routePattern
wasn't updated when using a rewrite via middleware.#14131
aafc4d7
Thanks @florian-lefebvre! - Fixes a case where an error occurring in a middleware would show the dev overlay instead of the custom500.astro
page#14127
2309ada
Thanks @florian-lefebvre! - Upgrades zod#14134
186c201
Thanks @ascorbic! - Throws a more helpful error in dev if trying to use a server island without an adapter#14129
3572d85
Thanks @ematipico! - Fixes a bug where the CSP headers was incorrectly added to a page when using an adapter.v5.12.3
Compare Source
Patch Changes
Configuration
📅 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.