Major
- Made
apollo-linka dependency, instead of a peer dependency. - Removed the package
moduleentry and the "ESM" build, which was.jsand not proper native ESM for Node.js via.mjsas Apollo dependencies don’t support it.
Minor
- Updated Babel, removing the
@babel/runtimedependency. - Package marked side-effect free for bundlers and tree-shaking.
Patch
- Updated dependencies.
- Use the new
extract-filesAPI. - Use
jsdoc-mdto generate readme API docs from source JSDoc, which has been improved. - Readme examples updated to use the
react-apolloMutationcomponent instead of thegraphqldecorator. - Readme examples use CJS instead of ESM as this project does not support native ESM (due to a lack of support in Apollo dependencies) and we shouldn’t assume everyone uses Babel.
- Updated package description.
- Added package tags.
- Added a package
test:sizescript, usingsize-limitto guarantee < 1 KB CJS bundle sizes. - Lint
.ymlfiles. - Refactored package scripts and removed the
npm-run-alldev dependency. - Removed a temporary workaround for a fixed Babel CLI bug.
- Ensure the readme Travis build status badge only tracks
masterbranch. - Use Badgen for the readme npm version badge.