Title: build(deps): bump astro from 4.16.19 to 5.14.4 in /web in the npm_and_yarn group across 1 directory by dependabot[bot] · Pull Request #201 · GalvinPython/feedr · GitHub
Open Graph Title: build(deps): bump astro from 4.16.19 to 5.14.4 in /web in the npm_and_yarn group across 1 directory by dependabot[bot] · Pull Request #201 · GalvinPython/feedr
X Title: build(deps): bump astro from 4.16.19 to 5.14.4 in /web in the npm_and_yarn group across 1 directory by dependabot[bot] · Pull Request #201 · GalvinPython/feedr
Description: Bumps the npm_and_yarn group with 1 update in the /web directory: astro.
Updates astro from 4.16.19 to 5.14.4
Release notes
Sourced from astro's releases.
astro@5.14.4
Patch Changes
#14509 7e04caf Thanks @ArmandPhilippot! - Fixes an error in the docs that specified an incorrect version for the security.allowedDomains release.
astro@5.14.3
Patch Changes
#14505 28b2a1d Thanks @matthewp! - Fixes Cannot set property manifest error in test utilities by adding a protected setter for the manifest property
#14235 c4d84bb Thanks @toxeeec! - Fixes a bug where the "tap" prefetch strategy worked only on the first clicked link with view transitions enabled
astro@5.14.1
Patch Changes
#14440 a3e16ab Thanks @florian-lefebvre! - Fixes a case where the URLs generated by the experimental Fonts API would be incorrect in dev
astro@5.14.0
Minor Changes
#13520 a31edb8 Thanks @openscript! - Adds a new property routePattern available to GetStaticPathsOptions
This provides the original, dynamic segment definition in a routing file path (e.g. /[...locale]/[files]/[slug]) from the Astro render context that would not otherwise be available within the scope of getStaticPaths(). This can be useful to calculate the params and props for each page route.
For example, you can now localize your route segments and return an array of static paths by passing routePattern to a custom getLocalizedData() helper function. The params object will be set with explicit values for each route segment (e.g. locale, files, and slug). Then, these values will be used to generate the routes and can be used in your page template via Astro.params.
// src/pages/[...locale]/[files]/[slug].astro
import { getLocalizedData } from "../../../utils/i18n"; export async function getStaticPaths({ routePattern
}) { const response = await fetch('...'); const data = await response.json(); console.log(routePattern);
// [...locale]/[files]/[slug] // Call your custom helper with routePattern to generate the static
paths return data.flatMap((file) => getLocalizedData(file, routePattern)); } const { locale, files,
slug } = Astro.params;
For more information about this advanced routing pattern, see Astro's routing reference.
#13651 dcfbd8c Thanks @ADTC! - Adds a new SvgComponent type
You can now more easily enforce type safety for your .svg assets by directly importing SVGComponent from astro/types:
---
// src/components/Logo.astro
import type { SvgComponent } from 'astro/types';
import HomeIcon from './Home.svg';
interface Link {
url: string;
text: string;
... (truncated)
Changelog
Sourced from astro's changelog.
5.14.4
Patch Changes
#14509 7e04caf Thanks @ArmandPhilippot! - Fixes an error in the docs that specified an incorrect version for the security.allowedDomains release.
5.14.3
Patch Changes
#14505 28b2a1d Thanks @matthewp! - Fixes Cannot set property manifest error in test utilities by adding a protected setter for the manifest property
#14235 c4d84bb Thanks @toxeeec! - Fixes a bug where the "tap" prefetch strategy worked only on the first clicked link with view transitions enabled
5.14.2
Patch Changes
#14459 916f9c2 Thanks @florian-lefebvre! - Improves font files URLs in development when using the experimental fonts API by showing the subset if present
b8ca69b Thanks @ascorbic! - Aligns dev image server file base with Vite rules
#14469 1c090b0 Thanks @delucis! - Updates tinyexec dependency
#14460 008dc75 Thanks @florian-lefebvre! - Fixes a case where astro:config/server values typed as URLs would be serialized as strings
#13730 7260367 Thanks @razonyang! - Fixes a bug in i18n, where Astro caused an infinite loop when a locale that doesn't have an index, and Astro falls back to the index of the default locale.
6ee63bf Thanks @matthewp! - Adds security.allowedDomains configuration to validate X-Forwarded-Host headers in SSR
The X-Forwarded-Host header will now only be trusted if it matches one of the configured allowed host patterns. This prevents host header injection attacks that can lead to cache poisoning and other security vulnerabilities.
Configure allowed host patterns to enable X-Forwarded-Host support:
// astro.config.mjs
export default defineConfig({
output: 'server',
adapter: node(),
security: {
allowedDomains: [
{ hostname: 'example.com' },
{ hostname: '*.example.com' },
{ hostname: 'cdn.example.com', port: '443' },
],
},
});
The patterns support wildcards (* and **) for flexible hostname matching and can optionally specify protocol and port.
... (truncated)
Commits
3412859 [ci] release (#14510)
7e04caf docs: fix security.allowedDomains version (#14509)
fe1d35c [ci] release (#14507)
7926882 [ci] format
c4d84bb fix(prefetch): Fix "tap" prefetch strategy when view transitions are enabled ...
3bb14b7 [ci] release (#14466)
7a5aaff [ci] format
28b2a1d Fix failing x-forwarded-host tests (#14505)
ec307b0 [ci] format
6ee63bf Merge commit from fork
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 the npm_and_yarn group with 1 update in the /web directory: astro. Updates astro from 4.16.19 to 5.14.4 Release notes Sourced from astro's releases. astro@5.14.4 Patch Changes #14509 7...
X Description: Bumps the npm_and_yarn group with 1 update in the /web directory: astro. Updates astro from 4.16.19 to 5.14.4 Release notes Sourced from astro's releases. astro@5.14.4 Patch Changes #145...
Opengraph URL: https://github.com/GalvinPython/feedr/pull/201
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:9f126c9d-18b6-9cc3-f004-c6fba9766fe0 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | BA04:19FC11:9D36E8:CAA8FA:698D6701 |
| html-safe-nonce | b782d9dbe6a70323047ca23869474ac00e13f0b8fecf14ec88b18889aa1e98f2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTA0OjE5RkMxMTo5RDM2RTg6Q0FBOEZBOjY5OEQ2NzAxIiwidmlzaXRvcl9pZCI6IjExMjAyODU2NDMzMjgyODQ0MTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f3e0ac6210e4dd9b3c81de3f57ccc9602095931ff1cd55e89995f21427288d6f |
| hovercard-subject-tag | pull_request:2905701828 |
| 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/GalvinPython/feedr/pull/201/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 the npm_and_yarn group with 1 update in the /web directory: astro. Updates astro from 4.16.19 to 5.14.4 Release notes Sourced from astro's releases. astro@5.14.4 Patch Changes #14509 7... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | c0818105fa276287e9369cfdefa0a0fa7953719791ceff9b94d69623c0a4fe8a |
| turbo-cache-control | no-preview |
| go-import | github.com/GalvinPython/feedr git https://github.com/GalvinPython/feedr.git |
| octolytics-dimension-user_id | 77013913 |
| octolytics-dimension-user_login | GalvinPython |
| octolytics-dimension-repository_id | 818428076 |
| octolytics-dimension-repository_nwo | GalvinPython/feedr |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 818428076 |
| octolytics-dimension-repository_network_root_nwo | GalvinPython/feedr |
| 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 | 715890fa442134f528fb422ab338c0ad55c7a025 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width