* make all plugins CommonJS compatible (thx to @claudiobmgrtnr and @jantimon)
* added `loadHidden` option(thx to @justinvoelker)
* added artdirection plugin (no documentation yet, but great)
* iOS 8.1 fixes has to be loaded explicitly in non CommonJS environments (not included in respimg plugin anymore)
* removed `picture` support for old FF 38-
- lazysizes core:
- heavily improved performance (
requestIdleCallback
, better debouncing and a lot more).
- heavily improved performance (
- plugins:
- new plugin: object fit polyfill.
- improved new options for parent-fit plugin.
Breaking change: * the lazysizes.js and lazysizes.min.js files do not register as AMD modules anymore, if you need an AMD module use the new lazysizes-umd.js or lazysizes-umd.min.js file.
- lazysizes core:
- improved lazyloading in background tabs.
- fixed set lazyloaded class to early in FF.
- bgset/parentFit plugin:
- improved avoiding layout thrashing.
- respimg/bgset/parentFit plugin:
- fixed bug in Edge 14 to parse height descriptors correctly.
- unload plugin: unload plugin was broken since version 1.4.0 (thanks to @hokamoto)
- lazysizes core:
- improved lazyloading in background tabs.
- improved avoiding layout thrashing
- support of SVG elements (
svg
/image
/use
...)
- bgset/parentFit plugin:
- improved avoiding layout thrashing
- rias (and bgset):
- added support for height calculation (thx to @LRancez, #213)
- lazysizes core:
- add
hFactor
option (see #181).
- add
- unload plugin:
- simplified
unloadPixelThreshold
calculation.
- simplified
- bgset plugin:
- add an empty alt to image (see #200).
- lazysizes core:
- replace
setImmediate
withsetTimeout
(improved performance for IE/EDGE).
- replace
- plugins:
- fixed conflict with respimg plugin in combination with bgset plugin, in case of art direction and resize to smaller.
- fixed conflict with RIaS plugin in combination with respimg plugin/picturefill in Safari 8/9.