@astrojs/cloudflare@13.5.2
-
#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 []:
- @astrojs/underscore-redirects@1.0.3
astro-vscode@2.16.16
- #16719
2b1df12Thanks @alexisintech! - fix MDX syntax highlighting for indented astro codeblocks
astro@6.3.4
-
#16723
0f10bfeThanks @matthewp! - AddsfetchFileoption toexperimental.advancedRoutingto customize or disable the entrypoint fileexport default defineConfig({ experimental: { advancedRouting: { fetchFile: 'fetch.ts', }, }, });
-
#16723
0f10bfeThanks @matthewp! - Fixes Honocache()middleware to follow the standard wrapper pattern -
#16723
0f10bfeThanks @matthewp! - AddsApp.Providersinterface for typing custom context providers onAstroandctxdeclare namespace App { interface Providers { oauth: import('./lib/oauth').OAuthSession; } }
-
#16723
0f10bfeThanks @matthewp! - AddsFetchState.responseproperty, set automatically afterpages()ormiddleware()completesconst response = await middleware(state, (s) => pages(s)); console.log(state.response === response); // true
-
#16723
0f10bfeThanks @matthewp! - AddsFetchabletype export for typing the advanced routing entrypointimport type { Fetchable } from 'astro'; export default { async fetch(request) { return new Response('ok'); }, } satisfies Fetchable;
-
#16572
4a5a077Thanks @DORI2001! - Suppresses[WARN] Vite warning: unused imports from "@astrojs/internal-helpers/remote"during prerender builds. The package is now bundled alongsideastroin the prerender environment, matching how it is handled in the SSR environment. -
#16756
b6ee23dThanks @astrobot-houston! - Fixes styles from Markdoc/MDX custom components not being extracted to<head>in the dev server when using the Cloudflare adapter withprerenderEnvironment: 'node'and rendering content through a wrapper component. -
#16747
904d19aThanks @astrobot-houston! - Fixes Astro action requests failing inastro devwhen using the Cloudflare adapter withprerenderEnvironment: 'node'alongside a prerendered catch-all route such as[...page].astro.Actions and other SSR POST endpoints now continue to work in dev instead of returning an HTTP 500 error.
-
#16701
3495ce4Thanks @demaisj! - FixMapandSetinstances saved in a content collection being broken when retrieving entries. -
#16614
fca1c32Thanks @Eptagone! - Fixesentry.datatype inference when a live collection is configured without a schema. -
#16661
03b8f7fThanks @ocavue! - Updatestypescriptto v6. No changes are needed from users. -
#16681
c22770aThanks @dotnetCarpenter! - Fixes an issue where SVG images withwidth="0"orheight="0"incorrectly threw aNoImageMetadataerror instead of being treated as valid dimensions.
9.8.0
- Tree-shaking - the pure barrel - by RaananW (#18441)
- Add distance-only spatial mode to Audio Engine V2 - by VicenteCartas (#18462)
- Camera input mapping system with backward-compatible legacy flag support - [New Feature] by georginahalpern (#18379)