Release Notes - 2.7.14
Release Date (2021-07-14)
Breaking Changes 💥
- Migrate to
@apollo/client
(away from@apollo/react
,graphql-tag
). See upgrade notes
New Features 🚀
- GeoIP information.
Bug Fixes 🐛
- Return author data that matches the author type declared in the blog extension.
Polish 💅
- Cache author data for blog posts for improved performance.
Upgrade Notes 📝
The following imports of changed in favour of using @apollo/client
. You'll need to update their import to reflect this:
gql
->import { gql } from '@apollo/client';
useApolloClient
->import { useApolloClient } from '@apollo/client';
MockedProvider
->import { MockedProvider } from '@apollo/client/testing';
NetworkStatus
->import { NetworkStatus } from '@apollo/client';
useMutation
->import { useMutation } from '@apollo/client';
ApolloProvider
->import { ApolloProvider } from '@apollo/client/react';
withApollo
->import { withApollo } from '@apollo/client/react/hoc';