Repository navigation
astro@7.4.14
Patch Changes
-
#18847
8ae8783Thanks @astro-factory! - Fixes a dev server bug where changing a collection schema insrc/content.config.tstogether with one of its data files could store entries parsed with the old schema until the data store was deleted -
#18515
7b40892Thanks @ossaidqadri! - FixesfontProviders.npm({ remote: false })failing withCannotFetchFontFileby reading font files from the installed package on disk -
#18801
c6adb7bThanks @astro-factory! - Fixes optimized fallbacks generated by the Fonts API rendering bold and italic text as regular and upright while the web font loads -
#18765
e549bbfThanks @astro-factory! - Fixes a bug on Cloudflare Workers where a request cancelled while Astro was still loading the middleware, session driver, actions, cache provider, or logger caused every later request to fail with "This promise was created by a request that has since ended" -
#18735
c629a63Thanks @astro-factory! - FixesmemoryCache()returning a 500 error when serving a cached 204, 205 or 304 response -
399c94cThanks @matthewp! - Fixes a bug where an action name that was percent-encoded more than once could reach a different action than the name reported bygetActionContext(). Action requests are now only accepted when the name uses the same encoding Astro's client produces, so middleware that checksaction.namealways sees the action that runs -
#18878
069d9fbThanks @astro-factory! - Fixes type errors reported in the<ClientRouter />component when type-checking a project withnoPropertyAccessFromIndexSignatureenabled -
#18901
009ec24Thanks @tunetheweb! - Addloadingattribute toMediaHTMLAttributestype -
#17076
11069ffThanks @alexanderdombroski! - Offers to add.wrangler/andworker-configuration.d.tsto.gitignorewhen you runastro add cloudflare, and.netlify/when you runastro add netlify. -
6159064Thanks @matthewp! - Fixes HTML escaping of non-string values in template expressions and JSX/MDX. Objects that stringify to text, such as anErroror a boxedString, are now escaped instead of being rendered as raw HTML -
#18819
9842674Thanks @umeraamir69! - Fixessession.set()aftersession.destroy()not sending a cookie for the new session when the session had already been written earlier in the same request -
#18741
d62f405Thanks @ydnmu! - Fixes stale content collection file paths and build failures after renaming files without changing their contents or IDs -
#17891
6fb274eThanks @ryansolid! - Updates the Solid tsconfig preset for Solid 2.0:astro add solid-jsnow writesjsxImportSource: "@solidjs/web"(renderer packages own their JSX namespaces andjsx-runtimetype entries in 2.0;solid-jsno longer exports one) -
#18776
db5e3ecThanks @astro-factory! - Fixes an unclearCannot find package 'esbuild'build failure whenvite.build.cssMinifyorvite.build.minifyis set to'esbuild'. Astro now reports thatesbuildmust be installed in your project to use these options. -
62e631dThanks @matthewp! - Fixesimage.domainsandimage.remotePatternsentries without aprotocolallowing data URIs written with a host, such asdata://cdn.example.com/,....image.domainsentries andimage.remotePatternsentries without aprotocolnow only allowhttpandhttps, the same assecurity.allowedDomains. To allow data URIs, add a pattern withprotocol: 'data'. This also applies toremotePatterns: [{}], which no longer allows data URIs on its own:// astro.config.mjs export default defineConfig({ image: { remotePatterns: [{}, { protocol: 'data' }], }, });
A
remotePatternsentry with aportnow also matches URLs that use that protocol's default port, soport: '443'matcheshttps://example.com. -
#18866
2602f49Thanks @astro-factory! - Fixes the dev toolbar throwing an error and failing to load whenperformance.addEventListeneris unavailable, such as when Playwright's fake clock (page.clock.install()) is installed -
Updated dependencies [
d5af08b,6159064,791d0ad,db5e3ec,62e631d]:- @astrojs/runtime@0.1.3
- @astrojs/vite-plugin-astro@0.1.4
- @astrojs/internal-helpers@0.13.3