Bump astro from 4.16.18 to 5.6.2
Bumps astro from 4.16.18 to 5.6.2.
Release notes
Sourced from astro's releases.
[email protected]
Patch Changes
#13606
793ecd9Thanks@natemoo-re! - Fixes a regression that allowed prerendered code to leak into the server bundle.#13576
1c60ec3Thanks@ascorbic! - Reduces duplicate code in server islands scripts by extracting shared logic into a helper function.#13588
57e59beThanks@natemoo-re! - Fixes a memory leak when using SVG assets.#13589
5a0563dThanks@ematipico! - Deprecates the asset utility functionemitESMImage()and adds a newemitImageMetadata()to be used insteadThe function
emitESMImage()is now deprecated. It will continue to function, but it is no longer recommended nor supported. This function will be completely removed in a next major release of Astro.Please replace it with the new function
emitImageMetadata()as soon as you are able to do so:- import { emitESMImage } from "astro/assets/utils"; + import { emitImageMetadata } from "astro/assets/utils";The new function returns the same signature as the previous one. However, the new function removes two deprecated arguments that were not meant to be exposed for public use:
_watchModeandexperimentalSvgEnabled. Since it was possible to access these with the old function, you may need to verify that your code still works as intended withemitImageMetadata().#13596
3752519Thanks@jsparkdev! - update vite to latest version to fix CVE#13547
360cb91Thanks@jsparkdev! - Updates vite to the latest version#13548
e588527Thanks@ryuapp! - Support for Deno to install npm pacakges.Deno requires npm prefix to install packages on npm. For example, to install react, we need to run
deno add npm:react. But currently the command executed isdeno add react, which doesn't work. So, we change the package names to have an npm prefix if you are using Deno.#13587
a0774b3Thanks@robertoms99! - Fixes an issue with the client router where some attributes of the root element were not updated during swap, including the transition scope.[email protected]
Patch Changes
#13519
3323f5cThanks@florian-lefebvre! - Refactors some internals to improve Rolldown compatibility#13545
a7aff41Thanks@stramel! - Prevent empty attributes from appearing in the SVG output#13552
9cd0fd4Thanks@ematipico! - Fixes an issue where Astro validated the i18n configuration incorrectly, causing false positives in downstream libraries.[email protected]
Minor Changes
#13403
dcb9526Thanks@yurynix! - Adds a new optionalprerenderedErrorPageFetchoption in the Adapter API to allow adapters to provide custom implementations for fetching prerendered error pages.Now, adapters can override the default
fetch()behavior, for example whenfetch()is unavailable or when you cannot call the server from itself.The following example provides a custom fetch for
500.htmland404.html, reading them from disk instead of performing an HTTP call:
... (truncated)
Changelog
Sourced from astro's changelog.
5.6.2
Patch Changes
#13606
793ecd9Thanks@natemoo-re! - Fixes a regression that allowed prerendered code to leak into the server bundle.#13576
1c60ec3Thanks@ascorbic! - Reduces duplicate code in server islands scripts by extracting shared logic into a helper function.#13588
57e59beThanks@natemoo-re! - Fixes a memory leak when using SVG assets.#13589
5a0563dThanks@ematipico! - Deprecates the asset utility functionemitESMImage()and adds a newemitImageMetadata()to be used insteadThe function
emitESMImage()is now deprecated. It will continue to function, but it is no longer recommended nor supported. This function will be completely removed in a next major release of Astro.Please replace it with the new function
emitImageMetadata()as soon as you are able to do so:- import { emitESMImage } from "astro/assets/utils"; + import { emitImageMetadata } from "astro/assets/utils";The new function returns the same signature as the previous one. However, the new function removes two deprecated arguments that were not meant to be exposed for public use:
_watchModeandexperimentalSvgEnabled. Since it was possible to access these with the old function, you may need to verify that your code still works as intended withemitImageMetadata().#13596
3752519Thanks@jsparkdev! - update vite to latest version to fix CVE#13547
360cb91Thanks@jsparkdev! - Updates vite to the latest version#13548
e588527Thanks@ryuapp! - Support for Deno to install npm pacakges.Deno requires npm prefix to install packages on npm. For example, to install react, we need to run
deno add npm:react. But currently the command executed isdeno add react, which doesn't work. So, we change the package names to have an npm prefix if you are using Deno.#13587
a0774b3Thanks@robertoms99! - Fixes an issue with the client router where some attributes of the root element were not updated during swap, including the transition scope.5.6.1
Patch Changes
#13519
3323f5cThanks@florian-lefebvre! - Refactors some internals to improve Rolldown compatibility#13545
a7aff41Thanks@stramel! - Prevent empty attributes from appearing in the SVG output#13552
9cd0fd4Thanks@ematipico! - Fixes an issue where Astro validated the i18n configuration incorrectly, causing false positives in downstream libraries.5.6.0
Minor Changes
... (truncated)
Commits
159b534[ci] release (#13558)884c57d[ci] format57e59befix(svg): do not attachsvgbuffer toimageMetadata(#13588)793ecd9fix(prerender): revert dynamic entry chunks included in server bundle (#13606)1c60ec3fix: extract shared logic for server island loading into a function and only ...3752519fix(vite): updateviteto latest version to fix CVE (#13596)a0774b3fix: solving #13577 (#13587)5a0563dchore: deprecateemitESMImagefunction (#13589)360cb91fix: update vite to latest version (#13547)e588527fix: support for Deno to install npm packages (#13548)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Superseded by #236.