Will there be a changelog for 3.0.0? What changed in 3.0.0?
There wasn't much changed.
lazyloaded class is added to early in Firefox.The perf improvement was the justification to make a major jump, although there was no API change. The reason is that the script changes the async behavior of lazySizes at the start a bit.
Normally lazySizes always checks the layout of the images inside of an idle frame or the next task after rAF and changes the images in the raf after the layout check.
I changed the behavior on init to be sync (the read/writes are still ordered (i.e. separated)). This can be helpful, if you are using .lazyload on crucial images. Often you will need to call lazySizes.init() manually to see a positive effect in your network tab. See also: https://github.com/aFarkas/lazysizes/issues/185#issuecomment-268344745
Thanks for the clarification!
Most helpful comment
There wasn't much changed.
lazyloadedclass is added to early in Firefox.The perf improvement was the justification to make a major jump, although there was no API change. The reason is that the script changes the async behavior of lazySizes at the start a bit.
Normally lazySizes always checks the layout of the images inside of an idle frame or the next task after rAF and changes the images in the raf after the layout check.
I changed the behavior on init to be sync (the read/writes are still ordered (i.e. separated)). This can be helpful, if you are using
.lazyloadon crucial images. Often you will need to calllazySizes.init()manually to see a positive effect in your network tab. See also: https://github.com/aFarkas/lazysizes/issues/185#issuecomment-268344745