Skip to content

Releases: verlok/vanilla-lazyload

Version 19.1

02 Apr 16:45
Compare
Choose a tag to compare

19.1.3

  • File CHANGELOG.md is now included in the package and installed along with it
  • Updated Babel, Rollup and Playwright to the latest versions

19.1.2

  • Modernized code and smaller file bundles, everything is now shipped as in the ES2015 format.

19.1.1

  • Removed code to support image-set on legacy versions of Chromium browsers
  • Added coverage with 2 more demos for images with single src and a placeholder image

19.1.0

  • Added end to end tests to expand test coverage to more use cases and cross browser

Version 19.0

28 Mar 18:20
Compare
Choose a tag to compare

19.0.5

  • Removed .eslintrc.json, LICENSE, CHANGELOG.md, CODE_OF_CONDUCT.md, README.md, package.json from the package files, as they didn't have any impact on code quality.

19.0.4

  • Removed Babel plugin to polyfill Object.assign(), as suggested in #611.

19.0.3

  • Files .eslintrc.json, LICENSE, CHANGELOG.md, CODE_OF_CONDUCT.md, README.md, package.json are now included in the package

19.0.1

  • Restored compatibility for bundlers that used this module, see #609

Thanks to @erikyo for #610

19.0.0

  • Rollup setup enhancement
    • Refactored the Rollup setup to improve performance and maintainability.
    • Switched to ES6 module format for better compatibility and readability.
    • Enabled tree shaking and module preservation to optimize the build output.
  • Added ESM demo to showcase the functionality of the esm module.
  • Updated various dependencies to their latest versions for better compatibility and security
  • Removed AMD module from the /dist folder, as it's been unused since version 11
  • Removed AMD-related demos

Thanks to @erikyo for #607

Version 18.0

19 Mar 15:25
Compare
Choose a tag to compare

Version 18.0.0

  • Dropped support for Internet Explorer 11
  • Modernized code
  • Smaller file

Version 17.9

19 Mar 14:13
Compare
Choose a tag to compare

17.9.0

  • Allowing to pass empty string ("") as value for class options (class_loading, class_applied, class_loaded, class_error, class_entered, class_exited) so that no DOM mutation will happen if not necessary. This is a potential performance improvement. Suggested in #605.

Version 17.8

25 Apr 20:03
Compare
Choose a tag to compare

17.8.8

  • Fixed dependency issues detected by npm audit

17.8.5

  • Improved callbacks check by introducing type check (must be function)

17.8.4

  • Updated link to demos in the documentation.

17.8.3

  • Fixed callback_error in background images demos, like suggested in #573. Thanks to @Soul244.

17.8.2

  • Fixed a bug which occurred if the network connection went off and on again after a LazyLoad instance was destroyed

17.8.1

  • Updated Typescript typings

17.8.0

  • Added the ability to lazyload background images with CSS image-set() via data-bg-set

Version 17.7

10 Apr 11:08
Compare
Choose a tag to compare

17.7.0

  • Added the new option restore_on_error to restore original attributes on error.

Version 17.6

20 Feb 07:04
Compare
Choose a tag to compare

17.6.1

  • Removed nasty "debugger" from code (sorry about that rookie mistake!)

17.6.0

  • Added ability to lazily load the <object> tag, as requested in #177. Useful to lazily load animated SVGs.

Version 17.5

23 Sep 07:59
Compare
Choose a tag to compare

17.5.1

  • Updated Typescript typings

17.5.0

  • Added the ability to restore DOM to its original state through the restoreAll() method.
  • Destroy demo became restore and destroy demo

Version 17.4

06 Jun 20:38
Compare
Choose a tag to compare

17.4.0

  • Adding native lazy loading for videos, as discussed in #527. Thanks to @saschaeggi.
  • Updated the native_lazyload_conditional.html demo with the new best practice for cross browser native lazy loading.

Version 17.3

24 Nov 17:58
Compare
Choose a tag to compare

17.3.2

  • Fixes double trigger of callback_load after a watched image was loaded using the static load() method (#526). Thanks to @nick-vincent.

17.3.1

  • Removed caniuse-lite from dependencies. Fixes #505. Thanks to @ar53n.

17.3.0

  • Added class_entered and class_exited options to apply a class when an element entered and/or exited the viewport