Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
[email protected]
Patch Changes
#14459
916f9c2Thanks @florian-lefebvre! - Improves font files URLs in development when using the experimental fonts API by showing the subset if presentb8ca69bThanks @ascorbic! - Aligns dev image server file base with Vite rules#14469
1c090b0Thanks @delucis! - Updatestinyexecdependency#14460
008dc75Thanks @florian-lefebvre! - Fixes a case whereastro:config/servervalues typed as URLs would be serialized as strings#13730
7260367Thanks @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.6ee63bfThanks @matthewp! - Addssecurity.allowedDomainsconfiguration to validateX-Forwarded-Hostheaders in SSRThe
X-Forwarded-Hostheader 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-Hostsupport:The patterns support wildcards (
*and**) for flexible hostname matching and can optionally specify protocol and port.Breaking change
Previously,
Astro.urlwould reflect the value of theX-Forwarded-Hostheader. While this header is commonly used by reverse proxies like Nginx to communicate the original host, it can be sent by any client, potentially allowing malicious actors to poison caches with incorrect URLs.If you were relying on
X-Forwarded-Hostsupport, addsecurity.allowedDomainsto your configuration to restore this functionality securely. WhenallowedDomainsis not configured,X-Forwarded-Hostheaders are now ignored by default.#14488
badc929Thanks @olcanebrem! - Fixes a case where styles on the custom 500 error page would not be included#14487
1e5b72cThanks @florian-lefebvre! - Fixes a case where the URLs generated by the experimental Fonts API would be incorrect in dev#14475
ae034aeThanks @florian-lefebvre! - Warns if the font family name is not supported by the provider when using the experimental fonts APIb8ca69bThanks @ascorbic! - Refactor remote path detection#14468
2f2a5daThanks @delucis! - Updates@capsizecss/unpackdependencyUpdated dependencies [
b8ca69b]:@astrojs/[email protected]
Patch Changes
b8ca69bThanks @ascorbic! - Refactor remote path detectionUpdated dependencies [
b8ca69b]:@astrojs/[email protected]
Patch Changes
b8ca69b]:@astrojs/[email protected]
Patch Changes
@astrojs/[email protected]
Patch Changes
#14473
d9634d3Thanks @florian-lefebvre! - Fixes a bug that caused too many files to be bundled in SSRUpdated dependencies [
b8ca69b]:@astrojs/[email protected]
Patch Changes
b8ca69b]:@astrojs/[email protected]
Patch Changes
#14473
d9634d3Thanks @florian-lefebvre! - Fixes a bug that caused too many files to be bundled in SSRUpdated dependencies [
b8ca69b]:@astrojs/[email protected]
Patch Changes
b8ca69bThanks @ascorbic! - Refactor remote path detection@astrojs/[email protected]
Patch Changes
b8ca69b]: