Skip to content

Image v7.0.0-alpha.5

Pre-release
Pre-release

Choose a tag to compare

@zachleat zachleat released this 27 Jul 16:08
Immutable release. Only release title and notes can be modified.
f4c514a

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.statsSync and Image.statsByDimensionsSync #211 #295
  • Breaking change: ugprades to sharp v0.35 #352 see upstream sharp changes
  • Fix: removes w descriptor when only one size is used in srcset, fixes valid HTML output when only one width is used and no sizes present #298
  • Feature: Adds new special passthrough format (usage: formats: ["passthrough"]) to copy and use the source file directly (still adds width and height attributes 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 manualCacheKey option 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 debug to obug dependency #356
  • Feature: Adds eleventy:sizes attribute which allows overriding any sizes attribute in markup #306

Thank you to @kirthi-b, @jens-struct, and @jornmineur

Full Changelog: v7.0.0-alpha.4...v7.0.0-alpha.5