From 34b5b6a9f92e2f48f7e52e639507cc48d581011e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 24 Apr 2024 03:02:49 +0000 Subject: [PATCH] chore(release): update monorepo packages versions --- .changeset/chilly-spiders-protect.md | 22 ---------------------- packages/apollo-angular/CHANGELOG.md | 23 +++++++++++++++++++++++ packages/apollo-angular/package.json | 2 +- 3 files changed, 24 insertions(+), 23 deletions(-) delete mode 100644 .changeset/chilly-spiders-protect.md diff --git a/.changeset/chilly-spiders-protect.md b/.changeset/chilly-spiders-protect.md deleted file mode 100644 index 3ca24f598..000000000 --- a/.changeset/chilly-spiders-protect.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -'apollo-angular': major ---- - -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. diff --git a/packages/apollo-angular/CHANGELOG.md b/packages/apollo-angular/CHANGELOG.md index bf39a88cd..86be27590 100644 --- a/packages/apollo-angular/CHANGELOG.md +++ b/packages/apollo-angular/CHANGELOG.md @@ -1,5 +1,28 @@ # Change log +## 7.0.0 + +### Major Changes + +- [#2225](https://github.com/kamilkisiela/apollo-angular/pull/2225) [`712205f`](https://github.com/kamilkisiela/apollo-angular/commit/712205fd8762b1125d614cb58c9fcffcc9135a55) Thanks [@PowerKiKi](https://github.com/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. + ## 6.0.0 ### Major Changes diff --git a/packages/apollo-angular/package.json b/packages/apollo-angular/package.json index 0574a0bff..72c515c5e 100644 --- a/packages/apollo-angular/package.json +++ b/packages/apollo-angular/package.json @@ -1,6 +1,6 @@ { "name": "apollo-angular", - "version": "6.0.0", + "version": "7.0.0", "description": "Use your GraphQL data in your Angular app, with the Apollo Client", "repository": { "type": "git",