Skip to content

Commit

Permalink
chore(release): update monorepo packages versions
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and PowerKiKi committed Apr 24, 2024
1 parent 5dd4926 commit 34b5b6a
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 23 deletions.
22 changes: 0 additions & 22 deletions .changeset/chilly-spiders-protect.md

This file was deleted.

23 changes: 23 additions & 0 deletions packages/apollo-angular/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/apollo-angular/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 34b5b6a

Please sign in to comment.