Skip to content

Releases: apollographql/apollo-client-nextjs

0.3.1: Bugfix release

27 Jun 12:28
Compare
Choose a tag to compare

This release fixes a regression introduced with 0.3.0 that prevented data from being transported from SSR to the browser.

0.3.0: Support `useBackgroundQuery` and `useReadQuery` in streaming SSR

23 Jun 15:23
Compare
Choose a tag to compare

This release adds support for Apollo Client's useBackgroundQuery and useReadQuery hooks, which should be imported from this package, @apollo/experimental-nextjs-app-support, instead of @apollo/client when used with Next's app router.

Any request that is initiated on the server via useBackgroundQuery will be deduplicated so a client fetch is not simultaneously initiated during the client pass on first render. See the example in examples/polls-demo/app/cc/poll-cc.tsx for a demo.

This release also upgrades the @apollo/client dependency to use the latest beta release, 3.8.0-beta.4.

0.2.2: `resetNextSSRApolloSingletons` updates

21 Jun 08:43
5bdbce6
Compare
Choose a tag to compare

This release adds logic so that the resetNextSSRApolloSingletons test helper also resets the Apollo Client & Apollo Suspense Cache singletons.

0.2.1: README updates

09 Jun 10:46
Compare
Choose a tag to compare

This updates the README to show installation instructions for the @apollo/client beta packages, not the alpha ones references previously.

0.2.0: tracking the 3.8.0-beta now, test helpers

09 Jun 08:57
Compare
Choose a tag to compare

This release bumps the peer dependency on @apollo/client to the 3.8.0-beta release channel and adds a resetNextSSRApolloSingletons helper to reset some package internals between test runs.

0.1.0: Initial Release

09 Jun 09:06
0752be0
Compare
Choose a tag to compare

This is the initial release. Lots of stuff in here - please see the README!