Skip to content

v.0.9.0: separate builds, no more need for special hook imports, new transport mechanism

Choose a tag to compare

@phryneas phryneas released this 22 Mar 10:26
· 253 commits to main since this release
c8eac3d

This version introduces four big changes:

  • The package is now split up into @apollo/client-react-streaming for non-Next-logic and @apollo/experimental-nextjs-app-support. This means that the streaming approach can also be used by other frameworks like Redwood or hand-written setups with renderTo*Stream.
    As a user of @apollo/experimental-nextjs-app-support you should not notice this.
  • The packages have a new bundle setup and ship different builds for RSC, SSR and the browser. This should result in reduced bundle sizes.
  • The data transport mechanism has been reworked and you should now see less data transported over the wire.
  • You now don't need to import hooks from @apollo/experimental-nextjs-app-support anymore - the hooks from @apollo/client will work as you'd expect them to.

This release requires you to update your Apollo Client version to at least 3.9.6!

What's Changed

  • Removing confusing installation language in README.md by @spenweb in #187
  • chore(deps): update yarn to v4.1.0 by @svc-secops in #190
  • separate transport-specific streaming logic out by @phryneas in #189
  • split up into two packages by @phryneas in #193
  • registerApolloClient: allow for async makeClient function by @phryneas in #204
  • 0.9.0 (1) - adjust package shapes by @phryneas in #208
  • 0.9.0 (2) - wrap hook functionality from ApolloClient instance by @phryneas in #216
  • 0.9.0 (3) - add integration test with experimentally patched React version by @phryneas in #219
  • 0.9.0 (4) - Add integration test for vitejs + streaming by @phryneas in #198
  • Use Relative-CI to detect size changes in the Next.js integration test build. by @phryneas in #225
  • update Apollo Client version to 3.9.6 by @phryneas in #236
  • 0.9.0 (7) - Changes to Data Transport by @phryneas in #223
  • add size-limit workflow by @phryneas in #241
  • 0.9.0 (8) documentation updates and "branded" error messages by @phryneas in #240
  • [chore] Update Docs by @github-actions in #243
  • Bump version to 0.9.0 by @github-actions in #247

New Contributors

  • @spenweb made their first contribution in #187
  • @github-actions made their first contribution in #243

Full Changelog: v.0.8.0...v.0.9.0