Skip to content

Version 4.0.0

Choose a tag to compare

@jaydenseric jaydenseric released this 01 Aug 02:38
· 204 commits to master since this release

Major

  • Updated the next peer dependency to ^9.0.3.
  • Use the new AppTree component available in next v9.0.3 in the App.getInitialProps static method context argument, with the ssr function in withGraphQLApp. This allows the use of Next.js React hook based APIs such as useRouter that previously had undefined context values in SSR (see zeit/next.js#6042).

Patch

  • Updated dependencies.
  • Cleaner readme “API” section table of contents with “See” and “Examples” headings excluded, thanks to jsdoc-md v3.1.0.
  • Removed a now redundant ESLint disable no-console comment in withGraphQLApp.