astro 2.10.10
Patch Changes
-
#8127
b12c8471fThanks @natemoo-re! - Do not throw Error when users pass an object with a "type" property -
#8092
7177f7579Thanks @natemoo-re! - Ensure dotfiles are cleaned during static builds -
#8122
fa6b68a77Thanks @natemoo-re! - Improve fidelity of time stats when runningastro build -
#8070
097a8e4e9Thanks @lilnasy! - Fix a handful of edge cases with prerendered 404/500 pages -
#8123
1f6497c33Thanks @natemoo-re! - Open to configuredbasewhenastro dev --openruns -
#8105
0e0fa605dThanks @martrapp! - ViewTransition: bug fix for lost scroll position in browser history -
#8116
b290f0a99Thanks @martrapp! - On back navigation only animate view transitions that were animated going forward. -
#7778
d6b494376Thanks @y-nk! - Added support for optimizing remote images from authorized sources when usingastro:assets. This comes with two new parameters to specify which domains (image.domains) and host patterns (image.remotePatterns) are authorized for remote images.For example, the following configuration will only allow remote images from
astro.buildto be optimized:// astro.config.mjs export default defineConfig({ image: { domains: ['astro.build'], }, });The following configuration will only allow remote images from HTTPS hosts:
// astro.config.mjs export default defineConfig({ image: { remotePatterns: [{ protocol: 'https' }], }, }); -
#8109
da6e3da1cThanks @martrapp! - fix: reinsert attribute to specify direction of ViewTransition (forward / back)