Major
- Updated Node.js support to
^10.17.0 || ^12.0.0 || >= 13.7.0. - Updated dependencies, some of which (only dev dependencies) require newer Node.js versions than previously supported.
- Added a package
exportsfield with conditional exports to support native ESM in Node.js and keep internal code private, whilst avoiding the dual package hazard. Published files have been reorganized, so previously undocumented deep imports will need to be rewritten according to the newly documented paths. - Support
@apollo/clientv3, fixing #174 via #175.
Patch
- Added the
graphqlpeer dependency to support a wider range of package managers, via #196. - Removed Node.js v13 and added v14 to the versions tested in GitHub Actions.
- Simplified the GitHub Actions CI config with the
npm install-testcommand. - Use Babel config
overridesto ensure.jsfiles are parsed as scripts, eliminating BabelinteropRequireDefaulthelpers from transpilation output. - Prettier code examples in source JSDoc.
- Improved the type
ReactNativeFileSubstitutecode example. - Updated EditorConfig.
- Improved the documentation about gotchas when inspecting network requests in React Native, via #193.
- Changed code examples to use
importinstead ofrequire.