Skip to content
Compare
Choose a tag to compare
@astrobot-houston astrobot-houston released this 27 Sep 16:15
· 7271 commits to main since this release
077134a

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