Title: Bump astro from 4.16.7 to 5.3.0 by dependabot[bot] · Pull Request #273 · emeraldjava/emeraldjava.github.io · GitHub
Open Graph Title: Bump astro from 4.16.7 to 5.3.0 by dependabot[bot] · Pull Request #273 · emeraldjava/emeraldjava.github.io
X Title: Bump astro from 4.16.7 to 5.3.0 by dependabot[bot] · Pull Request #273 · emeraldjava/emeraldjava.github.io
Description: Bumps astro from 4.16.7 to 5.3.0.
Release notes
Sourced from astro's releases.
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',
+ },
});
You no longer need to configure a session driver if you are using an adapter that supports automatic session driver configuration and wish to use its default settings.
defineConfig({
adapter: node({
mode: "standalone",
}),
experimental: {
- session: {
- driver: 'fs',
- cookie: 'astro-cookie',
- },
+ session: true,
},
+ session: {
+ cookie: 'astro-cookie',
... (truncated)
Changelog
Sourced from astro's changelog.
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',
+ },
});
You no longer need to configure a session driver if you are using an adapter that supports automatic session driver configuration and wish to use its default settings.
defineConfig({
adapter: node({
mode: "standalone",
}),
experimental: {
- session: {
- driver: 'fs',
- cookie: 'astro-cookie',
- },
+ session: true,
},
+ session: {
... (truncated)
Commits
adb58f9 [ci] release (#13230)
5c6d58a test: update test assertion after test rename (#13242)
54d36c9 docs: remove kind heading (#13243)
723c843 chore: move session to top-level config option (#13241)
d79ee8c [ci] format
ee6d2cc chore: reword error message (#13240)
94b91a4 [ci] format
2ed67d5 fix: respond with 200 to HEAD requests for non-prerendered pages as well (#13...
f392bef [ci] format
344e9bc fix: default head requests for endpoints when no explicit head method… (#13210)
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.0. Release notes Sourced from astro's releases. astro@5.3.0 Minor Changes #13210 344e9bc Thanks @VitaliyR! - Handle HEAD requests to an endpoint when a handl...
X Description: Bumps astro from 4.16.7 to 5.3.0. Release notes Sourced from astro's releases. astro@5.3.0 Minor Changes #13210 344e9bc Thanks @VitaliyR! - Handle HEAD requests to an endpoint when a h...
Opengraph URL: https://github.com/emeraldjava/emeraldjava.github.io/pull/273
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:9c7cd7a0-e2ff-2a30-479a-18bbb1d73f0c |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 8C7E:3BD272:17AF01:21930A:697B6831 |
| html-safe-nonce | 6c9e02b74daf736e411a49784b2a6b44b2d6ac4b79e8fe67bf1bcaa04152a1aa |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzdFOjNCRDI3MjoxN0FGMDE6MjE5MzBBOjY5N0I2ODMxIiwidmlzaXRvcl9pZCI6IjQwOTkwMDQ3OTIyNTIyNzMxMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 32c609c7f63ee8da65a675f22e559176c3181c344daa719b400389d2431429a4 |
| hovercard-subject-tag | pull_request:2335408617 |
| 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/273/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.3.0. Release notes Sourced from astro's releases. astro@5.3.0 Minor Changes #13210 344e9bc Thanks @VitaliyR! - Handle HEAD requests to an endpoint when a handl... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b3124d344a5a1055df639ae19c1a21017efdd6e719343f8aece5e6a6073188fa |
| 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 | 88e0ab0325711bb4d5f4f8a00a14757a6fe2c8a7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width