Image v7.0.0-alpha.5
Pre-release
Pre-release
Immutable
release. Only release title and notes can be modified.
This is likely the last pre-release before v7 stable.
- Breaking change: Node minimum is now 22+ (matching core v4) #351
- Breaking change: removes deprecated (since 2024) synchronous functions
Image.statsSyncandImage.statsByDimensionsSync#211 #295 - Breaking change: ugprades to
sharpv0.35 #352 see upstream sharp changes - Fix: removes
wdescriptor when only one size is used in srcset, fixes valid HTML output when only one width is used and nosizespresent #298 - Feature: Adds new special
passthroughformat (usage:formats: ["passthrough"]) to copy and use the source file directly (still addswidthandheightattributes in generated output). Useful when you don’t want the optimization pipeline (and have already optimized your source images). About 20× faster in local benchmarks. Example on issue #212 Also #133 #183 #309 - Fix: Decode HTML entities in image src when read back from HTML by @kirthi-b #349 #307
- Feature: Adds
manualCacheKeyoption to improve cropping API #271 #274 by @jens-struct - Fix: bug with bounded memory usage on large builds by @jornmineur #302 #319
- Internals: swap from
debugtoobugdependency #356 - Feature: Adds
eleventy:sizesattribute which allows overriding anysizesattribute in markup #306
Thank you to @kirthi-b, @jens-struct, and @jornmineur
Full Changelog: v7.0.0-alpha.4...v7.0.0-alpha.5