Migration from v1.0 to v2.0:
ng update apollo-angular
List of breaking changes and a migration strategy available on our "Migration Guide".
Changes:
- Support Apollo Client 3.0 (use
@apollo/client/core
) Http
,HttpBatch
andHeaders
links are now part of apollo-angular:apollo-angular/http
andapollo-angular/headers
- Re-export
gql
ofgraphql-tag
(import { gql } from 'apollo-angular'
) - Add
flushData
method toTestingOperation
(PR #1474 by @fetis) - Remove
apollo-angular-boost
andapollo-angular-cache-ngrx