Skip to content

Version 19.0.0

Compare
Choose a tag to compare
@jaydenseric jaydenseric released this 05 Aug 01:00
· 18 commits to master since this release

Major

  • Updated Node.js support to ^14.17.0 || ^16.0.0 || >= 18.0.0.

Patch

  • Updated the react peer dependency to 16.14 - 18.
  • Removed the redundant react-dom peer dependency.
  • Updated dependencies.
  • Removed the @testing-library/react-hooks dev dependency and rewrote React hook tests using react-test-renderer, a new test utility function createReactTestRenderer, and a custom React component ReactHookTest.
  • Removed the fetch-blob and formdata-node dev dependencies. Instead, File and FormData are imported from node-fetch.
  • Updated jsconfig.json:
    • Set compilerOptions.maxNodeModuleJsDepth to 10.
    • Set compilerOptions.module to nodenext.
  • Updated GitHub Actions CI config:
    • Run tests with Node.js v14, v16, v18.
  • Removed the now redundant not IE > 0 from the Browserslist query.
  • Updated react-dom/server imports in tests to suit React v18.
  • Fixed the fetchGraphQL test with the global fetch API unavailable for new versions of Node.js that have the fetch global.
  • Use globalThis instead of global in tests.
  • Use ReactTestRenderer instead of ReactDOMServer.renderToStaticMarkup in some React context related tests.
  • Removed some unnecessary JSDoc comments in tests.
  • Fixed some JSDoc links.
  • Revamped the readme: