note: la sintesi e le note di rilascio sono in inglese
note: nessuna sintesi per questa release digest
Le release digest sono elencate senza una sintesi. Le note di rilascio originali di questa versione sono qui sotto.
release-notesgithub.com/withastro/astro · 50 righe
- ### Patch Changes
- - [#18847](https://github.com/withastro/astro/pull/18847) [`8ae8783`](https://github.com/withastro/astro/commit/8ae878383e4404aa969c17193a6d2804d6a9008e) Thanks [@astro-factory](https://github.com/apps/astro-factory)! - Fixes a dev server bug where changing a collection schema in `src/content.config.ts` together with one of its data files could store entries parsed with the old schema until the data store was deleted
- - [#18515](https://github.com/withastro/astro/pull/18515) [`7b40892`](https://github.com/withastro/astro/commit/7b408922e6f0c8c102a9cd028ae5ce15e1396923) Thanks [@ossaidqadri](https://github.com/ossaidqadri)! - Fixes `fontProviders.npm({ remote: false })` failing with `CannotFetchFontFile` by reading font files from the installed package on disk
- - [#18801](https://github.com/withastro/astro/pull/18801) [`c6adb7b`](https://github.com/withastro/astro/commit/c6adb7be8706896c7f6c1cb491bf220f05b2e91c) Thanks [@astro-factory](https://github.com/apps/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](https://github.com/withastro/astro/pull/18765) [`e549bbf`](https://github.com/withastro/astro/commit/e549bbf7c83c776942ded4eec619b5397251a85c) Thanks [@astro-factory](https://github.com/apps/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](https://github.com/withastro/astro/pull/18735) [`c629a63`](https://github.com/withastro/astro/commit/c629a63220a27ebbfcc74784c01212a38d580022) Thanks [@astro-factory](https://github.com/apps/astro-factory)! - Fixes `memoryCache()` returning a 500 error when serving a cached 204, 205 or 304 response
- - [`399c94c`](https://github.com/withastro/astro/commit/399c94cb40a11011c351dd79a266c76f93b85c79) Thanks [@matthewp](https://github.com/matthewp)! - Fixes a bug where an action name that was percent-encoded more than once could reach a different action than the name reported by `getActionContext()`. Action requests are now only accepted when the name uses the same encoding Astro's client produces, so middleware that checks `action.name` always sees the action that runs
- - [#18878](https://github.com/withastro/astro/pull/18878) [`069d9fb`](https://github.com/withastro/astro/commit/069d9fba710efc4a5090849b49fc6754ce854b29) Thanks [@astro-factory](https://github.com/apps/astro-factory)! - Fixes type errors reported in the `<ClientRouter />` component when type-checking a project with `noPropertyAccessFromIndexSignature` enabled
- - [#18901](https://github.com/withastro/astro/pull/18901) [`009ec24`](https://github.com/withastro/astro/commit/009ec2469ef0e06e2a977fb3589b8b5d07836ad6) Thanks [@tunetheweb](https://github.com/tunetheweb)! - Add `loading` attribute to `MediaHTMLAttributes` type
- - [#17076](https://github.com/withastro/astro/pull/17076) [`11069ff`](https://github.com/withastro/astro/commit/11069ff5d708976082b8322d869115b2016c0d62) Thanks [@alexanderdombroski](https://github.com/alexanderdombroski)! - Offers to add `.wrangler/` and `worker-configuration.d.ts` to `.gitignore` when you run `astro add cloudflare`, and `.netlify/` when you run `astro add netlify`.
- - [`6159064`](https://github.com/withastro/astro/commit/61590642071f39a193b4d03b2b3bf4110f389ff8) Thanks [@matthewp](https://github.com/matthewp)! - Fixes HTML escaping of non-string values in template expressions and JSX/MDX. Objects that stringify to text, such as an `Error` or a boxed `String`, are now escaped instead of being rendered as raw HTML
- - [#18819](https://github.com/withastro/astro/pull/18819) [`9842674`](https://github.com/withastro/astro/commit/9842674b4b687956407e306c4adcc468fd6a3a64) Thanks [@umeraamir69](https://github.com/umeraamir69)! - Fixes `session.set()` after `session.destroy()` not sending a cookie for the new session when the session had already been written earlier in the same request
- - [#18741](https://github.com/withastro/astro/pull/18741) [`d62f405`](https://github.com/withastro/astro/commit/d62f405a9967751d04f075b8abfc91fe11566729) Thanks [@ydnmu](https://github.com/ydnmu)! - Fixes stale content collection file paths and build failures after renaming files without changing their contents or IDs
- - [#17891](https://github.com/withastro/astro/pull/17891) [`6fb274e`](https://github.com/withastro/astro/commit/6fb274ee5026f00df2b140a5acb3d1aacfab68af) Thanks [@ryansolid](https://github.com/ryansolid)! - Updates the Solid tsconfig preset for Solid 2.0: `astro add solid-js` now writes `jsxImportSource: "@solidjs/web"` (renderer packages own their JSX namespaces and `jsx-runtime` type entries in 2.0; `solid-js` no longer exports one)
- - [#18776](https://github.com/withastro/astro/pull/18776) [`db5e3ec`](https://github.com/withastro/astro/commit/db5e3ec560df8bf81fb5a13f01bd7ca23f302107) Thanks [@astro-factory](https://github.com/apps/astro-factory)! - Fixes an unclear `Cannot find package 'esbuild'` build failure when `vite.build.cssMinify` or `vite.build.minify` is set to `'esbuild'`. Astro now reports that `esbuild` must be installed in your project to use these options.
- - [`62e631d`](https://github.com/withastro/astro/commit/62e631d9413ba55ee292747e87e7ba2b1d0eb0fc) Thanks [@matthewp](https://github.com/matthewp)! - Fixes `image.domains` and `image.remotePatterns` entries without a `protocol` allowing data URIs written with a host, such as `data://cdn.example.com/,...`.
- `image.domains` entries and `image.remotePatterns` entries without a `protocol` now only allow `http` and `https`, the same as `security.allowedDomains`. To allow data URIs, add a pattern with `protocol: 'data'`. This also applies to `remotePatterns: [{}]`, which no longer allows data URIs on its own:
- ```js
- // astro.config.mjs
- export default defineConfig({
- image: {
- remotePatterns: [{}, { protocol: 'data' }],
- },
- });
- ```
- A `remotePatterns` entry with a `port` now also matches URLs that use that protocol's default port, so `port: '443'` matches `https://example.com`.
- - [#18866](https://github.com/withastro/astro/pull/18866) [`2602f49`](https://github.com/withastro/astro/commit/2602f49f53cc6846ead066087994ed36f4aa1ce6) Thanks [@astro-factory](https://github.com/apps/astro-factory)! - Fixes the dev toolbar throwing an error and failing to load when `performance.addEventListener` is unavailable, such as when Playwright's fake clock (`page.clock.install()`) is installed
- - Updated dependencies [[`d5af08b`](https://github.com/withastro/astro/commit/d5af08b89ffd1dd0bafe6eb08be8cb7d821a021b), [`6159064`](https://github.com/withastro/astro/commit/61590642071f39a193b4d03b2b3bf4110f389ff8), [`791d0ad`](https://github.com/withastro/astro/commit/791d0ad39b4f9a69b581730d49340aa1df2f5201), [`db5e3ec`](https://github.com/withastro/astro/commit/db5e3ec560df8bf81fb5a13f01bd7ca23f302107), [`62e631d`](https://github.com/withastro/astro/commit/62e631d9413ba55ee292747e87e7ba2b1d0eb0fc)]:
- - @astrojs/runtime@0.1.3
- - @astrojs/vite-plugin-astro@0.1.4
- - @astrojs/internal-helpers@0.13.3