Skip to content

Releases: apollographql/apollo-client-nextjs

0.5.1: Allow usage with Apollo Client 3.9 alphas

02 Nov 10:16
Compare
Choose a tag to compare

This release changes the peerDependencies so the package can be used with our Apollo Client 3.9 alphas, betas and release candidates.

0.5.0: NextJs 14

30 Oct 10:16
bce6905
Compare
Choose a tag to compare

This release adds Next.js 14 as a valid peerDependency.

0.4.3: Bugfix release

20 Sep 08:13
07583cb
Compare
Choose a tag to compare

This release fixes a bug where a simulated query would not finish or finish too late in the browser.

0.4.2: Use server-only package instead of custom environment detection

31 Aug 12:41
Compare
Choose a tag to compare

Previously, we checked for a RSC environment by testing for the presence of the createContext export in the react package.
That didn't work in some edge cases. Instead, now we use the server-only instead to make sure that registerApolloClient is only imported in a React Server Component context.

Thanks a ton to @leonchabbey for contributing this in #90!

0.4.1: Restart queries if the result could not be transported before streaming finished

24 Jul 08:23
fccfb55
Compare
Choose a tag to compare

This release contains #62, a fix that ensures that if the streaming connection finishes before results can be transported from the server to the browser, the requests will be restarted there instead of "hanging" without finishing.

0.4.0: Going 3.8 RC and no more need for `SuspenseCache`

18 Jul 10:01
9b33aee
Compare
Choose a tag to compare

This PR now relies on @apollo/client in the 3.8 Release Candidate versions instead of the Beta tag.

The Release Candidate versions do no longer need a SuspenseCache, so you can remove the makeSuspenseCache function from your ApolloNextAppProvider.

-function makeSuspenseCache() {
-  return new SuspenseCache();
-}

export function ApolloWrapper({ children }: React.PropsWithChildren) {
  return (
    <ApolloNextAppProvider
      makeClient={makeClient}
-     makeSuspenseCache={makeSuspenseCache}
    >
      {children}
    </ApolloNextAppProvider>
  );

0.3.5: correctly clean up simulated requests

18 Jul 09:30
Compare
Choose a tag to compare

This version contains make sure to clean up inFlightLinkObservables #59, which fixes a bug that prevented refetching of queries that were started during SSR.

0.3.4: Actually bump range of allowed `@apollo/client` versions

12 Jul 16:45
382406e
Compare
Choose a tag to compare

Bump the peer dependency range on @apollo/client to allow -rc prereleases and the public v3.8 release.

NOTE: This release should be used in place of v0.3.3, which accidentally only bumped the dev dependency version range.

0.3.3: Bump range of allowed `@apollo/client` versions

12 Jul 16:26
8f165f1
Compare
Choose a tag to compare

Bump the peer dependency range on @apollo/client to allow -rc prereleases and the public v3.8 release.

0.3.2: Regression bugfix for `useQuery`

29 Jun 16:54
4954601
Compare
Choose a tag to compare

This release fixes a regression introduced by 0.3.0 - see #48

  • prevent a network request on the server
  • prevent transportation of non-network-request watchQuery calls