Skip to content

Releases: withastro/astro

astro@5.13.5

29 Aug 14:04
71562f2
Compare
Choose a tag to compare

Patch Changes

  • #14286 09c5db3 Thanks @ematipico! - BREAKING CHANGES only to the experimental CSP feature

    The following runtime APIs of the Astro global have been renamed:

    • Astro.insertDirective to Astro.csp.insertDirective
    • Astro.insertStyleResource to Astro.csp.insertStyleResource
    • Astro.insertStyleHash to Astro.csp.insertStyleHash
    • Astro.insertScriptResource to Astro.csp.insertScriptResource
    • Astro.insertScriptHash to Astro.csp.insertScriptHash

    The following runtime APIs of the APIContext have been renamed:

    • ctx.insertDirective to ctx.csp.insertDirective
    • ctx.insertStyleResource to ctx.csp.insertStyleResource
    • ctx.insertStyleHash to ctx.csp.insertStyleHash
    • ctx.insertScriptResource to ctx.csp.insertScriptResource
    • ctx.insertScriptHash to ctx.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 fonts

    Experimental 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 for resolveSrc, a documented image services utility.

@astrojs/vercel@8.2.7

29 Aug 14:04
71562f2
Compare
Choose a tag to compare

Patch Changes

  • #14039 da4182d Thanks @ematipico! - Fixes a bug where experimentalStaticHeaders did not work as expected.

  • #14289 ed493a6 Thanks @ascorbic! - Fixes a bug that caused invalid image sizes to be generated when the requested widths were larger than the source image

@astrojs/cloudflare@12.6.7

29 Aug 14:04
71562f2
Compare
Choose a tag to compare

Patch Changes

  • #14281 dfd88de Thanks @ascorbic! - Fixes a regression that broke sites that used the compile image service without nodejs_compat set

  • Updated dependencies []:

    • @astrojs/underscore-redirects@1.0.0

astro@5.13.4

27 Aug 09:31
24b04c1
Compare
Choose a tag to compare

Patch Changes

  • #14260 86a1e40 Thanks @jp-knj! - Fixes Astro.url.pathname to respect trailingSlash: 'never' configuration when using a base path. Previously, the root path with a base would incorrectly return /base/ instead of /base when trailingSlash 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

27 Aug 09:32
24b04c1
Compare
Choose a tag to compare

Patch Changes

  • #14269 4823c42 Thanks @florian-lefebvre! - Updates context.netlify to implement all its properties

  • Updated dependencies []:

    • @astrojs/underscore-redirects@1.0.0

@astrojs/cloudflare@12.6.6

27 Aug 09:31
24b04c1
Compare
Choose a tag to compare

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

22 Aug 16:35
d471be5
Compare
Choose a tag to compare

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 the file() loader

  • #14229 1a9107a Thanks @jonmichaeldarby! - Ensures Astro.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

22 Aug 16:34
d471be5
Compare
Choose a tag to compare

Patch Changes

  • #14233 896886c Thanks @gouravkhunger! - Fixes the issue with the option lastmod where if it is defined it applies correctly to <url> entries in each sitemap-${i}.xml file but not the <sitemap> entries in the root sitemap-index.xml file.

@astrojs/node@9.4.3

22 Aug 16:34
d471be5
Compare
Choose a tag to compare

Patch Changes

@astrojs/netlify@6.5.8

22 Aug 16:34
d471be5
Compare
Choose a tag to compare

Patch Changes

  • #14240 77b18fb Thanks @delucis! - Increases the minimum supported version of Astro to 5.7.0

  • Updated dependencies []:

    • @astrojs/underscore-redirects@1.0.0