Releases: malchata/yall.js
Releases · malchata/yall.js
3.2.0
- This release addresses #51 (thank you, @radfahrer!) by adding the
noPolyfill
option. - Barring bugfixes, development of yall.js is complete. Please consider using native lazy loading instead if you can. A
postinstall
script will notify you of this on install from here on out. - Small tweaks to keep file size in check.
- Fixed some wonky video autoplay issues (thanks again, @radfahrer!)
2.2.1 release!
This is a small bugfix release:
- #38 was fixed. In some cases, use of
MutationObserver
was not reloading images in some SPA scenarios. - An unlogged bug was discovered where Safari would download unnecessary assets because yall was setting
src
attributes beforesrcset
attributes, causing Safari to get thesrc
-referenced resource first. This could be side-stepped by specifying an attribute order ofdata-srcset
first, thendata-src
. yall'sdata-
attribute flipping function was refactored to fix this. - Slightly smaller build size.
2.2.0 release!
This release adds a couple new features and bugfixes.
Bugs fixed:
- Resolved bugs #24 and #28 by removing async decoding via
Image.decode()
. This feature was causing a fair bit of unpredictable behavior, so removing it was a reasonable step. It may be added back in later on if necessary. - Added the ability to lazy load
<video>
image placeholders brought in byposter
. This was proposed in #32 by @DanThePainter and @leeoniya. - Added the ability to lazy load CSS background images. New options were added to the API to control classes used for this functionality.
2.0.2 release!
Bug fixes galore:
- Fixed #23, which encapsulates all of yall's dependent functions in the main
yall
function. (Thanks, @michielkouwenhoven!) - Fixed #21, which improves development experience on Windows machines. (Thanks, @kalled!)
- Fixed #18, which prevents yall.js from overwriting all
data-
attributes on elements by using an attribute whitelist. (Thanks, @xanisu!) - Fixed an issue which broke yall.js on Samsung Internet.
2.0.0 release!
This is a rewrite of yall.js. Improvements/changes include:
<iframe>
elements can now be lazy loaded.requestIdleCallback
can be optionally used to lazy load elements while optimizing browser idle time.- Images can be lazy loaded after they're added to the DOM by specifying the
observeChanges
option. - Simple
<img>
lazy loading use cases now benefit from async decoding usingImage.decode()
. - Unlike version 1, a number of configuration options now exist that allow you to change behaviors to your liking.
File an issue for any bugs you encounter. Testing was extensive, but bugs are always possible!
Happy lazy loading!
Added lazy loading for `<video>` elements.
yall-1.2.0.min.js.zip
The title says it all! Check the docs or test
folder for the usage pattern on <video>
tags.
Fix for bug where images sometimes didn't load.
yall-1.1.2.min.js.zip
Includes a fix for #13 from @anthonygore. Thank you, sir!
Initial release.
yall-1.1.1.min.js.zip
Not really the initial release, but we have to start somewhere.