Version 6.0.0
Major
- Added a package
exports
field 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. - Use the
application/graphql+json
content-type instead ofapplication/json
for GraphQL requests and responses. This content-type is being standardized in the GraphQL over HTTP specification.
Patch
- Updated dev dependencies.
- Updated the EditorConfig URL.
- Stopped testing with Node.js v13.
- Prettier format JSDoc example code.
- Added ESM related keywords to the package
keywords
field.