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]
- Support for
graphql
@15.x
. [#1978]
- 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]
- Add matchers entrypoint to
typesVersions
fields. This should have happened in 5.0.2 but was missed. [#1985]
- 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]
- 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
- Update
jest-matcher-utils
to26
[#1751]
- Add new build outputs (CommonJS, ESM, esnext, Node) for greater tree-shakability #1698
- Added
tslib@^1.14.1
in the list of dependencies. #1657
- Add subsequential request mocking support (#1534)
- Update
graphql
dependencies [#1379] jest.Matchers
type updated to match@types/jest
version25
[#1239]- Update
jest-matcher-utils
to25
[#1375]
- Adding
TestingApolloClient
to fix scenarios where somefetchPolicy
values produce React events firing outside of anact
scope (#1198)
- Updated to respect the new asynchronous query components from the 4.x version of
@shopify/react-graphql
(#762)
- Allow
MockLink
to return a full GraphQLError. (#768)
- Added a new entry point,
@shopify/graphql-testing/matchers
, which includes atoHavePerformedGraphQLOperation
assertion (#706) - Improved filtering GraphQL operations by allowing you to pass
query
ormutation
options (#706)
- Loosened version requirements for Apollo dependencies
createGraphQLFactory
is now a named export, not the default export (#623)- Simplified much of the external workings of the library, including removing the custom subclass of
ApolloClient
(#623)
Initial release.