Skip to content
This repository has been archived by the owner on Mar 8, 2020. It is now read-only.

v0.3.0

Latest
Compare
Choose a tag to compare
@parkerziegler parkerziegler released this 21 Feb 17:42
· 2 commits to master since this release

This release adds support for different urql Client configurations between the client-side and the server-side when using next-urql.

Warning: To support this, access to Next's context object, ctx, can only happen on the server.

Added

  • An example showing how to use a custom exchange with next-urql. PR by @ryan-gilb here.
  • Instructions for using next-urql with ReasonML. PR by @parkerziegler here.

Fixed

  • clientOptions are no longer serialized inside of withUrql's getInitialProps method. This ensures that users can use different Client configurations between the client and server. PR by @parkerziegler here.
  • Proper support for forwarding pageProps when using withUrqlClient with an _app.js component. The urql Client instance is also attached to ctx for _app.js getInitialProps. PR by @parkerziegler here.
  • react-ssr-prepass dependency upgraded to 1.1.2 to support urql >= 1.9.0. PR by @JoviDeCroock here.

Diff

v0.2.5...v0.3.0