Title: Bump astro from 4.16.7 to 5.1.2 by dependabot[bot] · Pull Request #231 · emeraldjava/emeraldjava.github.io · GitHub
Open Graph Title: Bump astro from 4.16.7 to 5.1.2 by dependabot[bot] · Pull Request #231 · emeraldjava/emeraldjava.github.io
X Title: Bump astro from 4.16.7 to 5.1.2 by dependabot[bot] · Pull Request #231 · emeraldjava/emeraldjava.github.io
Description: Bumps astro from 4.16.7 to 5.1.2.
Release notes
Sourced from astro's releases.
astro@5.1.2
Patch Changes
#12798 7b0cb85 Thanks @ascorbic! - Improves warning logs for invalid content collection configuration
#12781 96c4b92 Thanks @ascorbic! - Fixes a regression that caused default() to not work with reference()
#12820 892dd9f Thanks @ascorbic! - Fixes a bug that caused cookies to not be deleted when destroying a session
#12864 440d8a5 Thanks @kaytwo! - Fixes a bug where the session ID wasn't correctly regenerated
#12768 524c855 Thanks @ematipico! - Fixes an issue where Astro didn't print error logs when Astro Islands were used in incorrect cases.
#12814 f12f111 Thanks @ematipico! - Fixes an issue where Astro didn't log anything in case a file isn't created during the build.
#12875 e109002 Thanks @ascorbic! - Fixes a bug in emulated legacy collections where the entry passed to the getCollection filter function did not include the legacy entry fields.
#12768 524c855 Thanks @ematipico! - Fixes an issue where Astro was printing the incorrect output format when running the astro build command
#12810 70a9f0b Thanks @louisescher! - Fixes server islands failing to check content-type header under certain circumstances
Sometimes a reverse proxy or similar service might modify the content-type header to include the charset or other parameters in the media type of the response. This previously wasn't handled by the client-side server island script and thus removed the script without actually placing the requested content in the DOM. This fix makes it so the script checks if the header starts with the proper content type instead of exactly matching text/html, so the following will still be considered a valid header: text/html; charset=utf-8
#12816 7fb2184 Thanks @ematipico! - Fixes an issue where an injected route entrypoint wasn't correctly marked because the resolved file path contained a query parameter.
This fixes some edge case where some injected entrypoint were not resolved when using an adapter.
astro@5.1.1
Patch Changes
#12782 f3d8385 Thanks @fhiromasa! - update comment in packages/astro/src/types/public/common.ts
#12789 f632b94 Thanks @ascorbic! - Pass raw frontmatter to remark plugins in glob loader
#12799 739dbfb Thanks @ascorbic! - Upgrades Vite to pin esbuild
astro@5.1.0
Minor Changes
#12441 b4fec3c Thanks @ascorbic! - Adds experimental session support
Sessions are used to store user state between requests for server-rendered pages, such as login status, shopping cart contents, or other user-specific data.
---
export const prerender = false; // Not needed in 'server' mode
const cart = await Astro.session.get('cart');
---
🛒 {cart?.length ?? 0} items
... (truncated)
Changelog
Sourced from astro's changelog.
5.1.2
Patch Changes
#12798 7b0cb85 Thanks @ascorbic! - Improves warning logs for invalid content collection configuration
#12781 96c4b92 Thanks @ascorbic! - Fixes a regression that caused default() to not work with reference()
#12820 892dd9f Thanks @ascorbic! - Fixes a bug that caused cookies to not be deleted when destroying a session
#12864 440d8a5 Thanks @kaytwo! - Fixes a bug where the session ID wasn't correctly regenerated
#12768 524c855 Thanks @ematipico! - Fixes an issue where Astro didn't print error logs when Astro Islands were used in incorrect cases.
#12814 f12f111 Thanks @ematipico! - Fixes an issue where Astro didn't log anything in case a file isn't created during the build.
#12875 e109002 Thanks @ascorbic! - Fixes a bug in emulated legacy collections where the entry passed to the getCollection filter function did not include the legacy entry fields.
#12768 524c855 Thanks @ematipico! - Fixes an issue where Astro was printing the incorrect output format when running the astro build command
#12810 70a9f0b Thanks @louisescher! - Fixes server islands failing to check content-type header under certain circumstances
Sometimes a reverse proxy or similar service might modify the content-type header to include the charset or other parameters in the media type of the response. This previously wasn't handled by the client-side server island script and thus removed the script without actually placing the requested content in the DOM. This fix makes it so the script checks if the header starts with the proper content type instead of exactly matching text/html, so the following will still be considered a valid header: text/html; charset=utf-8
#12816 7fb2184 Thanks @ematipico! - Fixes an issue where an injected route entrypoint wasn't correctly marked because the resolved file path contained a query parameter.
This fixes some edge case where some injected entrypoint were not resolved when using an adapter.
5.1.1
Patch Changes
#12782 f3d8385 Thanks @fhiromasa! - update comment in packages/astro/src/types/public/common.ts
#12789 f632b94 Thanks @ascorbic! - Pass raw frontmatter to remark plugins in glob loader
#12799 739dbfb Thanks @ascorbic! - Upgrades Vite to pin esbuild
5.1.0
Minor Changes
#12441 b4fec3c Thanks @ascorbic! - Adds experimental session support
Sessions are used to store user state between requests for server-rendered pages, such as login status, shopping cart contents, or other user-specific data.
---
export const prerender = false; // Not needed in 'server' mode
const cart = await Astro.session.get('cart');
... (truncated)
Commits
161df28 [ci] release (#12801)
7fb2184 fix: injected route entrypoint (#12816)
f12f111 fix: missing log (#12814)
e109002 fix: pass emulated entry to getCollection filter function (#12875)
ac00c64 [ci] format
524c855 fix(core): add error log for server islands (#12768)
892dd9f fix: pass cookie options to delete (#12820)
440d8a5 fix: session regeneration (#12864)
96c4b92 fix: make reference() a sync transform (#12781)
5ab724c [ci] format
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.1.2. Release notes Sourced from astro's releases. astro@5.1.2 Patch Changes #12798 7b0cb85 Thanks @ascorbic! - Improves warning logs for invalid content collec...
X Description: Bumps astro from 4.16.7 to 5.1.2. Release notes Sourced from astro's releases. astro@5.1.2 Patch Changes #12798 7b0cb85 Thanks @ascorbic! - Improves warning logs for invalid content co...
Opengraph URL: https://github.com/emeraldjava/emeraldjava.github.io/pull/231
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:ededaa19-8bb9-4b7f-f01a-1f855f32ea01 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BEA6:1E179D:45D02F:62E1C3:69831489 |
| html-safe-nonce | b50908c0bd3114140c1e55f9769cbd058040552aff0773730c2267484b347917 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRUE2OjFFMTc5RDo0NUQwMkY6NjJFMUMzOjY5ODMxNDg5IiwidmlzaXRvcl9pZCI6IjExNTQyMzk4MjUxMTM3MTU4NDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3260c5d28a1db92861772cd19bf0dcb59aad402e07ad4b79cfda9ff14b0baa75 |
| hovercard-subject-tag | pull_request:2258815717 |
| 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/231/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.1.2. Release notes Sourced from astro's releases. astro@5.1.2 Patch Changes #12798 7b0cb85 Thanks @ascorbic! - Improves warning logs for invalid content collec... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | c6741528aa4d4ba81c57bbff8f8cc0de0e9115cb2993431dc9dac8d489f7b4ee |
| 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 | c275e7fc2c24425f5ec1050127d9e70ac5c9342d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width