RUM update: lux.js v302
October 10th, 2022
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-sctrackattribute has been fixed. In previous version of lux.js thedata-sctrackattribute 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-sctrackdocumentation 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.