Title: Bump astro from 4.16.7 to 5.3.1 by dependabot[bot] · Pull Request #282 · emeraldjava/emeraldjava.github.io · GitHub
Open Graph Title: Bump astro from 4.16.7 to 5.3.1 by dependabot[bot] · Pull Request #282 · emeraldjava/emeraldjava.github.io
X Title: Bump astro from 4.16.7 to 5.3.1 by dependabot[bot] · Pull Request #282 · emeraldjava/emeraldjava.github.io
Description: Bumps astro from 4.16.7 to 5.3.1.
Release notes
Sourced from astro's releases.
astro@5.3.1
Patch Changes
#13233 32fafeb Thanks @joshmkennedy! - Ensures consistent behaviour of Astro.rewrite/ctx.rewrite when using base and trailingSlash options.
#13003 ea79054 Thanks @chaegumi! - Fixes a bug that caused the vite.base value to be ignored when running astro dev
#13299 2e1321e Thanks @bluwy! - Uses tinyglobby for globbing files
#13233 32fafeb Thanks @joshmkennedy! - Ensures that Astro.url/ctx.url is correctly updated with the base path after rewrites.
This change fixes an issue where Astro.url/ctx.url did not include the configured base path after Astro.rewrite was called. Now, the base path is correctly reflected in Astro.url.
Previously, any rewrites performed through Astro.rewrite/ctx.rewrite failed to append the base path to Astro.url/ctx.rewrite, which could lead to incorrect URL handling in downstream logic. By fixing this, we ensure that all routes remain consistent and predictable after a rewrite.
If you were relying on the work around of including the base path in astro.rewrite you can now remove it from the path.
astro@5.3.0
Minor Changes
#13210 344e9bc Thanks @VitaliyR! - Handle HEAD requests to an endpoint when a handler is not defined.
If an endpoint defines a handler for GET, but does not define a handler for HEAD, Astro will call the GET handler and return the headers and status but an empty body.
#13195 3b66955 Thanks @MatthewLymer! - Improves SSR performance for synchronous components by avoiding the use of Promises. With this change, SSR rendering of on-demand pages can be up to 4x faster.
#13145 8d4e566 Thanks @ascorbic! - Adds support for adapters auto-configuring experimental session storage drivers.
Adapters can now configure a default session storage driver when the experimental.session flag is enabled. If a hosting platform has a storage primitive that can be used for session storage, the adapter can automatically configure the session storage using that driver. This allows Astro to provide a more seamless experience for users who want to use sessions without needing to manually configure the session storage.
Patch Changes
#13145 8d4e566 Thanks @ascorbic! - ⚠️ BREAKING CHANGE FOR EXPERIMENTAL SESSIONS ONLY ⚠️
Changes the experimental.session option to a boolean flag and moves session config to a top-level value. This change is to allow the new automatic session driver support. You now need to separately enable the experimental.session flag, and then configure the session driver using the top-level session key if providing manual configuration.
defineConfig({
// ...
experimental: {
- session: {
- driver: 'upstash',
- },
+ session: true,
},
+ session: {
+ driver: 'upstash',
+ },
});
... (truncated)
Changelog
Sourced from astro's changelog.
5.3.1
Patch Changes
#13233 32fafeb Thanks @joshmkennedy! - Ensures consistent behaviour of Astro.rewrite/ctx.rewrite when using base and trailingSlash options.
#13003 ea79054 Thanks @chaegumi! - Fixes a bug that caused the vite.base value to be ignored when running astro dev
#13299 2e1321e Thanks @bluwy! - Uses tinyglobby for globbing files
#13233 32fafeb Thanks @joshmkennedy! - Ensures that Astro.url/ctx.url is correctly updated with the base path after rewrites.
This change fixes an issue where Astro.url/ctx.url did not include the configured base path after Astro.rewrite was called. Now, the base path is correctly reflected in Astro.url.
Previously, any rewrites performed through Astro.rewrite/ctx.rewrite failed to append the base path to Astro.url/ctx.rewrite, which could lead to incorrect URL handling in downstream logic. By fixing this, we ensure that all routes remain consistent and predictable after a rewrite.
If you were relying on the work around of including the base path in astro.rewrite you can now remove it from the path.
5.3.0
Minor Changes
#13210 344e9bc Thanks @VitaliyR! - Handle HEAD requests to an endpoint when a handler is not defined.
If an endpoint defines a handler for GET, but does not define a handler for HEAD, Astro will call the GET handler and return the headers and status but an empty body.
#13195 3b66955 Thanks @MatthewLymer! - Improves SSR performance for synchronous components by avoiding the use of Promises. With this change, SSR rendering of on-demand pages can be up to 4x faster.
#13145 8d4e566 Thanks @ascorbic! - Adds support for adapters auto-configuring experimental session storage drivers.
Adapters can now configure a default session storage driver when the experimental.session flag is enabled. If a hosting platform has a storage primitive that can be used for session storage, the adapter can automatically configure the session storage using that driver. This allows Astro to provide a more seamless experience for users who want to use sessions without needing to manually configure the session storage.
Patch Changes
#13145 8d4e566 Thanks @ascorbic! - ⚠️ BREAKING CHANGE FOR EXPERIMENTAL SESSIONS ONLY ⚠️
Changes the experimental.session option to a boolean flag and moves session config to a top-level value. This change is to allow the new automatic session driver support. You now need to separately enable the experimental.session flag, and then configure the session driver using the top-level session key if providing manual configuration.
defineConfig({
// ...
experimental: {
- session: {
- driver: 'upstash',
- },
+ session: true,
},
+ session: {
+ driver: 'upstash',
+ },
... (truncated)
Commits
4cb3377 [ci] release (#13244)
2e1321e Replace globby/fast-glob/tiny-glob with tinyglobby (#13299)
baf0c40 [ci] format
ea79054 feat: fix the use of vite.base in Astro Dev Server (#13003)
7cb7189 [ci] format
32fafeb FIX: Ensures that rewrite url contains base path (#13233)
c5755e1 chore: use workspace Node.js adapter (#13267)
d8e3c65 [ci] format
adb58f9 [ci] release (#13230)
5c6d58a test: update test assertion after test rename (#13242)
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.3.1. Release notes Sourced from astro's releases. astro@5.3.1 Patch Changes #13233 32fafeb Thanks @joshmkennedy! - Ensures consistent behaviour of Astro.rewrit...
X Description: Bumps astro from 4.16.7 to 5.3.1. Release notes Sourced from astro's releases. astro@5.3.1 Patch Changes #13233 32fafeb Thanks @joshmkennedy! - Ensures consistent behaviour of Astro.re...
Opengraph URL: https://github.com/emeraldjava/emeraldjava.github.io/pull/282
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:014af0af-153f-a14f-6510-2779b320d841 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 88B4:6EF6F:1B962A4:2742DC6:697A526B |
| html-safe-nonce | e0987bda9ada3b709a492b7c890f87febf072164760e5c7a7b072c4020d52d7f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OEI0OjZFRjZGOjFCOTYyQTQ6Mjc0MkRDNjo2OTdBNTI2QiIsInZpc2l0b3JfaWQiOiI0NzYwODE3NjQ4NDcwMjE3MzIzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d25b1eb7c209eea9812e5c0c0851602fe44fa34b31e99a1b647c6955d2e55c61 |
| hovercard-subject-tag | pull_request:2355804294 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/282/files |
| 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.3.1. Release notes Sourced from astro's releases. astro@5.3.1 Patch Changes #13233 32fafeb Thanks @joshmkennedy! - Ensures consistent behaviour of Astro.rewrit... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6675d94efd2a33cdba9e6e611f931ac7eaa988d8fef14b7a663cc012c4501b42 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ca995a95b56cf8bd27cc89fcea65d2ad787f53c1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width