Skip to content

Releases: kamilkisiela/apollo-angular

[email protected]

24 Feb 00:51
Compare
Choose a tag to compare

Patch Changes

[email protected]

20 Feb 09:50
Compare
Choose a tag to compare

Patch Changes

[email protected]

18 Feb 08:17
Compare
Choose a tag to compare

Major Changes

  • #2340
    6d3d5ba
    Thanks @PowerKiKi! - - Requires @apollo/client 3.13.1

  • Dropped SubscriptionResult, because it added extra maintenance work to keep native types in
    sync, and it brought no value over using native type.

    - import type { SubscriptionResult } from 'apollo-angular';
    + import type { FetchResult } from '@apollo/client/core';
    • Most methods of QueryRef forward types from @apollo/client. That should allow always using
      correct types from whichever @apollo/client version is installed without needing to touch
      apollo-angular.
    • QueryRef.valueChanges and QueryRef.queryId are readonly, because there is no reason for
      those to be re-affected.

Patch Changes

[email protected]

18 Feb 14:01
Compare
Choose a tag to compare

Patch Changes

[email protected]

18 Feb 09:16
Compare
Choose a tag to compare

Major Changes

  • #2342
    baf538a
    Thanks @PowerKiKi! - Drop deprecated things:

    • Instead of ApolloModule, use either provideApollo() or provideNamedApollo().
    • Instead of import {graphql} from 'apollo-angular'; use
      import {gql as graphql} from 'apollo-angular';

[email protected]

03 Feb 14:18
Compare
Choose a tag to compare

Patch Changes

  • #2336
    78b0ba1
    Thanks @PowerKiKi! - Export MutationOptionsAlone,
    QueryOptionsAlone, SubscriptionOptionsAlone, WatchQueryOptionsAlone from 'apollo-angular'

[email protected]

29 Jan 07:06
Compare
Choose a tag to compare

Patch Changes

[email protected]

22 Nov 13:49
Compare
Choose a tag to compare

Major Changes

  • #2316
    8c75368
    Thanks @Frozen-byte! - added a complete() method for
    TestOperation object to cancel subscriptions after flush()

    BREAKING CHANGE: subscription observables must be manually completed by the complete() method.

Patch Changes

[email protected]

17 Oct 11:43
Compare
Choose a tag to compare

Patch Changes

  • #2312
    8bbdc6b
    Thanks @PowerKiKi! - Smaller bundle for gql

  • #2314
    e98e06a
    Thanks @PowerKiKi! - Deprecate graphql alias for gql tag function

    Because importing the same thing from two different import points will increase the final bundle
    size. If you want a different name for the tag function, then use as syntax, such as:

    import { gql as graphql } from 'apollo-angular';

[email protected]

19 Sep 19:02
Compare
Choose a tag to compare

Minor Changes

Patch Changes