Update dependency astro to v4.6.1 #93
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/astro-4.x-lockfile"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
4.5.17
->4.6.1
Release Notes
withastro/astro (astro)
v4.6.1
Compare Source
Patch Changes
#10708
742866c5669a2be4f8b5a4c861cadb933c381415
Thanks @horo-fox! - Limits parallel imports withingetCollection()
to prevent EMFILE errors when accessing files#10755
c6d59b6fb7db20af957a8706c8159c50619235ef
Thanks @ematipico! - Fixes a case where the i18n fallback failed to correctly redirect to the index page with SSR enabledv4.6.0
Compare Source
Minor Changes
#10591
39988ef8e2c4c4888543c973e06d9b9939e4ac95
Thanks @mingjunlu! - Adds a new dev toolbar settings option to change the horizontal placement of the dev toolbar on your screen: bottom left, bottom center, or bottom right.#10689
683d51a5eecafbbfbfed3910a3f1fbf0b3531b99
Thanks @ematipico! - Deprecate support for versions of Node.js older thanv18.17.1
for Node.js 18, older thanv20.0.3
for Node.js 20, and the complete Node.js v19 release line.This change is in line with Astro's Node.js support policy.
#10678
2e53b5fff6d292b7acdf8c30a6ecf5e5696846a1
Thanks @ematipico! - Adds a new experimental security option to prevent Cross-Site Request Forgery (CSRF) attacks. This feature is available only for pages rendered on demand:Enabling this setting performs a check that the "origin" header, automatically passed by all modern browsers, matches the URL sent by each
Request
.This experimental "origin" check is executed only for pages rendered on demand, and only for the requests
POST,
PATCH,
DELETEand
PUTwith one of the following
content-type` headers: 'application/x-www-form-urlencoded', 'multipart/form-data', 'text/plain'.It the "origin" header doesn't match the pathname of the request, Astro will return a 403 status code and won't render the page.
#10193
440681e7b74511a17b152af0fd6e0e4dc4014025
Thanks @ematipico! - Adds a new i18n routing optionmanual
to allow you to write your own i18n middleware:Adding
routing: "manual"
to your i18n config disables Astro's own i18n middleware and provides you with helper functions to write your own:redirectToDefaultLocale
,notFound
, andredirectToFallback
:Also adds a
middleware
function that manually creates Astro's i18n middleware. This allows you to extend Astro's i18n routing instead of completely replacing it. Runmiddleware
in combination with your own middleware, using thesequence
utility to determine the order:#10671
9e14a78cb05667af9821948c630786f74680090d
Thanks @fshafiee! - Adds thehttpOnly
,sameSite
, andsecure
options when deleting a cookiePatch Changes
#10747
994337c99f84304df1147a14504659439a9a7326
Thanks @lilnasy! - Fixes an issue where functions could not be used as named slots.#10750
7e825604ddf90c989537e07939a39dc249343897
Thanks @OliverSpeir! - Fixes a false positive for "Invalidtabindex
on non-interactive element" rule for roleless elements (div
andspan
).#10745
d51951ce6278d4b59deed938d65e1cb72b5102df
Thanks @lilnasy! - Fixes an issue where CLI commands could not report the reason for failure before exiting.#10661
e2cd7f4291912dadd4a654bc7917856c58a72a97
Thanks @liruifengv! - Fixed errorOverlay theme toggle bug.Updated dependencies [
ccafa8d230f65c9302421a0ce0a0adc5824bfd55
,683d51a5eecafbbfbfed3910a3f1fbf0b3531b99
]:v4.5.18
Compare Source
Patch Changes
#10728
f508c4b7d54316e737f454a3777204b23636d4a0
Thanks @ematipico! - Fixes a regression where some very specific code rendered usingexpressive-code
was not escaped properly.#10737
8a30f257b1f3618b01212a591b82ad7a63c82fbb
Thanks @lilnasy! - Fixes a regression where constructing and returning 404 responses from a middleware resulted in the dev server getting stuck in a loop.#10719
b21b3ba307235510707ee9f5bd49f71473a07004
Thanks @ematipico! - Fixes a false positive fordiv
andspan
elements when running the Dev Toolbar accessibility audits.Those are special elements that don't have an interaction assigned by default. Instead, it is assigned through the
role
attribute. This means that cases like the following are now deemed correct:Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
72c7c756dd
to83751e4b37
Update dependency astro to v4.5.18to Update dependency astro to v4.6.083751e4b37
to6d38762cd2
Update dependency astro to v4.6.0to Update dependency astro to v4.6.1