@responsive-image/webpack@3.0.0
Major Changes
-
#1765
5decc20Thanks @renovate! - Update dependency imagetools-core to v9imagetools-core v8 introduced a breaking change by adding a
autoOrientdirectove that is enabled by default (automatically fix the orientation based on EXIF data), which applies to all images processed by the vite or webpack plugins here as well. -
#2197
a40633fThanks @simonihmig! - Drop support for node 20 -
#2193
930f44cThanks @simonihmig! - RemoveallowUpscaledefault configThis option of
imagetoolswas true by default before, which allowed images to get upscaled beyond their original size. This has been changed, as this is not really useful.
Minor Changes
-
#2174
e26b3a2Thanks @simonihmig! - Provide a responsiveImage export for the build pluginsThe vite and webpack packages provide a more consistent and self-descriptive
responsiveImageexport for their respective plugins. The previoussetupPlugins/setupLoadersexports are kept for backwards compatibility. -
#2189
a20d3f8Thanks @simonihmig! - Expose client types for image importsThe
/clienttype export provides the necessary module declarations to make TypeScript understand image imports with a?responsivequery parameter.