Skip to content

Commit b910ee2

Browse files
chore(release): update monorepo packages versions
1 parent f36206a commit b910ee2

File tree

10 files changed

+136
-140
lines changed

10 files changed

+136
-140
lines changed

.changeset/apollo-angular-2355-dependencies.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changeset/chatty-cherries-drum.md

Lines changed: 0 additions & 56 deletions
This file was deleted.

.changeset/early-tigers-draw.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/funny-trainers-look.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

.changeset/giant-clouds-shout.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

.changeset/odd-badgers-fetch.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/rich-dogs-fetch.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

.changeset/tough-masks-search.md

Lines changed: 0 additions & 26 deletions
This file was deleted.

packages/apollo-angular/CHANGELOG.md

Lines changed: 135 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,132 @@
11
# Change log
22

3+
## 12.0.0
4+
5+
### Major Changes
6+
7+
- [#2372](https://github.com/the-guild-org/apollo-angular/pull/2372)
8+
[`44ed9a5`](https://github.com/the-guild-org/apollo-angular/commit/44ed9a53ae686ec758b70ae08b0002dd8f5d919b)
9+
Thanks [@jerelmiller](https://github.com/jerelmiller)! - Namespaced types
10+
11+
Before:
12+
13+
```ts
14+
import type {
15+
MutationOptionsAlone,
16+
QueryOptionsAlone,
17+
SubscriptionOptionsAlone,
18+
WatchQueryOptions,
19+
WatchQueryOptionsAlone,
20+
} from 'apollo-angular';
21+
import type { BatchOptions, Options } from 'apollo-angular/http';
22+
23+
type AllTypes =
24+
| Options
25+
| BatchOptions
26+
| MutationOptionsAlone
27+
| QueryOptionsAlone
28+
| SubscriptionOptionsAlone
29+
| WatchQueryOptions
30+
| WatchQueryOptionsAlone;
31+
```
32+
33+
After:
34+
35+
```ts
36+
import type { Apollo, Mutation, Query, Subscription } from 'apollo-angular';
37+
import type { HttpBatchLink, HttpLink } from 'apollo-angular/http';
38+
39+
type AllTypes =
40+
| HttpLink.Options
41+
| HttpBatchLink.Options
42+
| Mutation.MutateOptions
43+
| Query.FetchOptions
44+
| Subscription.SubscribeOptions
45+
| Apollo.WatchQueryOptions
46+
| Query.WatchOptions;
47+
```
48+
49+
- [#2372](https://github.com/the-guild-org/apollo-angular/pull/2372)
50+
[`bdc93df`](https://github.com/the-guild-org/apollo-angular/commit/bdc93dfca9c1d408f5bbce45713d63affede0f5c)
51+
Thanks [@jerelmiller](https://github.com/jerelmiller)! - `httpHeaders` is a class
52+
53+
Migrate your code like so:
54+
55+
```diff
56+
- const link = httpHeaders();
57+
+ const link = new HttpHeadersLink();
58+
```
59+
60+
- [#2372](https://github.com/the-guild-org/apollo-angular/pull/2372)
61+
[`8c0b7f0`](https://github.com/the-guild-org/apollo-angular/commit/8c0b7f0b47f4b45ee668a4805edd384f66bf30a2)
62+
Thanks [@jerelmiller](https://github.com/jerelmiller)! - Move `useZone` option into subscription
63+
options
64+
65+
```diff
66+
- const obs = apollo.subscribe(options, { useZone: false });
67+
+ const obs = apollo.subscribe({ ...options, useZone: false });
68+
```
69+
70+
- [#2372](https://github.com/the-guild-org/apollo-angular/pull/2372)
71+
[`b9c62a5`](https://github.com/the-guild-org/apollo-angular/commit/b9c62a5b4b3b10c408bfb8386286013051bce71d)
72+
Thanks [@jerelmiller](https://github.com/jerelmiller)! - Combined parameters of `Query`,
73+
`Mutation` and `Subscription` classes generated via codegen
74+
75+
Migrate your code like so:
76+
77+
```diff
78+
class MyComponent {
79+
myQuery = inject(MyQuery);
80+
myMutation = inject(MyMutation);
81+
mySubscription = inject(MySubscription);
82+
83+
constructor() {
84+
- myQuery.watch({ myVariable: 'foo' }, { fetchPolicy: 'cache-and-network' });
85+
+ myQuery.watch({ variables: { myVariable: 'foo' }, fetchPolicy: 'cache-and-network' })
86+
87+
- myMutation.mutate({ myVariable: 'foo' }, { errorPolicy: 'ignore' });
88+
+ myMutation.mutate({ variables: { myVariable: 'foo' }, errorPolicy: 'ignore' });
89+
90+
- mySubscription.subscribe({ myVariable: 'foo' }, { fetchPolicy: 'network-only' });
91+
+ mySubscription.subscribe({ variables: { myVariable: 'foo' }, fetchPolicy: 'network-only' });
92+
}
93+
}
94+
```
95+
96+
### Patch Changes
97+
98+
- [#2355](https://github.com/the-guild-org/apollo-angular/pull/2355)
99+
[`226a963`](https://github.com/the-guild-org/apollo-angular/commit/226a96337f73be26496a9cfd6682230fd61e7304)
100+
Thanks [@PowerKiKi](https://github.com/PowerKiKi)! - dependencies updates:
101+
102+
- Updated dependency
103+
[`@apollo/client@^4.0.1` ↗︎](https://www.npmjs.com/package/@apollo/client/v/4.0.1) (from
104+
`^3.13.1`, in `peerDependencies`)
105+
- Updated dependency [`rxjs@^7.3.0` ↗︎](https://www.npmjs.com/package/rxjs/v/7.3.0) (from
106+
`^6.0.0 || ^7.0.0`, in `peerDependencies`)
107+
108+
- [#2373](https://github.com/the-guild-org/apollo-angular/pull/2373)
109+
[`e65bcce`](https://github.com/the-guild-org/apollo-angular/commit/e65bcce125ac9cfca25ea707f904610afac90906)
110+
Thanks [@PowerKiKi](https://github.com/PowerKiKi)! - Drop support for node 18
111+
112+
- [#2366](https://github.com/the-guild-org/apollo-angular/pull/2366)
113+
[`bdff9d9`](https://github.com/the-guild-org/apollo-angular/commit/bdff9d9c7f8b4c9758126326bed8e1459fb5a533)
114+
Thanks [@PowerKiKi](https://github.com/PowerKiKi)! - Drop ESM2022 in favor of FESM2022
115+
116+
- [#2368](https://github.com/the-guild-org/apollo-angular/pull/2368)
117+
[`0f10355`](https://github.com/the-guild-org/apollo-angular/commit/0f103552a78c9031efb4ec732454f6ce17f02f04)
118+
Thanks [@PowerKiKi](https://github.com/PowerKiKi)! - New repository owners
119+
120+
[@kamilkisiela](https://github.com/kamilkisiela), the creator of this library, has found new
121+
interests and is not able to contribute like in the past. He gracefully transferred ownership of
122+
the repository to me. I have been maintaining this library since 2022, and will continue doing so
123+
in the foreseeable future.
124+
125+
For the package consumers, pretty much nothing will change. The package name, the code, the
126+
relation with [The Guild](https://github.com/the-guild-org), and the maintenance style will all
127+
remain the same. The only difference is the new repository URL:
128+
https://github.com/the-guild-org/apollo-angular.
129+
3130
## 11.0.0
4131

5132
### Major Changes
@@ -364,7 +491,8 @@
364491
[`9a8ea5f`](https://github.com/the-guild-org/apollo-angular/commit/9a8ea5f229cf7937d74332092cb3eba40828b7b1)
365492
- Add `useMutationLoading` flag
366493
[`bc223fe`](https://github.com/the-guild-org/apollo-angular/commit/bc223fe6487edd35c56ad908e4739580ce69f056)
367-
- Fix type inference for Mutations [#1659](https://github.com/the-guild-org/apollo-angular/pull/1659)
494+
- Fix type inference for Mutations
495+
[#1659](https://github.com/the-guild-org/apollo-angular/pull/1659)
368496
- Declare support for Angular 13
369497
- Remove `extract-files` library from dependencies (you need to pass `extractFiles` function to
370498
HttpLink's options)
@@ -540,7 +668,8 @@ Changes:
540668
([PR #607](https://github.com/the-guild-org/apollo-angular/pull/607))
541669
- Adds `sideEffects: false` (webpack)
542670
([PR #580](https://github.com/the-guild-org/apollo-angular/pull/580))
543-
- Supports Angular 6 and RxJS 6 ([PR #580](https://github.com/the-guild-org/apollo-angular/pull/580))
671+
- Supports Angular 6 and RxJS 6
672+
([PR #580](https://github.com/the-guild-org/apollo-angular/pull/580))
544673

545674
## v1.0.1
546675

@@ -638,7 +767,8 @@ Behaves the same as the `ObservableQuery` of `apollo-client`.
638767

639768
## v0.9.0
640769

641-
- Support `apollo-client@0.8.0` ([PR #206](https://github.com/the-guild-org/apollo-angular/pull/206))
770+
- Support `apollo-client@0.8.0`
771+
([PR #206](https://github.com/the-guild-org/apollo-angular/pull/206))
642772
- Support `es6` modules and `tree-shaking`
643773
([PR #151](https://github.com/the-guild-org/apollo-angular/pull/151),
644774
[PR #206](https://github.com/the-guild-org/apollo-angular/pull/206))
@@ -669,7 +799,8 @@ Behaves the same as the `ObservableQuery` of `apollo-client`.
669799
## v0.6.0
670800

671801
- Added support for ApolloClient `v0.5.X` ([PR #])
672-
- Added `subscribeToMore` function ([PR](https://github.com/the-guild-org/apollo-client-rxjs/pull/5))
802+
- Added `subscribeToMore` function
803+
([PR](https://github.com/the-guild-org/apollo-client-rxjs/pull/5))
673804
- **BREAKING CHANGE** No no longer support ApolloClient `v0.4.X`
674805
- **BREAKING CHANGE** Removed `Apollo` decorator (use `Angular2Apollo` service)
675806
- **BREAKING CHANGE** Removed `ApolloQueryPipe` (use `SelectPipe` instead)

packages/apollo-angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "apollo-angular",
3-
"version": "11.0.0",
3+
"version": "12.0.0",
44
"type": "module",
55
"description": "Use your GraphQL data in your Angular app, with the Apollo Client",
66
"repository": {

0 commit comments

Comments
 (0)