All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and adheres to Semantic Versioning.
- Removed dependency on tslib, as we no-longer compile with
tsc
. #1829
- Updated multi-build outputs to include mandatory extensions to fix "Module not found" issues reported by ESM supported bundlers #1759
- Add new build outputs (CommonJS, ESM, esnext, Node) for greater tree-shakability #1698
- Added
tslib@^1.14.1
in the list of dependencies. #1657
Performance
object constructor will now check ifPerformanceTiming
is supported. [#1119]
cacheEffectiveness
now assumes duration=0 is a cache hit [#1107]
- Updated the README to include instructions on cleaning up listeners from
performance.on
[#1081
- Added a new API
mark
to thePerformance
class. This encapsulates both checking forsupportsMarks
and callingwindow.performance.mark
into one call. [#1083]
- Fixed an issue where changing only the hash/ query parameters would cause navigations to be recorded [#610]
- Fixed an issue where events starting before the navigation would include the pre-navigation time in
Navigation#totalDurationByEventType
[#549]
- New
fid
lifecycle event to track first input delay (to use this, consumers must inject polyfill code into their document head) [#542]
- Fixed an issue where
Navigation#timeToUsable
did not account for when the navigation actually started, leading the values in the trillions [#520]
- Fixed an issue where browsers supporting some custom timing types (but not
PerformanceObserver
) would throw while trying to create an instance ofPerformanceObserver
- The types for
Navigation#resourceEvents
no longer fails in consuming projects.
- No longer fails if the browser does not have
window.performance
.
First version.