Largest Contentful Paint will now stop being tracked when page visibility changes to hidden. This aligns with the web-vitals library.
Using the addEventEventListener without the passive flag for the
touchstart event is flagged in Lighthouse. The passive flag is now applied to all
addEventListener calls in the agent.
The CLS calculation has been updated to use session windows in order to align with Google Chrome tooling (Lighthouse, PageSpeed Insights, CrUX). For more information, see the official blog post on web.dev.
Array.isArray() call is not supported on old browsers and can cause a runtime error. This call has been replaced with an alternative that works on older browsers.
When a null value was passed in to the
addEventListener API, the agent would report an internal error. This edge case is now being handled.
There was an edge case where certain ajax calls could have been excluded when they should not have been. This is now handled correctly.
The agent can now send metrics that capture information about how the agent itself is working internally.