@astrojs/netlify@8.1.2

withastro/astro@astrojs/netlify@8.1.2Jul 13, 2026by astrobot-houston

AI Summary

This patch release fixes how Netlify Image CDN patterns handle regex metacharacters, ensuring they are matched literally rather than as wildcards. It also updates the @astrojs/underscore-redirects dependency.

Key Highlights

  • Fixed regex metacharacters in Netlify Image CDN remote_images patterns to match literally.
  • Ensures consistency with how Astro matches hostname and pathname values.
  • Updated @astrojs/underscore-redirects to version 1.0.3.

Full Release Notes

### Patch Changes

-   [#17368](https://github.com/withastro/astro/pull/17368) [`ee74c28`](https://github.com/withastro/astro/commit/ee74c289bfe32fb6a7f59ed97c5c22db16394b72) Thanks [@matthewp](https://github.com/matthewp)! - Fixes the generated Netlify Image CDN `remote_images` patterns so that regex metacharacters (such as `.`) in `image.remotePatterns` (`hostname`, `pathname`) and `image.domains` are matched literally instead of behaving like wildcards. This makes the generated patterns consistent with how Astro matches these values elsewhere.

-   Updated dependencies \[]:
    -   @astrojs/underscore-redirects@1.0.3