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]
- Added file exclusion for tests to package.json and enable type checking for tests. [#2005]
- Rename test/ to tests/ [#2005]
- Updated build tooling, types are now compiled with TypeScript 4.3. [#1997]
- Ensure
tsconfig.tsbuildinfo
file is not uploaded to the npm registry. [#1982]
- Update to latest sewing-kit-next for build. Update
types
/typesVersions
fields to point directly into the build folder [#1980]
- Dimension mocks no longer leak invalid values into other tests after being restored. [#1961]
- 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 match-media mock so it passes TypeScript's "strictPropertyInitialization" checks. #1814
- 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](#1698
- Updated
fetch-mock
dependency to^9.11.0
. #1691
- Fixed broken
location
module and re-enabled tests #1684
- Updated
tslib
dependency to^1.14.1
. #1657
-
fetch-mock
is updated to the latest version #1510Please see the migration guide for more information.
- Fixed setup instructions instructions for
ensureMocksReset
- Added mock for
innerWidth
to dimensions (#1399)
- Added the
Connection
class for to allow mockingnavigator.connection
in tests #1083
- Fixed bad default behaviour when specifying only a subset of an
IntersectionObserver
mock (#762)
- Accurate return types for
Storage
mocks
- Now correctly declares a dependency on
@shopify/react-async
- Added a mock for dimensions (#625)
- Added a mock for
Promise
(#614)
- Added a mock for
IntersectionObserver
andrequestIdleCallback
(#576)
- User timing mocks #468.
- Start of Changelog