web-vitals
Version:
Easily measure performance metrics in JavaScript
76 lines (43 loc) • 3.1 kB
Markdown
# Changelog
### v2.1.2 (2021-10-11)
- Ensure reported TTFB values are less than the current page time ([#187](https://github.com/GoogleChrome/web-vitals/pull/187))
### v2.1.1 (2021-10-06)
- Add feature detects to support Opera mini in extreme data saver mode ([#186](https://github.com/GoogleChrome/web-vitals/pull/186))
### v2.1.0 (2021-07-01)
- Add batch reporting support and guidance ([#166](https://github.com/GoogleChrome/web-vitals/pull/166))
### v2.0.1 (2021-06-02)
- Detect getEntriesByName support before calling ([#158](https://github.com/GoogleChrome/web-vitals/pull/158))
### v2.0.0 (2021-06-01)
- **[BREAKING]** Update CLS to max session window 5s cap 1s gap ([#148](https://github.com/GoogleChrome/web-vitals/pull/148))
- Ensure CLS is only reported if page was visible ([#149](https://github.com/GoogleChrome/web-vitals/pull/149))
- Only report CLS when FCP is reported ([#154](https://github.com/GoogleChrome/web-vitals/pull/154))
- Update the unique ID version prefix ([#157](https://github.com/GoogleChrome/web-vitals/pull/157))
### v1.1.2 (2021-05-05)
- Ignore negative TTFB values in Firefox ([#147](https://github.com/GoogleChrome/web-vitals/pull/147))
- Add workaround for Safari FCP bug ([#145](https://github.com/GoogleChrome/web-vitals/pull/145))
- Add more extensive FID feature detect ([#143](https://github.com/GoogleChrome/web-vitals/pull/143))
### v1.1.1 (2021-03-13)
- Remove use of legacy API to detect Firefox ([#128](https://github.com/GoogleChrome/web-vitals/pull/128))
### v1.1.0 (2021-01-13)
- Fix incorrect UMD config for base+polyfill script ([#117](https://github.com/GoogleChrome/web-vitals/pull/117))
- Fix missing getter in polyfill ([#114](https://github.com/GoogleChrome/web-vitals/pull/114))
- Add support for Set in place of WeakSet for IE11 compat ([#110](https://github.com/GoogleChrome/web-vitals/pull/110))
### v1.0.1 (2020-11-16)
- Fix missing `typings` declaration ([#90](https://github.com/GoogleChrome/web-vitals/pull/90))
### v1.0.0 (2020-11-16)
- **[BREAKING]** Add support for reporting metrics on back/forward cache restore ([#87](https://github.com/GoogleChrome/web-vitals/pull/87))
- **[BREAKING]** Remove the `isFinal` flag from the Metric interface ([#86](https://github.com/GoogleChrome/web-vitals/pull/86))
- Remove the scroll listener to stop LCP observing ([#85](https://github.com/GoogleChrome/web-vitals/pull/85))
### v0.2.4 (2020-07-23)
- Remove the unload listener ([#68](https://github.com/GoogleChrome/web-vitals/pull/68))
### v0.2.3 (2020-06-26)
- Ensure reports only occur if a PO was created ([#58](https://github.com/GoogleChrome/web-vitals/pull/58))
### v0.2.2 (2020-05-12)
- Remove package `type` field ([#35](https://github.com/GoogleChrome/web-vitals/pull/35))
### v0.2.1 (2020-05-06)
- Ensure all modules are pure modules ([#23](https://github.com/GoogleChrome/web-vitals/pull/23))
- Ensure proper TypeScript exports and config ([#22](https://github.com/GoogleChrome/web-vitals/pull/22))
### v0.2.0 (2020-05-03)
- Initial public release
### v0.1.0 (2020-04-24)
- Initial pre-release