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.
- Fixed babel helpers file being generated with incorrect filename in esm build. [#2082]
- Migrate from
sewing-kit-next
toloom
for building - package build output remains identical. [#2039]
- Enable type checking in tests and fix type errors. [#2011]
- Updated build tooling, types are now compiled with TypeScript 4.3. [#1997]
- Added file exclusion for tests to package.json and enable type checking for tests. [#2005]
- Rename test/ to tests/ [#2005]
- Update to latest sewing-kit-next for build. Update
types
/typesVersions
fields to point directly into the build folder [#1980]
- Update minimum supported node version to 12.14.0. Add engines field to help enforce usage of this version. #1906
- 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.