Releases: withastro/astro
astro@5.13.5
Patch Changes
-
#14286
09c5db3
Thanks @ematipico! - BREAKING CHANGES only to the experimental CSP featureThe following runtime APIs of the
Astro
global have been renamed:Astro.insertDirective
toAstro.csp.insertDirective
Astro.insertStyleResource
toAstro.csp.insertStyleResource
Astro.insertStyleHash
toAstro.csp.insertStyleHash
Astro.insertScriptResource
toAstro.csp.insertScriptResource
Astro.insertScriptHash
toAstro.csp.insertScriptHash
The following runtime APIs of the
APIContext
have been renamed:ctx.insertDirective
toctx.csp.insertDirective
ctx.insertStyleResource
toctx.csp.insertStyleResource
ctx.insertStyleHash
toctx.csp.insertStyleHash
ctx.insertScriptResource
toctx.csp.insertScriptResource
ctx.insertScriptHash
toctx.csp.insertScriptHash
-
#14283
3224637
Thanks @ematipico! - Fixes an issue where CSP headers were incorrectly injected in the development server. -
#14275
3e2f20d
Thanks @florian-lefebvre! - Adds support for experimental CSP when using experimental fontsExperimental fonts now integrate well with experimental CSP by injecting hashes for the styles it generates, as well as
font-src
directives.No action is required to benefit from it.
-
#14280
4b9fb73
Thanks @ascorbic! - Fixes a bug that caused cookies to not be correctly set when using middleware sequences -
#14276
77281c4
Thanks @ArmandPhilippot! - Adds a missing export forresolveSrc
, a documented image services utility.
@astrojs/vercel@8.2.7
@astrojs/cloudflare@12.6.7
astro@5.13.4
Patch Changes
-
#14260
86a1e40
Thanks @jp-knj! - FixesAstro.url.pathname
to respecttrailingSlash: 'never'
configuration when using a base path. Previously, the root path with a base would incorrectly return/base/
instead of/base
whentrailingSlash
was set to 'never'. -
#14248
e81c4bd
Thanks @julesyoungberg! - Fixes a bug where actions named 'apply' do not work due to being a function prototype method.
@astrojs/netlify@6.5.9
Patch Changes
-
#14269
4823c42
Thanks @florian-lefebvre! - Updatescontext.netlify
to implement all its properties -
Updated dependencies []:
- @astrojs/underscore-redirects@1.0.0
@astrojs/cloudflare@12.6.6
Patch Changes
-
9ecf359
Thanks @alexanderniebuhr! - Improves the image proxy endpoint when using the default compile option to adhere to user configuration regarding the allowed remote domains -
Updated dependencies []:
- @astrojs/underscore-redirects@1.0.0
astro@5.13.3
Patch Changes
-
#14239
d7d93e1
Thanks @wtchnm! - Fixes a bug where the types for the live content collections were not being generated correctly in dev mode -
#14221
eadc9dd
Thanks @delucis! - Fixes JSON schema support for content collections using thefile()
loader -
#14229
1a9107a
Thanks @jonmichaeldarby! - EnsuresAstro.currentLocale
returns the correct locale during SSG for pages that use a locale param (such as[locale].astro
or[locale]/index.astro
, which produce[locale].html
)
@astrojs/sitemap@3.5.1
Patch Changes
- #14233
896886c
Thanks @gouravkhunger! - Fixes the issue with the optionlastmod
where if it is defined it applies correctly to<url>
entries in eachsitemap-${i}.xml
file but not the<sitemap>
entries in the rootsitemap-index.xml
file.