You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#16367a6866a7 Thanks @ematipico! - Fixes an issue where build output files could contain special characters (!, ~, {, }) in their names, causing deploy failures on platforms like Netlify.
#16381217c5b3 Thanks @ematipico! - Slightly improved the performance of the dev server by caching the internal crawling of the dependencies of a project.
#163487d26cd7 Thanks @ocavue! - Fixes a bug where emitted assets during a client build would contain always fresh, new hashes in their name. Now the build should be more stable.
#16317d012bfe Thanks @das-peter! - Fixes a bug where allowedDomains weren't correctly propagated when using the development server.
#163795a84551 Thanks @martrapp! - Improves Vue scoped style handling in DEV mode during client router navigation.
#16317d012bfe Thanks @das-peter! - Adds tests to verify settings are properly propagated when using the development server.
#162825b0fdaa Thanks @jmurty! - Fixes build errors on platforms with skew protection enabled (e.g. Vercel, Netlify) for inter-chunk Javascript using dynamic imports
#16027c62516b Thanks @fkatsuhiro! - Fixes a bug where remote image dimensions were not validated during static builds on Netlify.
#1631194048f2 Thanks @Arecsu! - Fixes --port flag being ignored after a Vite-triggered server restart (e.g. when a .env file changes)
#163160fcd04c Thanks @ematipico! - Fixes the /_image endpoint accepting an arbitrary f=svg query parameter and serving non-SVG content as image/svg+xml. The endpoint now validates that the source is actually SVG before honoring f=svg, matching the same guard already enforced on the <Image> component path.
astro@6.1.6
Patch Changes
#16202b5c2fba Thanks @matthewp! - Fixes Actions failing with ActionsWithoutServerOutputError when using output: 'static' with an adapter
#16303b06eabf Thanks @matthewp! - Improves handling of special characters in inline <script> content
#14924bb4586a Thanks @aralroca! - Fixes SCSS and CSS module file changes triggering a full page reload instead of hot-updating styles in place during development
astro@6.1.5
Patch Changes
#161715bcd03c Thanks @Desel72! - Fixes a build error that occurred when a pre-rendered page used the <Picture> component and another page called render() on content collection entries.
#162397c65c04 Thanks @dataCenter430! - Fixes sync content inside <Fragment> not streaming to the browser until all async sibling expressions have resolved.
#16242686c312 Thanks @martrapp! - Revives UnoCSS in dev mode when used with the client router.
This change partly reverts #16089, which in hindsight turned out to be too general. Instead of automatically persisting all style sheets, we now do this only for styles from Vue components.
#16367a6866a7 Thanks @ematipico! - Fixes an issue where build output files could contain special characters (!, ~, {, }) in their names, causing deploy failures on platforms like Netlify.
#16381217c5b3 Thanks @ematipico! - Slightly improved the performance of the dev server by caching the internal crawling of the dependencies of a project.
#163487d26cd7 Thanks @ocavue! - Fixes a bug where emitted assets during a client build would contain always fresh, new hashes in their name. Now the build should be more stable.
#16317d012bfe Thanks @das-peter! - Fixes a bug where allowedDomains weren't correctly propagated when using the development server.
#163795a84551 Thanks @martrapp! - Improves Vue scoped style handling in DEV mode during client router navigation.
#16317d012bfe Thanks @das-peter! - Adds tests to verify settings are properly propagated when using the development server.
#162825b0fdaa Thanks @jmurty! - Fixes build errors on platforms with skew protection enabled (e.g. Vercel, Netlify) for inter-chunk Javascript using dynamic imports
#16027c62516b Thanks @fkatsuhiro! - Fixes a bug where remote image dimensions were not validated during static builds on Netlify.
#1631194048f2 Thanks @Arecsu! - Fixes --port flag being ignored after a Vite-triggered server restart (e.g. when a .env file changes)
#163160fcd04c Thanks @ematipico! - Fixes the /_image endpoint accepting an arbitrary f=svg query parameter and serving non-SVG content as image/svg+xml. The endpoint now validates that the source is actually SVG before honoring f=svg, matching the same guard already enforced on the <Image> component path.
6.1.6
Patch Changes
#16202b5c2fba Thanks @matthewp! - Fixes Actions failing with ActionsWithoutServerOutputError when using output: 'static' with an adapter
#16303b06eabf Thanks @matthewp! - Improves handling of special characters in inline <script> content
#14924bb4586a Thanks @aralroca! - Fixes SCSS and CSS module file changes triggering a full page reload instead of hot-updating styles in place during development
6.1.5
Patch Changes
#161715bcd03c Thanks @Desel72! - Fixes a build error that occurred when a pre-rendered page used the <Picture> component and another page called render() on content collection entries.
#162397c65c04 Thanks @dataCenter430! - Fixes sync content inside <Fragment> not streaming to the browser until all async sibling expressions have resolved.
#16242686c312 Thanks @martrapp! - Revives UnoCSS in dev mode when used with the client router.
#16320a43eb4b Thanks @matthewp! - Uses redirect: 'manual' for remote image fetches in the Cloudflare binding image transform, consistent with all other image fetch paths
#16307a81dd3e Thanks @matthewp! - Surfaces console.log and console.warn output from workerd during prerendering
#16210e030bd0 Thanks @matthewp! - Fixes .svelte files in node_modules failing with Unknown file extension ".svelte" when using the Cloudflare adapter with prerenderEnvironment: 'node'
#16225756e7be Thanks @travisbreaks! - Fixes ERR_MULTIPLE_CONSUMERS error when using Cloudflare Queues with prerendered pages. The prerender worker config callback now excludes queues.consumers from 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.
#161514978165 Thanks @matthewp! - Fixes a dev-mode crash loop in the Cloudflare adapter when using Starlight by excluding @astrojs/starlight from SSR dependency optimization
#16109c887b4a Thanks @matthewp! - Fix HMR crash when editing content collection files caused by Vite's SSR transform colliding with zod v4's meta export
#16320a43eb4b Thanks @matthewp! - Uses redirect: 'manual' for remote image fetches in the Cloudflare binding image transform, consistent with all other image fetch paths
#16307a81dd3e Thanks @matthewp! - Surfaces console.log and console.warn output from workerd during prerendering
#16210e030bd0 Thanks @matthewp! - Fixes .svelte files in node_modules failing with Unknown file extension ".svelte" when using the Cloudflare adapter with prerenderEnvironment: 'node'
#16225756e7be Thanks @travisbreaks! - Fixes ERR_MULTIPLE_CONSUMERS error when using Cloudflare Queues with prerendered pages. The prerender worker config callback now excludes queues.consumers from 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.
#161514978165 Thanks @matthewp! - Fixes a dev-mode crash loop in the Cloudflare adapter when using Starlight by excluding @astrojs/starlight from SSR dependency optimization
13.1.5
Patch Changes
#16109c887b4a Thanks @matthewp! - Fix HMR crash when editing content collection files caused by Vite's SSR transform colliding with zod v4's meta export
#1547536fc0e0 Thanks @delucis! - Fixes edge cases where an export const components = {...} declaration would fail to be detected with the optimize option enabled
#1526411efb05 Thanks @florian-lefebvre! - Lower the Node version requirement to allow running on Stackblitz until it supports v22
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase will rebase this PR
@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
@dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the Security Alerts page.
Code Review: ⚠️ Most Important PR — Needs Source Code Changes Before Merging
Summary
This PR bumps 3 packages together as a coordinated major upgrade:
astro: 5.16.2 → 6.1.8 (major)
@astrojs/cloudflare: 12.6.12 → 13.1.10 (major)
@astrojs/mdx: 4.3.12 → 5.0.3 (major)
This is the right approach — these packages need to be upgraded together. However, the PR only updates package.json/package-lock.json and doesn't include necessary source code migrations.
Critical Issues
1. 🔴 Missing wrangler upgrade @astrojs/cloudflare@13.x now requires wrangler: ^4.61.1 as a peer dependency (it was previously bundled internally). The project has wrangler: 4.56.0 in devDependencies. This must be bumped to >=4.61.1.
2. 🔴 Node.js version requirement
Astro 6 requires Node 22.12.0+ (Node 18 and 20 support dropped entirely). Ensure your CI/CD and Cloudflare Workers deployment environment support Node 22+. Consider adding an .nvmrc or engines field:
"engines": { "node": ">=22.12.0" }
3. 🟡 astro.config.mjs — platformProxy option
The current config uses:
In @astrojs/cloudflare v13, the adapter was rewritten to use @cloudflare/vite-plugin internally. The platformProxy option may no longer be valid or may have changed behavior. Verify this option is still supported, or remove it if bindings are now handled automatically via the Vite plugin.
The Runtime type export from @astrojs/cloudflare may have changed in v13 with the new Vite Environment API. Verify this type still exists and has the same shape, or update to the new typing pattern.
5. 🟡 Zod 4 compatibility in src/content.config.ts
Astro 6 upgrades to Zod 4. The current schema uses:
These patterns should still work in Zod 4, but verify:
z.coerce.date() still works (it does in Zod 4)
z.string(), z.object(), z.string().optional() all unchanged
No .default() with transforms (not used here — ✅ safe)
6. 🟡 Vite 7 compatibility
Astro 6 upgrades to Vite 7. If PR #20 (Vite 6.4.1→6.4.2) is merged first, it will conflict with this PR since Astro 6 brings Vite 7. PR #20 becomes obsolete if this PR is merged.
7. 🟢 Content collections API
The project already uses the Content Layer API (glob loader in content.config.ts), which is the required pattern in Astro 6. No legacy collections migration needed. ✅
8. 🟢 getStaticPaths() deprecation src/pages/blog/[...slug].astro uses getStaticPaths() but doesn't access Astro.site or Astro.generator inside it. No immediate action needed, but be aware this API is deprecated in Astro 6 and will eventually be removed.
Recommendation
Do not merge as-is. This PR needs:
Bump wrangler to >=4.61.1 in devDependencies
Verify/fix platformProxy config in astro.config.mjs
Verify/fix Runtime type in src/env.d.ts
Add .nvmrc with 22.12.0 or engines field
Test a build locally to catch any remaining issues
This is the most important PR of the 5 and should be the foundation — PRs #24 and #20 become redundant after this merges.
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
dependenciesPull requests that update a dependency filejavascriptPull requests that update javascript code
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.
Bumps astro, @astrojs/cloudflare and @astrojs/mdx. These dependencies needed to be updated together.
Updates
astrofrom 5.16.2 to 6.1.8Release notes
Sourced from astro's releases.
... (truncated)
Changelog
Sourced from astro's changelog.
... (truncated)
Commits
63c5c85[ci] release (#16356)71c93ca[ci] format5a84551Improves Vue scoped style handling in DEV mode during client router navigatio...ba2dbf1refactor(astro): correct Fixture type signatures in test-utils (#16380)217c5b3perf(core): cache crawl result (#16381)6e5bc17chore: absorb tests into others (#16365)dc8a01dchore: reduce fixtures by merging them (#16364)bb0ff91refactor(astro): migrate error tests to typescript (#16377)a6866a7fix(core): clean chunk name (#16367)811015dchore: remove lone fixtures (#16363)Updates
@astrojs/cloudflarefrom 12.6.12 to 13.1.10Release notes
Sourced from
@astrojs/cloudflare's releases.... (truncated)
Changelog
Sourced from
@astrojs/cloudflare's changelog.... (truncated)
Commits
eca29c1[ci] release (#16314)a43eb4bUse redirect: manual in Cloudflare image binding transform (#16320)a81dd3eSurface console output from workerd during Cloudflare prerendering (#16307)1945a93[ci] release (#16281)e030bd0Fix .svelte files in node_modules with Cloudflare prerenderEnvironment: node ...92fc030refactor(core): rename logger internal types (#16271)673a871[ci] release (#16244)79d86b8chore: adapt code to upstream deprecation (#16192)756e7befix(cloudflare): exclude queue consumers from prerender worker (#16225)b5b8093[ci] release (#16159)Updates
@astrojs/mdxfrom 4.3.12 to 5.0.3Release notes
Sourced from
@astrojs/mdx's releases.Changelog
Sourced from
@astrojs/mdx's changelog.... (truncated)
Commits
4a6ff2a[ci] release (#16020)a2c15bbfix(deps): update astro dependencies (#15913)efcd607[ci] release (#15938)d3c7de9feat: drop node 20 support (#15864)09ecdd7[ci] release (#15889)6f8f0bcfix: update peer dependency range (#15934)48e5c4d[ci] release (#15808)2ce9e74chore: update docs links (#15732)25560db[ci] release (beta) (#15773)6414732Spelling (#15601)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.