---
agentTools:
  projectIndex: https://support.speedcurve.com/llms.txt
---

# RUM update: lux.js v307

**3 April 2023 (UTC)**

### New features

* [Session windows](https://web.dev/evolving-cls/) have been implemented for the CLS metric. This may reduce CLS scores on long-lived pages.

### Bug fixes

* INP is now reset when `LUX.init()` is called.
* Fixed a bug where INP could be recorded twice for a single page view.
* Ignore first-input entries for INP when there is a matching event entry.

### Improvements

* The code that determines the page label based on [Page Label URL Rules](https://support.speedcurve.com/docs/rum-page-labels#page-label-url-rules) has been optimized, reducing the size of lux.js.