Skip to content

Releases: kamilkisiela/apollo-angular

[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

[email protected]

19 Aug 12:40
Compare
Choose a tag to compare

Patch Changes

[email protected]

14 Aug 11:23
Compare
Choose a tag to compare

Minor changes

  • #2226 Thanks @alessbell! - Exposes watchFragment method on the ApolloBase class.

Patch Changes

[email protected]

26 May 07:13
Compare
Choose a tag to compare

Patch Changes

[email protected]

02 May 10:21
Compare
Choose a tag to compare

Patch Changes

[email protected]

24 Apr 03:14
Compare
Choose a tag to compare

Major Changes

  • #2225 712205f Thanks @PowerKiKi! - BREAKING use Typescript strict mode

    This is breaking because:

    • ApolloBase.client throws an error if no client has been created beforehand. The behavior now
      matches the typing that always declared a client existed. In most cases, you should pass either
      apolloOptions or apolloNamedOptions to Apollo.constructor to create the client immediately
      upon construction.
    • ApolloBase.query(), ApolloBase.mutate() and ApolloBase.subscribe() all have a new constraint
      on V. If you inherit from this class, you might need to adjust your typing.
    • Classes that inherit Query, Mutation and Subscription must declare the document member.
      This requirement always existed at runtime but was not enforced at compile time until now. If you
      generated code, you have nothing to do.
    • QueryRef.getLastResult() and QueryRef.getLastError() might return undefined. This was always
      the case, but was typed incorrectly until now.
    • pickFlag() was dropped without any replacement.
    • createPersistedQueryLink() requires options. This was always the case but was typed incorrectly
      until now.

[email protected]

22 Nov 07:25
Compare
Choose a tag to compare

Major Changes

  • #2093
    fbd86daf
    Thanks @PowerKiKi! - - Add Angular 17 Support
    • Drop support for Angular 14, 15 and 16
    • Support for ng add schematics for standalone apps or module apps

Patch Changes

[email protected]

19 Sep 03:08
Compare
Choose a tag to compare

Patch Changes