Skip to content

Version 12.0.0

Choose a tag to compare

@jaydenseric jaydenseric released this 02 Dec 00:43
· 59 commits to master since this release

Major

  • Updated Node.js support to ^12.22.0 || ^14.17.0 || >= 16.0.0.
  • Updated the graphql-react peer dependency to ^16.0.0.
  • Updated the next peer dependency to ^12.0.0.
  • Updated dependencies, some of which require newer Node.js versions than previously supported.
  • Public modules are now individually listed in the package files and exports fields.
  • Removed ./package from the package exports field; the full package.json filename must be used in a require path.
  • Removed the package main index module; deep imports must be used.
  • Shortened public module deep import paths, removing the /public/.
  • The API is now ESM in .mjs files instead of CJS in .js files, accessible via import but not require.
  • Switched back to using React.createElement instead of the the new React JSX runtime.

Patch

  • Also run GitHub Actions CI with Node.js v17.
  • Removed the redundant graphql dev dependency.
  • Simplified package scripts.
  • Reorganized the test file structure.
  • Workaround Next.js not gracefully closing in tests.
  • Removed a redundant prepare step that’s a no-op in current Next.js versions when programmatically starting Next.js in tests.
  • Fixed an internal JSDoc type.
  • Configured Prettier option singleQuote to the default, false.