Releases: apollographql/apollo-client-nextjs
0.3.1: Bugfix release
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
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
This release adds logic so that the resetNextSSRApolloSingletons
test helper also resets the Apollo Client & Apollo Suspense Cache singletons.
0.2.1: README updates
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
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
This is the initial release. Lots of stuff in here - please see the README!