Major
- Updated Node.js support to
^12.22.0 || ^14.17.0 || >= 16.0.0. - Updated dev dependencies, some of which require newer Node.js versions than previously supported.
- Removed
./packagefrom the packageexportsfield; the fullpackage.jsonfilename must be used in arequirepath.
Patch
- Also run GitHub Actions CI with Node.js v17.
- Updated the
graphqlpeer dependency to14 - 16. - Refactored tests to remove the
fetch-blobdev dependency. - Simplified package scripts.
- Use a new
assertBundleSizefunction to assert module bundle size in tests:- Failure message contains details about the bundle size and how much the limit was exceeded.
- Errors when the surplus is greater than 25% of the limit, suggesting the limit should be reduced.
- Resolves the minified bundle and its gzipped size for debugging in tests.
- Tweaked the test function
timeLimitPromiseerror messages. - Configured Prettier option
singleQuoteto the default,false. - Documentation tweaks.
- Amended the changelog entry for v16.0.0.