astro 4.2.4
Patch Changes
-
#9792
e22cb8b10c0ca9f6d88cab53cd2713f57875ab4bThanks @tugrulates! - Accept aria roleswitchon toolbar audit. -
#9606
e6945bcf23b6ad29388bbadaf5bb3cc31dd4a114Thanks @eryue0220! - Fixes escaping behavior for.htmlfiles and components -
#9786
5b29550996a7f5459a0d611feea6e51d44e1d8edThanks @Fryuni! - Fixes a regression in routing priority for index pages in rest parameter folders and dynamic sibling trees.Considering the following tree:
src/pages/ ├── index.astro ├── static.astro ├── [dynamic_file].astro ├── [...rest_file].astro ├── blog/ │ └── index.astro ├── [dynamic_folder]/ │ ├── index.astro │ ├── static.astro │ └── [...rest].astro └── [...rest_folder]/ ├── index.astro └── static.astroThe routes are sorted in this order:
/src/pages/index.astro /src/pages/blog/index.astro /src/pages/static.astro /src/pages/[dynamic_folder]/index.astro /src/pages/[dynamic_file].astro /src/pages/[dynamic_folder]/static.astro /src/pages/[dynamic_folder]/[...rest].astro /src/pages/[...rest_folder]/static.astro /src/pages/[...rest_folder]/index.astro /src/pages/[...rest_file]/index.astroThis allows for index files to be used as overrides to rest parameter routes on SSR when the rest parameter matching
undefinedis not desired. -
#9775
075706f26d2e11e66ef8b52288d07e3c0fa97eb1Thanks @lilnasy! - Simplifies internals that handle endpoints. -
#9773
9aa7a5368c502ae488d3a173e732d81f3d000e98Thanks @LunaticMuch! - Raises the required vite version to address a vulnerability invite.server.fs.denythat affected the dev mode. -
#9781
ccc05d54014e24c492ca5fddd4862f318aac8172Thanks @stevenbenner! - Fix build failure when image file name includes special characters