Skip to content

Version 9.0.0

Compare
Choose a tag to compare
@jaydenseric jaydenseric released this 20 Apr 04:09
· 104 commits to master since this release

Major

  • Updated Node.js support to ^12.0.0 || >= 13.7.0.
  • Stopped supporting Internet Explorer.
  • Updated the graphql-react peer dependency to ^13.0.0.
  • Updated the react peer dependency to 16.14 - 17.
  • Use the new React JSX runtime.
  • Reorganized file structure. Deep import paths beginning with next-graphql-react/universal must be updated to next-graphql-react/public.
  • The withGraphQLApp higher order function has changed:
    • It’s been renamed withGraphQLReact.
    • It now automatically sets the context required for the new graphql-react v13 API.
    • It now uses async/await instead of Promise chains.
    • The React class component it returns has been refactored to a functional component using React hooks.
  • Published modules now contain JSDoc comments, which might affect TypeScript projects.

Minor

  • Allow React component displayName to be removed in production builds.

Patch

  • Updated dev dependencies.
  • Removed the redundant object-assign dependency.
  • Removed Babel and related dependencies and config.
  • Refactored experimental syntax to what is supported for the Browserslist query.
  • Restructured tests to mirror the published file structure.
  • Updated the package description.
  • Updated a Next.js docs link URL.
  • Internal JSDoc tweaks.
  • Readme edits, including:
    • Updated the “Setup” section.
    • Updated the “Support” section.