Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lazysizes 5.0.0 #1499

Closed
sacr3dc0w opened this issue May 16, 2019 · 0 comments
Closed

lazysizes 5.0.0 #1499

sacr3dc0w opened this issue May 16, 2019 · 0 comments

Comments

@sacr3dc0w
Copy link
Contributor

Didn't know if the internal team wanted to take a look at the latest version and see if it provides benefits for cornerstone. Here's the changelog since 4.1.2.


5.0.0

  • Use width/height content attributes to detect physical aspect ratio of image candidates, if data-aspectratio and h/w descriptors are missing. #642
  • Do not leak global lazySizesConfig anymore fixes #647
  • Improve handling of cloned object-fit images fixes #648
  • Improve blur-up/effect plugin.
  • Add support for native loading="lazy" feature as a native loading plugin.

4.1.8

  • Added the class ls-is-cached to already cached images.
  • Added h descriptor parsing fix plugin for MS edge (was already included in respimg polyfill.)
  • Effects-Plugin/Blur Up plugin: Remove [].find because IE..., fixes #631
  • Documentation stuff
  • Bring back *.min.js files to npm package, but don't use them in your import/require. These are mostly for CDNs. Not for Common JS bundlers.

4.1.7

  • Blur Up plugin: make blur up mode configurable by script
  • Unload Plugin: Fix unload plugin not knowing current expand, fixes #608
  • simplify resetPreloading and switchLoadingClass, fixes #614

4.1.6

  • Several Readme fixes
  • Allow expand, hFax and expFactor to be changed after initialization, see #581

4.1.5

  • Blur Up plugin: Add an empty alt attribute to the blur image to satisfy a11y c3256d6
  • Blur Up plugin: added aria-hidden attribute 1d62efb
  • RiaS plugin: fix wrong ratio calculation, fixes #550
  • Rias Plugin: add aspect-ratio to rias for calculating height, fixes #557

4.1.4

  • Resolve race condition with blurImg dffa93b
  • make intersectionobserver version compatible with plugins 2f1a025

4.1.3

  • change from custom to basic event interface (maybe fixes #520)
  • Clarify data-aspectratio attribute d868605
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant