- #2705
1d96be587
Thanks @melnikov-s! - Support for custom navigation timing
- #2698
790e16ad8
Thanks @lemonmade! - Add special performance event handling for time to last byte
- #2618
0a1b2e16e
Thanks @CameronGorrie! - cacheEffectiveness uses cache ratio based on cache hit information discerned from transferSize and decodedBodySize properties
- #2616
f1eafee08
Thanks @ryanwilsonperkin! - Workaround quirk in React Router v6 that causes navigation to end prematurely
-
#2593
2f731db68
Thanks @BPScott! - Remove unneededvoid 0
class property initializations -
#2595
93ec0a0e5
Thanks @BPScott! - Useimport type
when importing types
- #2518
fbf76bcc5
Thanks @CameronGorrie! - Performance now emits CSS resource download timing data when initiated by a link tag
- #2488
dcb3c54c0
Thanks @ryanwilsonperkin! - Switch recording of FCP, TTFB, FID to web-vitals implementation in place of custom solution
- #2478
1570b951d
Thanks @ryanwilsonperkin! - Add a new metric to track Largest Contentful Paint
- #2459
1f76ed324
Thanks @ryanwilsonperkin! - Ignore invalid negative values for lifecycle metrics like Time to First Byte
- #2413
21435a256
Thanks @rorans! - Introduce a RedirectDuration metric to get more specific server latency timings. This information will be sent via TTFB metadata. No changes need to be made on the consumer.
- #2389
03c1abc8c
Thanks @BPScott! - Add types field to package.json export maps to support typescript consumers that usemoduleResolution: "node16"
- Drop support for node 12 and Safari 10, 11 and 12. Remove wildcard export in exports field. [#2277]
- Correct wildcard export to
./*
[#2209]
- Use
./*
instead of./
in package.json exports to fix deprecation warning. [#2184] - Remove devDependency on
@shopify/useful-types
by using built-in types. [#2163]
- Rerelease after failed publish. No code changes.
- No updates. Transitive dependency bump.
- Fixed the "Deprecated API for given entry type." warnings [#2093]
- Fixed the "The PerformanceObserver does not support buffered flag with the entryTypes argument" warnings [#2089]
- No updates. Transitive dependency bump.
- 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.