astro@2.10.10
版本发布时间: 2023-08-18 22:34:39
withastro/astro最新发布版本:astro@5.0.0-beta.2(2024-09-24 17:12:05)
Patch Changes
-
#8127
b12c8471f
Thanks @natemoo-re! - Do not throw Error when users pass an object with a "type" property -
#8092
7177f7579
Thanks @natemoo-re! - Ensure dotfiles are cleaned during static builds -
#8122
fa6b68a77
Thanks @natemoo-re! - Improve fidelity of time stats when runningastro build
-
#8070
097a8e4e9
Thanks @lilnasy! - Fix a handful of edge cases with prerendered 404/500 pages -
#8123
1f6497c33
Thanks @natemoo-re! - Open to configuredbase
whenastro dev --open
runs -
#8105
0e0fa605d
Thanks @martrapp! - ViewTransition: bug fix for lost scroll position in browser history -
#8116
b290f0a99
Thanks @martrapp! - On back navigation only animate view transitions that were animated going forward. -
#7778
d6b494376
Thanks @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.build
to 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
da6e3da1c
Thanks @martrapp! - fix: reinsert attribute to specify direction of ViewTransition (forward / back)