github withastro/astro @astrojs/image@0.8.0

latest releases: astro@5.0.0-beta.2, @astrojs/vue@5.0.0-beta.0, @astrojs/svelte@6.0.0-beta.0...
2 years ago

Minor Changes

  • #4738 fad3867ad Thanks @tony-sull! - Adds a new built-in image service based on web assembly libraries 🥁 web container support!

    Migration: Happy with the previous image service based on sharp? No problem! Install sharp in your project and update your Astro config to match.

    npm install sharp
    ---
    import image from '@astrojs/image';
    
    export default {
      // ...
      integrations: [
        image({
          serviceEntryPoint: '@astrojs/image/sharp',
        }),
      ],
    };
    ---

Patch Changes

  • #4797 944d24e9e Thanks @smeevil! - Do not pass width and height to the img element when wrapped in a picture element

Don't miss a new astro release

NewReleases is sending notifications on new releases.