Skip to content

Version 7.0.0

Compare
Choose a tag to compare
@jaydenseric jaydenseric released this 03 May 09:02
· 167 commits to master since this release

Major

  • Added a package exports field to support native ESM in Node.js.
  • Some source and published files are now .js (CJS) instead of .mjs (ESM), so undocumented deep imports may no longer work. This approach avoids the dual package hazard.
  • Updated Node.js support from v10+ to 10 - 12 || >= 13.7 to reflect the package exports related breaking changes.
  • Updated the graphql-react peer dependency to ^11.0.0.
  • Removed withGraphQLConfig; withGraphQLApp now uses dynamic import to only load certain dependencies in a server environment.

Patch

  • Updated dependencies.
  • Removed the @babel/plugin-proposal-object-rest-spread and babel-plugin-transform-replace-object-assign dev dependencies and simplified Babel config.
  • Improved the package prepare:prettier and test:prettier scripts.
  • Reordered the package test:eslint script args for consistency with test:prettier.
  • Configured Prettier option semi to the default, true.
  • Lint fixes for prettier v2.
  • Reorder Babel config fields.
  • Ensure GitHub Actions run on pull request.
  • Also run GitHub Actions with Node.js v14.
  • Support Next.js static HTML export, fixing #4.