Title: Bump astro from 4.16.7 to 5.4.2 by dependabot[bot] · Pull Request #293 · emeraldjava/emeraldjava.github.io · GitHub
Open Graph Title: Bump astro from 4.16.7 to 5.4.2 by dependabot[bot] · Pull Request #293 · emeraldjava/emeraldjava.github.io
X Title: Bump astro from 4.16.7 to 5.4.2 by dependabot[bot] · Pull Request #293 · emeraldjava/emeraldjava.github.io
Description: Bumps astro from 4.16.7 to 5.4.2.
Release notes
Sourced from astro's releases.
astro@5.4.2
Patch Changes
#12985 84e94cc Thanks @matthewp! - Prevent re-executing scripts in client router
#13349 50e2e0b Thanks @ascorbic! - Correctly escapes attributes in Markdown images
#13262 0025df3 Thanks @ematipico! - Refactor Astro Actions to not use a middleware. Doing so should avoid unexpected issues when using the Astro middleware at the edge.
astro@5.4.1
Patch Changes
#13336 8f632ef Thanks @ematipico! - Fixes a regression where some asset utilities were move across monorepo, and not re-exported anymore.
#13320 b5dabe9 Thanks @{! - Adds support for typing experimental session data
You can add optional types to your session data by creating a src/env.d.ts file in your project that extends the global App.SessionData interface. For example:
declare namespace App {
interface SessionData {
id: string;
email: string;
};
lastLogin: Date;
}
}
Any keys not defined in this interface will be treated as any.
Then when you access Astro.session in your components, any defined keys will be typed correctly:
---
const user = await Astro.session.get('user');
// ^? const: user: { id: string; email: string; } | undefined
const something = await Astro.session.get('something');
// ^? const: something: any
Astro.session.set('user', 1);
// ^? Argument of type 'number' is not assignable to parameter of type '{ id: string; email: string; }'.
See the experimental session docs for more information.
#13330 5e7646e Thanks @ematipico! - Fixes an issue with the conditional rendering of scripts.
... (truncated)
Changelog
Sourced from astro's changelog.
5.4.2
Patch Changes
#12985 84e94cc Thanks @matthewp! - Prevent re-executing scripts in client router
#13349 50e2e0b Thanks @ascorbic! - Correctly escapes attributes in Markdown images
#13262 0025df3 Thanks @ematipico! - Refactor Astro Actions to not use a middleware. Doing so should avoid unexpected issues when using the Astro middleware at the edge.
5.4.1
Patch Changes
#13336 8f632ef Thanks @ematipico! - Fixes a regression where some asset utilities were move across monorepo, and not re-exported anymore.
#13320 b5dabe9 Thanks @{! - Adds support for typing experimental session data
You can add optional types to your session data by creating a src/env.d.ts file in your project that extends the global App.SessionData interface. For example:
declare namespace App {
interface SessionData {
id: string;
email: string;
};
lastLogin: Date;
}
}
Any keys not defined in this interface will be treated as any.
Then when you access Astro.session in your components, any defined keys will be typed correctly:
---
const user = await Astro.session.get('user');
// ^? const: user: { id: string; email: string; } | undefined
const something = await Astro.session.get('something');
// ^? const: something: any
Astro.session.set('user', 1);
// ^? Argument of type 'number' is not assignable to parameter of type '{ id: string; email: string; }'.
See the experimental session docs for more information.
... (truncated)
Commits
c67a351 [ci] release (#13350)
f61d442 [ci] format
0025df3 refactor(core): move actions inside core (#13262)
fe8cacd [ci] format
16d6d41 fix(deps): update all non-major dependencies (#13346)
55ef4f5 [ci] format
84e94cc Prevent rerunning scripts already ran in router (#12985)
21c233c [ci] format
50e2e0b fix: escape img attributes in Markdown (#13349)
8483502 [ci] release (#13337)
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.4.2. Release notes Sourced from astro's releases. astro@5.4.2 Patch Changes #12985 84e94cc Thanks @matthewp! - Prevent re-executing scripts in client router ...
X Description: Bumps astro from 4.16.7 to 5.4.2. Release notes Sourced from astro's releases. astro@5.4.2 Patch Changes #12985 84e94cc Thanks @matthewp! - Prevent re-executing scripts in client route...
Opengraph URL: https://github.com/emeraldjava/emeraldjava.github.io/pull/293
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:a5b623f0-9bda-7800-dba0-dde544a1ea65 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | E3FC:2DBFFD:77F374:A95507:69777F6A |
| html-safe-nonce | 2c834e5f3082eced3e8e1374851a4264fc8288b85b0aa4d62a04856ff0045568 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFM0ZDOjJEQkZGRDo3N0YzNzQ6QTk1NTA3OjY5Nzc3RjZBIiwidmlzaXRvcl9pZCI6IjM4Mzk1NTkxMjA2NjY5ODQyOTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c90b7118718a09159053e44f6ab6fdbb88fb469b15b6e6c92fae801bebdb5fbb |
| hovercard-subject-tag | pull_request:2372792420 |
| 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/293/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.4.2. Release notes Sourced from astro's releases. astro@5.4.2 Patch Changes #12985 84e94cc Thanks @matthewp! - Prevent re-executing scripts in client router ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | fd37f8e74ecc49b700617ea694fa6d7b395b6c9a4b79c59b3014da220462ac69 |
| 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 | 37dddf0637fe1f68f5c5d619bd3e03ec27105339 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width