fix(deps): update astro monorepo (major)#145
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
website | 18fc75b | Jul 11 2026, 07:00 PM |
ca7621e to
b5e5d78
Compare
022cd23 to
a256546
Compare
db96126 to
06a0076
Compare
e856569 to
a653deb
Compare
a653deb to
18fc75b
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:
13.0.0-beta.14→14.1.25.0.0-beta.12→7.0.2Release Notes
withastro/astro (@astrojs/cloudflare)
v14.1.2Compare Source
Patch Changes
#17323
4298883Thanks @ematipico! - Fixes build-time image optimization ignoring a custom image service registered by an integrationPreviously, when using
imageService: 'compile'orimageService: 'custom', a custom image service was only respected if it was set directly in theimage.serviceoption ofastro.config. If an integration registered the service instead, images were silently optimized with the default Sharp service at build time. A custom image service now transforms your images at build time no matter how it was configured.#17323
4298883Thanks @ematipico! - Prebundlesastro/componentsand the<ClientRouter />transition runtime modules in the dev server environment so pages using them no longer trigger a mid-session dep optimizer reload, which caused React "Invalid hook call" errors in islands on the first request after a cold cache#17323
4298883Thanks @ematipico! - Fixes an issue wherevarsweren't available at build time. Now the adapter loadsvarsfrom the Wrangler config soastro:envpublic variables resolve at build timeUpdated dependencies []:
v14.1.1Compare Source
Patch Changes
eb6f97e]:v14.1.0Compare Source
Minor Changes
#17099
fdab7ceThanks @adamchal! - Adds configured image service support with thecompileandcustomoptions.The Cloudflare adapter supports various options that affect how images are processed for both pre-rendered and on-demand routes:
imageService: 'compile'now ensures it is used for pre-rendered routes. When no custom image service is defined, the behavior remains unchanged.imageService: 'custom', assets are now processed at build time for pre-rendered routes. If you have configured an image service, it will be bundled to handle images at runtime; otherwise, the behavior remains unchanged.imageServiceoptions remain unchanged.Learn more about the image service options available in the Cloudflare adapter guide.
Patch Changes
#17236
c411200Thanks @matthewp! - Prevents warnings in the Cloudflare adapter about optimizing the@astrojs/cloudflare/entrypoints/servermodule in dev.#17249
02b73b0Thanks @ematipico! - Fixes an issue where thepeerDependenciesfield used incorrect dependencies.Updated dependencies []:
v14.0.2Compare Source
Patch Changes
#17049
ffceaa2Thanks @astrobot-houston! - Fixes prerender errors being silently swallowed when pages throw during rendering in workerd, causingastro buildto exit 0 and emit truncated HTML. The response body is now fully buffered inside workerd before being sent back to the build process, so streaming errors are caught and surfaced as build failures with clear error messages.Updated dependencies []:
v14.0.1Compare Source
Patch Changes
#17175
7a7d879Thanks @astrobot-houston! - Fixesastro devOOM crashes for@astrojs/cloudflareusers on Vite 8 by migrating the frontmatter scan plugin to Rolldown-compatible options.#17187
0db4b57Thanks @matthewp! - Fixes React invalid hook warning during cold SSR optimizer reload when using ClientRouterUpdated dependencies []:
v14.0.0Compare Source
Major Changes
cafec4eThanks @delucis! - Upgrade to Vite v8Minor Changes
#16335
9a53f77Thanks @ascorbic! - Adds an opt-in CDN cache provider for Astro route caching on Cloudflare WorkersSetup
Import
cacheCloudflare()from@astrojs/cloudflare/cacheand set it as your cache provider:The adapter automatically enables the Worker caching layer when a Cloudflare cache provider is configured. No manual wrangler.jsonc changes are needed.
Caching responses
Use
Astro.cache.set()in your pages and API routes to cache responses. The provider setsCloudflare-CDN-Cache-ControlandCache-Tagheaders, which are read by Cloudflare's built-in caching layer. Cache hits bypass Worker execution entirely, meaning your Worker is not invoked for cached responses.You can also set cache rules for groups of routes in your config:
Invalidation
Purge cached responses by tag or path from any API route or server endpoint:
Both tag-based and path-based invalidation are supported.
Patch Changes
#16961
96398e8Thanks @adamchal! - Speeds upastro syncby no longer starting the Cloudflare runtime during type generation#16671
fd926fdThanks @alexanderniebuhr! - Removes deprecations warnings added in Astro v6 for Cloudflare specific Astro.locals properties.#17027
241250bThanks @ocavue! - Triggers beta prereleases for packages that are still on alphaUpdated dependencies []:
v13.7.0Compare Source
Minor Changes
#16571
d4b0cd1Thanks @MA2153! - Sets immutable cache headers for static assetsStatic assets under
_astrocan be cached to improve performance. The adapter now automatically injects aCache-Controlheader at build time when possible.Patch Changes
#16968
7a5c001Thanks @astrobot-houston! - Fixes a build crash when usingexperimental.advancedRoutingwith a customfetchFilethat statically importscffrom@astrojs/cloudflare/fetch. The circular dependency between@astrojs/cloudflare/fetchandastro/app/entrypointcausedcreateApporcreateGetEnvto beundefinedat module evaluation time. Initialization is now deferred to the firstcf()call, breaking the cycle.Updated dependencies []:
v13.6.1Compare Source
Patch Changes
#16914
4bdd240Thanks @matthewp! - Fixesastro/fetchandastro/honobeing discovered at runtime during dev instead of pre-bundled#16693
9e6edc2Thanks @ArmandPhilippot! - Fixes a link in the documentation specifying where to open an issue for the adapter.Updated dependencies []:
v13.6.0Compare Source
Minor Changes
01aa164Thanks @matthewp! - Adds@astrojs/cloudflare/fetchand@astrojs/cloudflare/honoexports for composing Cloudflare-specific setup with Astro's advanced routing handlers.@astrojs/cloudflare/fetchFor use with
astro/fetchin a custom fetch handler:@astrojs/cloudflare/honoFor use with
astro/honoas Hono middleware:Both handlers configure SESSION KV bindings, static asset serving via the ASSETS binding,
locals.cfContext, client address,waitUntil, and prerendered error page fetch.Patch Changes
#16868
f9bae95Thanks @helio-cf! - Fixes user options passed tocloudflare({...})(remoteBindings,inspectorPort,persistState,configPath,auxiliaryWorkers) being silently ignored duringastro preview. The adapter now resolves the full@cloudflare/vite-pluginconfig once at integration setup time and reuses that single resolved value across the dev/build plugin, the prerenderer's preview server, and theastro previewentrypoint, so user options can no longer be dropped at one of the call sites.#16468
4cff3a1Thanks @matthewp! - Fixes static Cloudflare builds with server islands or image endpoints that failed at preview time due to mismatched output directories.Updated dependencies [
f732f3c]:v13.5.5Compare Source
Patch Changes
#16607
98297afThanks @alexanderflodin! - Fixes incorrectassets.directoryin the generatedwrangler.jsonwhen abasepath is configuredUpdated dependencies []:
v13.5.4Compare Source
Patch Changes
#16769
428cb1bThanks @astrobot-houston! - Forwards user-providedoptimizeDepssettings (exclude, include, esbuildOptions.loader) to SSR/prerender environments. Previously, top-levelvite.optimizeDepsin the Astro config was silently ignored for server environments because Vite 6 scopes it to client-only and the adapter'sconfigEnvironmenthook did not forward it. This caused packages with non-standard file types (e.g..datafiles) to fail during dev-mode dependency optimization with errors like "No loader is configured for '.data' files".Updated dependencies []:
v13.5.3Compare Source
Patch Changes
#16801
d619277Thanks @ematipico! - Reverts a change to the esbuild dep-scan plugin that causedastro checkandastro buildto fail by making esbuild incorrectly bundlevirtual:modules (e.g. from expressive-code)Updated dependencies []:
v13.5.2Compare Source
Patch Changes
#16708
bb709ffThanks @fkatsuhiro! - Fixed a bug where a cascade of reloads would cause the page to crash during the first visit when building or developing with Cloudflare SSR in Astro v6 due to dependency loading issues.Updated dependencies []:
v13.5.1Compare Source
Patch Changes
#16707
2ff3f8fThanks @helio-cf! - FixesremoteBindings: falsebeing ignored duringastro build. The Cloudflare prerenderer's internal Vite preview server now receives the user's adapter options, so remote-flagged bindings (e.g. a D1 database withremote: trueinwrangler.toml) are emulated locally during build, matching the existingastro devbehavior.#16652
98c32ccThanks @greatjourney589! - Fixes user-declared KV namespace bindings being duplicated in the generateddist/server/wrangler.json, which caused wrangler validation to fail with " assigned to multiple KV Namespace bindings." The Astro Cloudflare config customizer now returns only the auto-injectedSESSIONbinding and lets@cloudflare/vite-pluginmerge it with the user's wrangler config, instead of pre-merging the user's bindings into the output.#16272
4f9521eThanks @barry3406! - Fixes.astrofiles failing withNo matching export in "html:..." for import "default"when default-imported from a.tsfile#15723
9256345Thanks @rururux! - Fixes an issue where the<Prism />component failed to work in Cloudflare Workers.Updated dependencies [
d365c97]:v13.5.0Compare Source
Minor Changes
4d72482Thanks @ematipico! - The adapter now depends on Astro 6.3.0.v13.4.0Compare Source
Minor Changes
#16519
1b1c218Thanks @louisescher! - Adds support for redirecting URLs in remote image optimization.Previously, when a remote image URL meant to be optimized by Astro led to a redirect, Astro would fail silently and ignore the redirect. Now, Astro tracks up to 10 redirects for these images. If any of the redirects are not covered by a pattern in
image.remotePatternsor a domain inimage.domains, Astro will fail with a helpful error message.In the following example, the first image would be loaded successfully, while the second would lead to Astro throwing an error:
In cases where all redirects to HTTPS hosts should be trusted, the following configuration for
image.remotePatternscan be used:Patch Changes
v13.3.1Compare Source
Patch Changes
#16552
409f6efThanks @web-dev0521! - Fixes an issue where existing KV namespace bindings were silently removed when session support was enabled.#16277
7666bcdThanks @Calvin-LL! - Fix static assets and prerendered pages 404ing whenbaseis configured.Updated dependencies []:
v13.3.0Compare Source
Minor Changes
#16187
fe58071Thanks @gllmt! - Adds awaitUntiloption to theRenderOptionsso that adapters can forward runtime background-task hooks to Astro.When provided by an adapter, runtime cache providers receive
context.waitUntilinCacheProvider.onRequest(), which allows background cache work such as stale-while-revalidatewithout blocking the response. The Cloudflare adapter now forwards
ExecutionContext.waitUntilto this API.#16290
a49637aThanks @ViVaLaDaniel! - Ensures thatserver.allowedHosts(andvite.preview.allowedHosts) configuration is respected when usingastro previewwith the@astrojs/cloudflareadapter. This improves security by preventing DNS rebinding attacks when previewing Cloudflare builds locally.Patch Changes
v13.2.2Compare Source
Patch Changes
#16498
4efe020Thanks @matthewp! - Fixes the dependency scan failing with "No matching export for import 'default'" when a.tsfile default-imports an.astrocomponentThe esbuild scan plugin now includes
export default {}in its output for.astrofiles, preventing the scan from failing and ensuring all dependencies are discovered ahead of time.Updated dependencies []:
v13.2.1Compare Source
Patch Changes
8cb1f42Thanks @matthewp! - Fixes Cloudflare dev and build failures caused by@cloudflare/vite-plugindefaultingcompatibility_dateto today's date, which can exceed the maximum date supported by the bundledworkerdbinaryv13.2.0Compare Source
Minor Changes
#16435
c4d321bThanks @jamesopstad! - Add support for Preview deployments (currently in private beta)Non-inheritable bindings set internally by the Cloudflare adapter are now also set in the
previewssection of the config so that they are inherited by Preview deployments.Patch Changes
99464ed,f3485c3]:v13.1.10Compare Source
Patch Changes
#16320
a43eb4bThanks @matthewp! - Usesredirect: 'manual'for remote image fetches in the Cloudflare binding image transform, consistent with all other image fetch paths#16307
a81dd3eThanks @matthewp! - Surfacesconsole.logandconsole.warnoutput from workerd during prerenderingUpdated dependencies []:
v13.1.9Compare Source
Patch Changes
#16210
e030bd0Thanks @matthewp! - Fixes.sveltefiles innode_modulesfailing withUnknown file extension ".svelte"when using the Cloudflare adapter withprerenderEnvironment: 'node'Updated dependencies []:
v13.1.8Compare Source
Patch Changes
#16225
756e7beThanks @travisbreaks! - FixesERR_MULTIPLE_CONSUMERSerror when using Cloudflare Queues with prerendered pages. The prerender worker config callback now excludesqueues.consumersfrom the entry worker config, since the prerender worker only renders static HTML and should not register as a queue consumer. Queue producers (bindings) are preserved.#16192
79d86b8Thanks @alexanderniebuhr! - Removes an unused function re-export from the/infopackage pathUpdated dependencies []:
v13.1.7Compare Source
Patch Changes
814406d]:v13.1.6Compare Source
Patch Changes
4978165Thanks @matthewp! - Fixes a dev-mode crash loop in the Cloudflare adapter when using Starlight by excluding@astrojs/starlightfrom SSR dependency optimizationv13.1.5Compare Source
Patch Changes
#16109
c887b4aThanks @matthewp! - Fix HMR crash when editing content collection files caused by Vite's SSR transform colliding with zod v4'smetaexportUpdated dependencies []:
v13.1.4Compare Source
Patch Changes
#16041
56d2bdeThanks @kylemclean! - Fixes unnecessary prerendering of redirect destinationsUnnecessary files are no longer generated by static builds for redirected routes.
Requests are no longer made at build time to external redirect destination URLs, which could cause builds to fail.
Updated dependencies []:
v13.1.3Compare Source
Patch Changes
3b8d473]:v13.1.2Compare Source
Patch Changes
#15888
925252eThanks @matthewp! - Fixes a bug where dependencies imported by prerender-onlyserver:deferislands could remain as bare imports in server output, causing module resolution failures in preview and Cloudflare Workers.#15934
6f8f0bcThanks @ematipico! - Updates the AstropeerDependencies#astroto be6.0.0.#15875
c43ef8aThanks @matthewp! - Include workerd response details in Cloudflare prerenderer errors to makegetStaticPaths()failures easier to diagnose.Updated dependencies []:
v13.1.1Compare Source
Patch Changes
#15815
d1872eeThanks @matthewp! - Prebundle additional Astro runtime dependencies for Cloudflare development server, speeding up initial start time and preventing required restarts.#15872
3b47b89Thanks @Princesseuh! - Fixes images not working in dev mode when using thecloudflareoptionUpdated dependencies []:
v13.1.0Compare Source
Minor Changes
#15711
b2bd27bThanks @OliverSpeir! - Adds aprerenderEnvironmentoption to the Cloudflare adapter.By default, Cloudflare uses its workerd runtime for prerendering static pages. Set
prerenderEnvironmentto'node'to use Astro's built-in Node.js prerender environment instead, giving prerendered pages access to the full Node.js ecosystem during both build and dev. This is useful when your prerendered pages depend on Node.js-specific APIs or NPM packages that aren't compatible with workerd.Patch Changes
#15845
50fcc8bThanks @aqiray! - fix: show actionable error when running astro preview without prior build#15794
d1ac58eThanks @OliverSpeir! - Fixes image serving inpassthroughmode by using the CloudflareASSETSbinding instead of generic fetch, which does not work in Workers for local assets#15850
660da74Thanks @tristanbes! - fix(cloudflare): forwardconfigPathand otherPluginConfigoptions to the Cloudflare Vite PluginOptions like
configPath,inspectorPort,persistState,remoteBindings, andauxiliaryWorkerswere accepted by the type system but never forwarded tocfVitePlugin(), making them silently ignored.Also fixes
addWatchFileforconfigPathwhich resolved the path relative to the adapter'snode_modulesdirectory instead of the project root.#15843
fcd237dThanks @Calvin-LL! - fix cloudflare image transform ignoring quality parameterUpdated dependencies []:
v13.0.2Patch Changes
#15832
95e12a2Thanks @Princesseuh! - Fixesreturn;syntax not working in the frontmatter correctly in certain contexts#15803
e42b015Thanks @merlinnot! - Fixes the Cloudflare adapter adding aSESSIONKV binding even when sessions are explicitly configured to use a different driver, such asunstorage/drivers/null.Updated dependencies []:
v13.0.1Patch Changes
e20474b]:v13.0.0Compare Source
Major Changes
141c4a2Thanks @ematipico! - Changes the API for creating a customentrypoint, replacing thecreateExports()function with a direct export pattern.What should I do?
If you're using a custom
entryPointin your Cloudflare adapter config, update your existing worker file that usescreateExports()to reflect the new, simplified pattern:my-entry.ts
To create the same custom
entrypointusing the updated API, export the following function instead:my-entry.ts
The manifest is now created internally by the adapter.
#15435
957b9feThanks @rururux! - Changes the default image service fromcompiletocloudflare-binding. Image services options that resulted in broken images in development due to Node JS incompatiblities have now been updated to use the noop passthrough image service in dev mode. - (Cloudflare v13 and Astro6 upgrade guidance)#15400
41eb284Thanks @florian-lefebvre! - Removes theworkerEntryPointoption, which wasn't used anymore. Set themainfield of your wrangler config insteadSee how to migrate
#14306
141c4a2Thanks @ematipico! - Development server now runs in workerdastro devnow runs your Cloudflare application using Cloudflare's workerd runtime instead of Node.js. This means your development environment is now a near-exact replica of your production environment—the same JavaScript engine, the same APIs, the same behavior. You'll catch issues during development that would have only appeared in production, and features like Durable Objects, Workers Analytics Engine, and R2 bindings work exactly as they do on Cloudflare's platform.New runtime
Previously,
Astro.locals.runtimeprovided access to Cloudflare-specific APIs. These APIs have now moved to align with Cloudflare's native patterns.What should I do?
Update occurrences of
Astro.locals.runtime:Astro.locals.runtime.env→ Importenvfromcloudflare:workersAstro.locals.runtime.cf→ Access viaAstro.request.cfAstro.locals.runtime.caches→ Use the globalcachesobjectAstro.locals.runtime(forExecutionContext) → UseAstro.locals.cfContextHere's an example showing how to update your code:
Before:
After:
#15345
840fbf9Thanks @matthewp! - Removes thecloudflareModulesadapter optionThe
cloudflareModulesoption has been removed because it is no longer necessary. Cloudflare natively supports importing.sql,.wasm, and other module types.What should I do?
Remove the
cloudflareModulesoption from your Cloudflare adapter configuration if you were using it:import cloudflare from '@​astrojs/cloudflare'; export default defineConfig({ adapter: cloudflare({ - cloudflareModules: true }) });#14445
ecb0b98Thanks @florian-lefebvre! - Astro v6.0 upgrades to Vite v7.0 as the development server and production bundler - (v6 upgrade guidance)#15037
8641805Thanks @matthewp! - Updates the Wrangler entrypointPreviously, the
mainfield inwrangler.jsoncpointed to the built output, since Wrangler only ran in production after the build completed:{ "main": "dist/_worker.js/index.js", }Now that Wrangler runs in both development (via workerd) and production, Astro provides a default entrypoint that works for both scenarios.
What should I do?
Update your
wrangler.jsoncto use the new entrypoint:{ "main": "@​astrojs/cloudflare/entrypoints/server", }This single entrypoint handles both
astro devand production deployments.#15480
e118214Thanks @alexanderniebuhr! - Drops official support for Cloudflare Pages in favor of Cloudflare WorkersThe Astro Cloudflare adapter now only supports deployment to Cloudflare Workers by default in order to comply with Cloudflare's recommendations for new projects. If you are currently deploying to Cloudflare Pages, consider migrating to Workers by following the Cloudflare guide for an optimal experience and full feature support.
Minor Changes
#15435
957b9feThanks @rururux! - Adds support for configuring the image service as an object with separatebuildandruntimeoptionsIt is now possible to set both a build-time and runtime service independently. Currently,
'compile'is the only available build time option. The supported runtime options are'passthrough'(default) and'cloudflare-binding':See the Cloudflare adapter
imageServicedocs for more information about configuring your image service.#15077
a164c77Thanks @matthewp! - Adds support for prerendering pages using the workerd runtime.The Cloudflare adapter now uses the new
setPrerenderer()API to prerender pages via HTTP requests to a local preview server running workerd, instead of using Node.js. This ensures prerendered pages are built using the same runtime that serves them in production.#14306
141c4a2Thanks [@ematipico](https://redirect.github.com/emaConfiguration
📅 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.
👻 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.