Skip to content

Version 14.0.0

Compare
Choose a tag to compare
@jaydenseric jaydenseric released this 19 May 05:55
· 99 commits to master since this release

Major

  • Updated Node.js support to ^12.20 || >= 14.13.
  • Updated dependencies, some of which require newer Node.js versions than were previously supported.
  • Replaced the the package.json exports field public subpath folder mapping (deprecated by Node.js) with a subpath pattern. Deep require paths within graphql-react/public/ must now include the .js file extension.
  • The tests are now ESM in .mjs files instead of CJS in .js files.

Patch

  • Updated GitHub Actions CI config to run tests with Node.js v12, v14, v16.
  • Simplified JSDoc related package scripts now that jsdoc-md v10+ automatically generates a Prettier formatted readme.
  • Added a package test:jsdoc script that checks the readme API docs are up to date with the source JSDoc.
  • Test the bundle size using esbuild instead of webpack and disposable-directory.
  • Increased the documented bundle size to “< 4 kB” to match that of esbuild instead of webpack.
  • Use the correct kB symbol instead of KB wherever bundle size is mentioned in the package description and readme.
  • Don’t destructure require from react to slightly improve the esbuild bundle size.
  • Use the .js file extension in internal require paths.
  • Updated the example Next.js app URL in the readme.
  • Readme tweaks.
  • The file changelog.md is no longer published.