diff options
Diffstat (limited to '.changeset/spotty-garlics-cheat.md')
-rw-r--r-- | .changeset/spotty-garlics-cheat.md | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.changeset/spotty-garlics-cheat.md b/.changeset/spotty-garlics-cheat.md new file mode 100644 index 000000000..3d9a3cfc1 --- /dev/null +++ b/.changeset/spotty-garlics-cheat.md @@ -0,0 +1,22 @@ +--- +'@astrojs/vercel': major +'@astrojs/node': major +'astro': major +--- + +Removed support for the Squoosh image service. As the underlying library `libsquoosh` is no longer maintained, and the image service sees very little usage we have decided to remove it from Astro. + +Our recommendation is to use the base Sharp image service, which is more powerful, faster, and more actively maintained. + +```diff +- import { squooshImageService } from "astro/config"; +import { defineConfig } from "astro/config"; + +export default defineConfig({ +- image: { +- service: squooshImageService() +- } +}); +``` + +If you are using this service, and cannot migrate to the base Sharp image service, a third-party extraction of the previous service is available here: https://github.com/Princesseuh/astro-image-service-squoosh |