Astro: @astrojs/image@0.4.0 Release

Release date:
August 31, 2022
Previous version:
@astrojs/image@0.3.7 (released August 30, 2022)
Magnitude:
0 Diff Delta
Contributors:
0 total committers
Data confidence:
Commits:

Top Contributors in @astrojs/image@0.4.0

Could not determine top contributors for this release.

Directory Browser for @astrojs/image@0.4.0

We haven't yet finished calculating and confirming the files and directories changed in this release. Please check back soon.

Release Notes Published

Minor Changes

  • #4482 00c605ce3 Thanks @tony-sull! - <Image /> and <Picture /> now support using images in the /public directory :tada:

    • Moving handling of local image files into the Vite plugin
    • Optimized image files are now built to /dist with hashes provided by Vite, removing the need for a /dist/_image directory
    • Removes three npm dependencies: etag, slash, and tiny-glob
    • Replaces mrmime with the mime package already used by Astro's SSR server
    • Simplifies the injected _image route to work for both dev and build
    • Adds a new test suite for using images with @astrojs/mdx - including optimizing images straight from /public