Repository navigation
fix(deps): update dependency astro to v7 - #65
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
2 times, most recently
from
June 23, 2026 18:27
cf0ae25 to
ad88ee3
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
3 times, most recently
from
July 1, 2026 22:46
a09a2b6 to
b60afe7
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
2 times, most recently
from
July 8, 2026 19:15
31a7723 to
603bfbd
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
5 times, most recently
from
July 17, 2026 13:45
a274a28 to
2b9085c
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
3 times, most recently
from
July 27, 2026 14:04
a30480a to
eecc2b0
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
3 times, most recently
from
July 30, 2026 19:06
fe4fb50 to
0e2a4e6
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
2 times, most recently
from
August 11, 2026 22:59
42af67b to
42ca7e6
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
4 times, most recently
from
August 19, 2026 19:14
7d7b5cf to
b00b18f
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
5 times, most recently
from
August 27, 2026 20:40
bd52eb8 to
552be10
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
5 times, most recently
from
September 7, 2026 21:03
b3696d3 to
9a07b0d
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
3 times, most recently
from
September 10, 2026 17:02
5860680 to
faf5534
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
2 times, most recently
from
September 16, 2026 21:46
4974585 to
7bdb65b
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
2 times, most recently
from
September 24, 2026 22:44
b46fe2e to
fd12a0d
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
3 times, most recently
from
October 6, 2026 15:30
cb95388 to
7ad79aa
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
3 times, most recently
from
October 13, 2026 16:24
0f4472d to
793daee
Compare
renovate
Bot
force-pushed
the
renovate/major-astro-monorepo
branch
from
October 15, 2026 20:25
793daee to
d3d2006
Compare
This branch has not been deployed
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.
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
^6.1.8→^7.0.0Release Notes
withastro/astro (astro)
v7.4.0Compare Source
Minor Changes
#17894
b7a1bd9Thanks @Princesseuh! - Adds a new--timingsflag toastro buildto help you find what slows down your buildsWhen a build takes longer than expected, it can be hard to tell whether the cause is an integration, a Markdown processor plugin, image processing, or even syntax highlighting. Add the
--timingsflag to your build command to print a summary once the build finishes:This is helpful to decide what to optimize first, or to compare build times before and after a change to your project.
#17830
a937b0dThanks @florian-lefebvre! - Adds a new optionalgetFontProperties()callback to font providersFont providers can now expose the weights, styles, subsets and formats a font family actually has. Astro uses it when resolving your font configuration to warn about values a provider cannot serve, for example a weight a font family does not offer.
All built-in providers implement it. If you maintain a custom font provider, implementing this callback is optional for now but it will be required in Astro 8:
#17830
a937b0dThanks @florian-lefebvre! - Adds afetch()function to the font providerinit()contextThis function requests a provider API, retrying transient failures and more. It lets providers that wrap a 3rd-party unifont provider pass the context to it directly:
#18015
0b30239Thanks @florian-lefebvre! - Addsexperimental.redirectPage, letting you provide your ownsrc/pages/3xx.astroin place of the redirect page Astro generates in static builds.A static site has no server to send an HTTP
Locationheader, so Astro generates a small HTML page with a<meta http-equiv="refresh">tag for each redirect it builds:redirectsentriesAstro.redirect()calls in prerendered pagesThat page's markup, wording, and refresh delay were fixed, so you could not brand or translate it.
To enable this feature, add the experimental flag to your Astro config:
Then create
src/pages/3xx.astro. Astro renders it once per redirect, passing that redirect's details as props:Your page must render a
<meta http-equiv="refresh">tag pointing atto, because in a static build that tag is the redirect. Astro logs a warning during the build if it is missing.See the experimental redirect page documentation for more information.
#18265
910ee69Thanks @astro-factory! - Adds anotFound()handler toastro/fetchandastro/honothat renders the custom 404 page when no route matches, including a prerendered404.astroAdd it before
pages()in a custom worker or server entrypoint that does not run insideApp.render, such as a Hono app used directly as a Cloudflare worker. Without it,pages()andmiddleware()return an empty 404 with an internalX-Astro-Errorheader for unmatched routes.astro()already includes this handling.#18177
7d814e5Thanks @Princesseuh! - Adds support for separatebuildandruntimeimage servicesimage.servicenow also accepts abuildand aruntimeservice. Thebuildservice optimizes images on prerendered pages when you build your site, and is also used during development. Theruntimeservice handles images on on-demand rendered pages and the image endpoint of your deployed site.The following example uses Sharp to optimize images on prerendered pages, and an image CDN for on-demand rendered pages:
Changes for integration authors
config.image.servicekeeps the shape the user configured it with. When a project setsbuildandruntimeservices,config.image.service.entrypointandconfig.image.service.configareundefined.If your integration reads
image.service, check for theruntimeproperty to get the service you need:Setting
image.servicewithupdateConfig()replaces the existing service instead of merging with it when the two use different shapes. For example, setting a single service in a project that usesbuildandruntimeservices replaces both.#18277
2715958Thanks @florian-lefebvre! - Increases the minimum Node.js version to 22.22.0The minimum supported Node.js version is now 22.22.0, the latest Node.js 22 release supported by StackBlitz. This change is in line with Astro's Node.js support policy.
#18313
71e2b24Thanks @matthewp! - Allows integrations to control where Astro writes client, server, and prerender build output.Custom prerenderers can access the final output locations through the new
outputDirectoriescontext:#18177
7d814e5Thanks @Princesseuh! - Lets custom prerenderers report the images used on prerendered pagesAstro now generates images on prerendered pages from the image information that a prerenderer's
getStaticPaths()andrender()return. If your prerenderer wraps Astro's default one, pass this information through:Returning a plain array from
getStaticPaths()or a plainResponsefromrender()still works, but is deprecated: images used on those pages are not generated.#17932
b905ff1Thanks @Princesseuh! - Adds support for experimental parallel prerenderingThis experimental feature makes
astro buildrender your static pages in parallel, using multiple CPU cores at once instead of one. On sites with many pages, this can significantly reduce build times, at the cost of higher memory usage.To enable this feature, add the experimental flag in your Astro config:
By default, Astro uses all available CPU cores but one. Each additional worker increases the memory used by your build. If your build runs out of memory, or does not get faster, set
workersto a lower number:Each worker renders as many pages at once as your
build.concurrencysetting allows.This feature has no effect when your adapter provides its own way of prerendering pages. Among official adapters, this only applies to
@astrojs/cloudflare. Astro logs a warning during the build when the flag is ignored.For more information on enabling and using this feature in your project, see the experimental parallel prerendering docs.
Patch Changes
#18313
71e2b24Thanks @matthewp! - Fixes deployment integrations being unable to use Vite manifests when preparing build output#18270
0c3bf11Thanks @ArmandPhilippot! - Fixes the JSDoc for CSP utilities to point to the render context reference in docs.#18368
1f04637Thanks @43081j! - Replaces internal use offind-procwithtinyps.#18355
59b9cc0Thanks @matthewp! - Fixes prerender errors being silently swallowed when using a customsrc/fetch.tswith an adapter that prerenders in its own runtime, such as@astrojs/cloudflare. Previously, a page that threw during prerendering was written as an empty HTML file and the build succeeded. The build now fails with the underlying error.#18177
7d814e5Thanks @Princesseuh! - Fixes original images being kept despite onlywidthorheightbeing read.#18353
af54bfaThanks @astro-factory! - Fixesglob()loader swallowing rendering errors during content sync, which allowedastro buildto exit successfully (code 0) even when a remark/rehype plugin threw an error#18271
23e8e28Thanks @ArmandPhilippot! - Fixes thesynccommand description inastro help, which only mentioned content collections.Updated dependencies [
b7a1bd9,2715958]:v7.3.8Compare Source
Patch Changes
#18293
28e7410Thanks @astro-factory! - FixesAstro.cachebeingundefinedwhen a custom 404 or 500 page is rendered by the error handler, for example after a request to an API route with an HTTP method the route doesn't export#18298
0e9e857Thanks @matthewp! - Fixesastro addremoving existingallowBuildsapprovals frompnpm-workspace.yamlwith pnpm v11.0–v11.22#18263
882dd98Thanks @florian-lefebvre! - Refactors internal bundling and code transforms to use Vite's Oxc-basedtransformWithOxcand Rolldown instead of esbuild. These packages no longer depend on esbuild directly.#18290
31f13c3Thanks @astro-factory! - Fixes theglob()loader not reloading changed files in dev when the pattern starts with an extglob such as!(drafts)/**/*.mdv7.3.7Compare Source
Patch Changes
#18266
cba76ccThanks @astro-factory! - Fixes a build error when a Markdown content collection entry loaded withglob({ deferRender: true })has alayoutfrontmatter property.layoutis now ignored for content collection entries, as documented.#18287
38f6793Thanks @astro-factory! - Fixesastro add cloudflarefailing to install dependencies with pnpm v11+ by approving theworkerdbuild script, and shows the package manager's error output whenastro addfails to install dependencies#18222
fcf6ed6Thanks @mingjunlu! - Fixes an issue where AVIF images were served asimage/heifinstead ofimage/avifin the dev server.#18240
de4df06Thanks @astro-factory! - Fixes thecache()handler fromastro/honoandastro/fetchthrowing aTypeErrorwhen a cache provider is configured. It now registers the cache provider before rendering, soAstro.cacheis available to downstream handlers likepages().#18268
547b572Thanks @astro-factory! - Fixessecurity.checkOriginrejecting cross-origin requests with non-form content types such asapplication/json. As documented, the check only applies to unsafe requests that have nocontent-typeheader or one ofapplication/x-www-form-urlencoded,multipart/form-data, ortext/plain.v7.3.6Compare Source
Patch Changes
#18166
5134d0fThanks @astro-factory! - Fixes an intermittent dev server crash when usingastro:actionsinside a server island with adapters that use a pre-bundled SSR environment (e.g.@astrojs/cloudflare)#18076
8a2df66Thanks @astro-factory! - Fixes stale scoped styles during HMR when both markup and<style>are changed in a single save#18252
2d29e7eThanks @astro-factory! - Fixes CSS from other pages leaking into a page's<head>in dev when the page imports a module such asastro:config/server.#18000
6724575Thanks @barclayd! - Fixes a bug where server islands containing framework components rendered empty in the dev server when using a customsrc/fetch.ts#18241
7c5fd6fThanks @astro-factory! - Fixes the composablei18n()handler fromastro/fetchandastro/honoreturning an empty 404 for paths without a locale prefix. It now renders the custom 404 page, matchingastro().#18164
1a6997fThanks @astro-factory! - Fixes CSS Module HMR in dev when a component is rendered both with and without hydration on the same page. Astro now uses path-based class name hashing in dev mode so that editing CSS declarations no longer changes the generated selectors, allowing Vite's CSS HMR to update styles without a full page reload.#18243
dd29d62Thanks @astro-factory! - Fixescontext.propsbeingnullin middleware and endpoints when the composableastro/honoorastro/fetchactions()handler runs beforemiddleware(), or whenpages()runs withoutmiddleware()#18193
95d5d16Thanks @astro-factory! - Fixesastro buildfailing on Windows with Node.js 25+ withERR_INVALID_ARG_VALUEwhen clearing the output directory hits a transientEPERMerror#18220
d6c13a4Thanks @astro-factory! - Fixes type errors reported in Astro's built-in<Picture />and<Font />components when type-checking a project withtscand@astrojs/ts-content-mapper#18133
faac481Thanks @astro-factory! - Fixes lost request state when Vite discovers server dependencies during a request in Cloudflare dev mode#18146
2af4516Thanks @astro-factory! - Fixes CSS imported from aninjectScript('page')script being dropped during build#18159
e5f8fe0Thanks @astro-factory! - Fixes a hang when aserver:defercomponent is inside a slot of another component in an MDX content collection entry#18246
c3b42adThanks @astro-factory! - Fixes theglob()loader skipping content files whose paths contain#or?#18248
b97184eThanks @astro-factory! - Fixes a bug where page routes added withinjectRoute()returned a 404 wheni18n.routing.prefixDefaultLocalewastrueand the route path had no locale prefix#18251
3415263Thanks @astro-factory! - Fixes content collection changes being ignored inastro devafter the dev server restarts because of a config change#18226
ad54af0Thanks @imharjot! - FixesAstro.cookies.get()returningundefinedfor request cookies with empty values#18155
37ab0e4Thanks @astro-factory! - Fixes nondeterministic ordering of the server manifest'sassetsarray, ensuring builds with identical inputs produce byte-identical output#18099
6987261Thanks @renovate! - Adds YAML parsing with timestamp and merge key support, and formats YAML errors consistently across Astro, Markdown, MDX, and Markdoc.#15595
64e4039Thanks @qzio! - Improves CSRF protection by taking modern browsers headers into account#18215
941bd5eThanks @ump45nose! - Fixes a runtimeReferenceErrorfor inlined scripts that import a URL with/* @vite-ignore */.Astro now inlines scripts after Vite replaces its preload markers, so ignored dynamic imports can remain inline without shipping an unresolved
__VITE_PRELOAD__reference.#18179
6caa659Thanks @matthewp! - Fixes custom View Transition direction names that are not valid CSS identifiers, such as names starting with a digit or containing spaces. These directions now match their animations correctly.#18250
7eae39bThanks @astro-factory! - Fixes a 404 for a CSS file that a dynamic import preloads when the imported module uses a component that is also a hydrated island on the same page#18176
7c9d00dThanks @astro-factory! - Fixes duplicate CSS in production builds when a component is both server-rendered and used withclient:onlyon the same page#18245
492e95fThanks @astro-factory! - Fixes the composableastro/fetchandastro/honohandlers (trailingSlash(),redirects(),actions(),middleware(), andpages()) so they reject over-encoded request paths with a400 Bad Request, matchingastro(). For these requests,redirects()andactions()return the400response instead ofundefined, so no redirect is issued and no action runs.#18078
0a2ab10Thanks @manuelgruber! - FixesAstro.rewrite()andcontext.rewrite()selecting the wrong route inastro devwhen two dynamic routes match the same path#18210
62b13baThanks @edmundhung! - Allows Astro CLI commands to install tagged package versions#18069
d39eb97Thanks @astro-factory! - Fixes a dev server dependency scan failure when an.astrofile contains a literal<scriptin frontmatter or a template expression#18114
c17d920Thanks @matthewp! - Fixes Astro on StackBlitz and other WebContainer environments#18088
cb767f9Thanks @astro-factory! - Fixes aMODULE_LEVEL_DIRECTIVEwarning during build caused by a stale"use astro:head-inject"directive in content collection propagated asset modules#18247
2b3f73dThanks @astro-factory! - Fixes actions returning 500 for malformed JSON request bodies and undecodable action names. ASyntaxErrorfrom invalid JSON now returns 400 (BAD_REQUEST), and aURIErrorfrom a malformed percent-encoded action name now returns 404 (NOT_FOUND).1d9e910Thanks @matthewp! - Validates theHostheader againstsecurity.allowedDomainswhen using the Node adapter#18249
c7799a4Thanks @astro-factory! - Fixes thefontsourcefont provider to resolve variable fonts when using the "Variable" suffix in the font name (e.g."Inter Variable")#18163
e48da9dThanks @astro-factory! - Fixes<video muted>losing its muted state after a ClientRouter navigation in Chrome#18244
f67e7f7Thanks @astro-factory! - Fixes localized error pages such assrc/pages/pt/404.astroreturning a200status when rendered through thepages()handler fromastro/fetchorastro/hono#18242
c5275e3Thanks @astro-factory! - Fixesexperimental_AstroContaineroutput including dev toolbardata-astro-source-fileanddata-astro-source-locattributes when rendering components under VitestUpdated dependencies [
6987261,62b13ba]:v7.3.5Compare Source
Patch Changes
#17736
2b8b2e8Thanks @ematipico! - Adds a new container function calledrenderComponent(), which renders Astro components with inlined styles and scripts.Users must import the component with the new
?containerquery string:v7.3.4Compare Source
Patch Changes
#18063
40896acThanks @adamchal! - Fixes incremental builds repeatedly rendering unchanged pages when modules or compiled CSS reference bundled assets.#18053
cf5d72fThanks @Princesseuh! - Improves theastro checkerror shown for TypeScript 7. The command now explains that TypeScript 7 is not currently supported and provides instructions for experimentally type-checking Astro files with TypeScript 7.1 and@astrojs/ts-content-mapper.#18086
795a7e4Thanks @ump45nose! - Fix double-escaped ampersands in Markdown imagealtandtitleattributes. The__ASTRO_IMAGE_round-trip now decodes the numeric (&) and named (&) character references the Markdown processors emit, so an&in an alt or title is escaped exactly once in the final HTML instead of twice.#18074
0429805Thanks @SurefireStudios! - Fix three error names that did not match their documented reference.MissingLocale,MissingIndexForInternationalizationandNoManifestAvailablereported names ending inErrorin the dev overlay, while their error reference pages are published under the unsuffixed names, so the name shown to users could not be found in the docs.#18007
2245837Thanks @L4XB! - Fixes the dev server re-evaluating the whole server module graph on every request. Theastro:head-metadataplugin invalidated its component metadata virtual module from its owntransformhook, so each evaluation of that module scheduled the next one. Adapters that run requests outside Vite's module runner, such as@astrojs/cloudflare, paid for a full re-evaluation of the server graph on every request for the lifetime of the process.#18096
43657c4Thanks @matthewp! - Fixes domain-based i18n routing to respectsecurity.allowedDomainswhen selecting a locale from request host headers#18043
8a53a8bThanks @astro-factory! - Fixesimage.responsiveStylesemitting invalidobject-positionCSS values for same-axis keyword pairs (top bottom,left right, etc.)#18029
c08252dThanks @matthewp! - Runsastro devandastro previewin the foreground when an AI agent is detected on Windows, allowing the agent to manage the process lifetime. Pass--backgroundexplicitly to request an Astro-managed background process. Agent-inferred backgrounding remains enabled on other platforms.Updated dependencies [
3fd16ee,8358d59]:v7.3.3Compare Source
Patch Changes
#17651
504333cThanks @sxzz! - Refactors internal version handling to use a smaller, ESM-native dependency#17942
0bc5715Thanks @matthewp! - Returns appropriate 400 and 404 responses from the image endpoint for invalid and missing local image paths#17700
b2222fcThanks @winklemad! - FixesAstro.preferredLocaleListreturning an empty list when a locale is configured with the object form ({ path, codes }) and the browser sends the code with different casing or an underscore, such asen-USmatching a configureden-us#17941
394ff79Thanks @matthewp! - Fixesastro preview --ignore-lock(andastro dev --ignore-lock) being refused when run from an AI agent environment. The flag now starts the server in the foreground instead of erroring, since agent detection only inferred background mode and was never explicitly requested. An explicit--backgroundcombined with--ignore-lockstill errors.#17928
3277927Thanks @ArmandPhilippot! - Fixes TypeScript autocompletion forgetImage()to suggest all available predefined options.#17928
3277927Thanks @ArmandPhilippot! - Fixes a type error ingetImage()options that allowed passing bothwidthsanddensitiesat the same time.#17857
2637ed1Thanks @Princesseuh! - Improves rendering performance#17943
2fc7ce9Thanks @matthewp! - Fixes a WebAssembly error when importingastro:actionsin tests that run under@cloudflare/vitest-pool-workers#18018
1b5a234Thanks @astro-factory! - Fixes trailing-slash redirect response body pointing to the incoming URL instead of the redirect target. Thelocationheader was correct, but the HTML body (<meta http-equiv="refresh">,<title>, and<a>tag) contained the original request path without the trailing-slash correction or query string.#17905
eaf70faThanks @SudoDevStudio! - Fixes custom dev toolbar apps losing their UI after client-side navigation with<ClientRouter />.#18011
558b301Thanks @astro-factory! - Fixes prerendered Cloudflare pages rendering as[object Object]whennodejs_compatis enabled inwrangler.toml#17944
ba08e35Thanks @matthewp! - Fixes a regression inastro devwhere writes outside the module graph (for example,@astrojs/cloudflare's.wrangler/statefiles) invalidated the middleware on every request, causing repeated SSR reloads. Such writes no longer invalidate the middleware.#17531
ae837dbThanks @danilloestrela! - Updatessvgoto4.0.2to resolve a security advisory#17953
dbbf10eThanks @astro-factory! - Fixes a one-time page reload shortly after the first load on cold dev-server starts when a project has framework components imported from MDX content entries. MDX files are now included in the dev dependency pre-bundling scan, so their framework dependencies are bundled up front instead of being discovered (and reloaded for) at runtime.#17955
4e8ad9aThanks @matthewp! - Improves dev server startup time. The content config and dev server app module graphs now begin compiling during server creation without blocking the server from listening. Request handling waits for the shared setup result when needed, cuttingastro devready time by roughly a third on projects with a content config.#17960
9838049Thanks @Chy-Zaber-Bin-Zahid! - Improves the diagnostics of some Astro errors.#17998
0e5478dThanks @astro-factory! - Fixes SVG<style>elements nested inside<defs>or other container elements not being hashed for CSP#17994
80f9f1dThanks @astro-factory! - Fixesexperimental.incrementalBuildrestoring pages with stale CSS after a preprocessor partial changes or missing original images referenced by restored pages#17889
8ae6b46Thanks @ajfAfg! - Fixes a bug where the dev server stripped the configuredbasefrom URLs that only share a prefix with it. Withbase: '/s', requests to/src/...were rewritten to/rc/...and failed, breaking those pages during development.#17980
cfccafaThanks @gameroman! - Improves JSDoc for fonts api#17953
dbbf10eThanks @astro-factory! - Fixes CSS HMR for framework components rendered through content entries afterClientRouternavigation#17970
0b4dc3aThanks @matthewp! - Improves serialization of transition animation values in generated CSS#17999
30ef3cbThanks @astro-factory! - Fixes content collection HMR not updating prerendered pages when an adapter enables a separate prerender environment (e.g.@astrojs/cloudflarewithprerenderEnvironment: 'node')#18002
312ab49Thanks @shoutoutuoadi325! - Fixes redirect targets being corrupted when a dynamic route parameter value contains$replacement patterns like$䘑
e294953Thanks @matthewp! - Fixes a bug where theglob()content loader kept stale entries in the data store after the last file in a collection was deleted. Empty collections are now pruned correctly, and the file watcher is registered in dev so the first file added to an empty collection is picked up without a restart.#17945
750b4dbThanks @matthewp! - Pre-bundles renderer server entrypoints and the default console logger during dev so they are included in the initial optimization pass, preventing a mid-request re-optimization that could crash the dev server on Cloudflare (workerd).v7.3.2Compare Source
Patch Changes
#17896
a548223Thanks @matthewp! - Fixes<script>/<style>rendering in MDX so that only literal content (including content injected by remark/rehype plugins) is treated as trusted markup. A dynamic value passed as a<script>/<style>child (e.g.<script>{value}</script>) is now escaped like any other element's content instead of being rendered raw. Useset:htmlto explicitly opt a dynamic value back into raw rendering.#17931
c1a6a89Thanks @astro-factory! - Fixes the dev toolbar returning a 504 "Outdated Optimize Dep" error when a workspace-linked package imports a dependency that Vite's initial scan did not discover#17908
42e9188Thanks @astro-factory! - Fixes i18n fallback routing replacing the first substring match instead of the actual locale segment, which mangled paths like/energy/en/aboutinto/esergy/en/about#17936
4b92ddcThanks @astro-factory! - Fixes sessions breaking in dev mode with the Cloudflare adapter when middleware is presentUpdated dependencies [
a548223]:v7.3.1Compare Source
Patch Changes
0389640Thanks @ematipico! - Fixes an error that prevented projects usingastro:assetsfrom starting or buildingv7.3.0Compare Source
Minor Changes
#17767
ce7c91fThanks @astro-factory! - Adds--ignore-lockflag toastro preview, allowing multiple preview servers to run simultaneously on different ports. This is useful for E2E testing workflows (e.g., Playwright) that need to run several preview servers at once.#17818
c0b6581Thanks @florian-lefebvre! - Adds aloggerparameter to image services hooksCustom image services now receive Astro's runtime logger as an extra argument. Messages logged with it are routed through the destination configured in
loggerand respect your log level, instead of being written straight to the console:Astro's built-in Sharp service now uses this logger for the warnings it emits when it encounters an unexpected or unsupported source format.
#17818
c0b6581Thanks @florian-lefebvre! - Addsloggerto the context object passed to cache providersCustom cache providers now receive Astro's runtime logger on the contex
Configuration
📅 Schedule: (UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.