RUM update: lux.js v302
almost 2 years ago by Elena Kay
10 October 2022 (UTC)
New features
- Page groups (
LUX.label
) can now be configured with URL pattern matching.
Improvements
- The start time of user timing measures is now recorded. In previous versions of lux.js only the duration was recorded.
Bug fixes
LUX.mark()
andLUX.measure()
are now fully compatible with their native counterpartsperformance.mark()
andperformance.measure()
. In previous versions of lux.js these functions did not support an options object as the second parameter.- Interaction element attribution for elements with the
data-sctrack
attribute has been fixed. In previous version of lux.js thedata-sctrack
attribute only took priority on the element that was interacted with. It now takes priority even when it has been set on an ancestor element. See thedata-sctrack
documentation for more information.
Other
- Some legacy vendor-specific code has been removed: lux.js no longer uses
chrome.loadTimes()
or anyperformance.webkit*
functions. Browsers that supported these vendor functions will now use polyfills or fallbacks.