Title: Bump astro from 4.16.7 to 5.6.2 by dependabot[bot] · Pull Request #341 · emeraldjava/emeraldjava.github.io · GitHub
Open Graph Title: Bump astro from 4.16.7 to 5.6.2 by dependabot[bot] · Pull Request #341 · emeraldjava/emeraldjava.github.io
X Title: Bump astro from 4.16.7 to 5.6.2 by dependabot[bot] · Pull Request #341 · emeraldjava/emeraldjava.github.io
Description: Bumps astro from 4.16.7 to 5.6.2.
Release notes
Sourced from astro's releases.
astro@5.6.2
Patch Changes
#13606 793ecd9 Thanks @natemoo-re! - Fixes a regression that allowed prerendered code to leak into the server bundle.
#13576 1c60ec3 Thanks @ascorbic! - Reduces duplicate code in server islands scripts by extracting shared logic into a helper function.
#13588 57e59be Thanks @natemoo-re! - Fixes a memory leak when using SVG assets.
#13589 5a0563d Thanks @ematipico! - Deprecates the asset utility function emitESMImage() and adds a new emitImageMetadata() to be used instead
The 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 functionemitImageMetadata() 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: _watchMode and experimentalSvgEnabled. Since it was possible to access these with the old function, you may need to verify that your code still works as intended with emitImageMetadata().
#13596 3752519 Thanks @jsparkdev! - update vite to latest version to fix CVE
#13547 360cb91 Thanks @jsparkdev! - Updates vite to the latest version
#13548 e588527 Thanks @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 is deno add react, which doesn't work. So, we change the package names to have an npm prefix if you are using Deno.
#13587 a0774b3 Thanks @robertoms99! - Fixes an issue with the client router where some attributes of the root element were not updated during swap, including the transition scope.
astro@5.6.1
Patch Changes
#13519 3323f5c Thanks @florian-lefebvre! - Refactors some internals to improve Rolldown compatibility
#13545 a7aff41 Thanks @stramel! - Prevent empty attributes from appearing in the SVG output
#13552 9cd0fd4 Thanks @ematipico! - Fixes an issue where Astro validated the i18n configuration incorrectly, causing false positives in downstream libraries.
astro@5.6.0
Minor Changes
#13403 dcb9526 Thanks @yurynix! - Adds a new optional prerenderedErrorPageFetch option 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 when fetch() is unavailable or when you cannot call the server from itself.
The following example provides a custom fetch for 500.html and 404.html, reading them from disk instead of performing an HTTP call:
... (truncated)
Changelog
Sourced from astro's changelog.
5.6.2
Patch Changes
#13606 793ecd9 Thanks @natemoo-re! - Fixes a regression that allowed prerendered code to leak into the server bundle.
#13576 1c60ec3 Thanks @ascorbic! - Reduces duplicate code in server islands scripts by extracting shared logic into a helper function.
#13588 57e59be Thanks @natemoo-re! - Fixes a memory leak when using SVG assets.
#13589 5a0563d Thanks @ematipico! - Deprecates the asset utility function emitESMImage() and adds a new emitImageMetadata() to be used instead
The 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 functionemitImageMetadata() 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: _watchMode and experimentalSvgEnabled. Since it was possible to access these with the old function, you may need to verify that your code still works as intended with emitImageMetadata().
#13596 3752519 Thanks @jsparkdev! - update vite to latest version to fix CVE
#13547 360cb91 Thanks @jsparkdev! - Updates vite to the latest version
#13548 e588527 Thanks @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 is deno add react, which doesn't work. So, we change the package names to have an npm prefix if you are using Deno.
#13587 a0774b3 Thanks @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 3323f5c Thanks @florian-lefebvre! - Refactors some internals to improve Rolldown compatibility
#13545 a7aff41 Thanks @stramel! - Prevent empty attributes from appearing in the SVG output
#13552 9cd0fd4 Thanks @ematipico! - Fixes an issue where Astro validated the i18n configuration incorrectly, causing false positives in downstream libraries.
5.6.0
Minor Changes
#13403 dcb9526 Thanks @yurynix! - Adds a new optional prerenderedErrorPageFetch option in the Adapter API to allow adapters to provide custom implementations for fetching prerendered error pages.
... (truncated)
Commits
159b534 [ci] release (#13558)
884c57d [ci] format
57e59be fix(svg): do not attach svg buffer to imageMetadata (#13588)
793ecd9 fix(prerender): revert dynamic entry chunks included in server bundle (#13606)
1c60ec3 fix: extract shared logic for server island loading into a function and only ...
3752519 fix(vite): update vite to latest version to fix CVE (#13596)
a0774b3 fix: solving #13577 (#13587)
5a0563d chore: deprecate emitESMImage function (#13589)
360cb91 fix: update vite to latest version (#13547)
e588527 fix: 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 rebase will rebase this PR
@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
@dependabot merge will merge this PR after your CI passes on it
@dependabot squash and merge will squash and merge this PR after your CI passes on it
@dependabot cancel merge will cancel a previously requested merge and block automerging
@dependabot reopen will reopen this PR if it is closed
@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
@dependabot show
Open Graph Description: Bumps astro from 4.16.7 to 5.6.2. Release notes Sourced from astro's releases. astro@5.6.2 Patch Changes #13606 793ecd9 Thanks @natemoo-re! - Fixes a regression that allowed prerendered co...
X Description: Bumps astro from 4.16.7 to 5.6.2. Release notes Sourced from astro's releases. astro@5.6.2 Patch Changes #13606 793ecd9 Thanks @natemoo-re! - Fixes a regression that allowed prerendere...
Opengraph URL: https://github.com/emeraldjava/emeraldjava.github.io/pull/341
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:5b40975e-a53a-1cbe-fba2-bdc0e417c62f |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | C068:3E7969:14D998F:1C3E6EA:6973E740 |
| html-safe-nonce | 14e9701faf8b8e08bc987a4f2247140955624be34e9eca2081a3af78f6089759 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDY4OjNFNzk2OToxNEQ5OThGOjFDM0U2RUE6Njk3M0U3NDAiLCJ2aXNpdG9yX2lkIjoiODg2NDI4OTY3ODYzOTIyODczNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e65f3768b9a4b5f4965e1608fa56ec7724cf55d1c164fbad25c448961ef85d83 |
| hovercard-subject-tag | pull_request:2459819883 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/emeraldjava/emeraldjava.github.io/pull/341/checks |
| twitter:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| og:image:alt | Bumps astro from 4.16.7 to 5.6.2. Release notes Sourced from astro's releases. astro@5.6.2 Patch Changes #13606 793ecd9 Thanks @natemoo-re! - Fixes a regression that allowed prerendered co... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4b7a84cee4a6a4d5586408f46e9a84ba4875452ca979bb7cde3489bd59b55cb7 |
| turbo-cache-control | no-preview |
| go-import | github.com/emeraldjava/emeraldjava.github.io git https://github.com/emeraldjava/emeraldjava.github.io.git |
| octolytics-dimension-user_id | 229760 |
| octolytics-dimension-user_login | emeraldjava |
| octolytics-dimension-repository_id | 17636941 |
| octolytics-dimension-repository_nwo | emeraldjava/emeraldjava.github.io |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 17636941 |
| octolytics-dimension-repository_network_root_nwo | emeraldjava/emeraldjava.github.io |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4042c2390128e359bfef98d0ec9e5622256ea303 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width