Skip to content

Commit 1db7792

Browse files
authored
Merge pull request #12460 from apollographql/release-3.14
Release 3.14
2 parents c97c08c + 31d0943 commit 1db7792

File tree

113 files changed

+4297
-967
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+4297
-967
lines changed

.api-reports/api-report-cache.api.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ namespace Cache_2 {
138138
}
139139
// (undocumented)
140140
interface ReadOptions<TVariables = any, TData = any> extends DataProxy.Query<TVariables, TData> {
141-
// @deprecated (undocumented)
141+
// @deprecated
142142
canonizeResults?: boolean;
143143
// (undocumented)
144144
optimistic: boolean;
@@ -682,7 +682,7 @@ export class InMemoryCache extends ApolloCache<NormalizedCacheObject> {
682682

683683
// @public (undocumented)
684684
export interface InMemoryCacheConfig extends ApolloReducerConfig {
685-
// @deprecated (undocumented)
685+
// @deprecated
686686
canonizeResults?: boolean;
687687
// (undocumented)
688688
fragments?: FragmentRegistryAPI;
@@ -1182,7 +1182,7 @@ interface WriteContext extends ReadMergeModifyContext {
11821182

11831183
// Warnings were encountered during analysis:
11841184
//
1185-
// src/cache/core/cache.ts:92:7 - (ae-forgotten-export) The symbol "MaybeMasked" needs to be exported by the entry point index.d.ts
1185+
// src/cache/core/cache.ts:96:7 - (ae-forgotten-export) The symbol "MaybeMasked" needs to be exported by the entry point index.d.ts
11861186
// src/cache/inmemory/policies.ts:93:3 - (ae-forgotten-export) The symbol "FragmentMap" needs to be exported by the entry point index.d.ts
11871187
// src/cache/inmemory/policies.ts:162:3 - (ae-forgotten-export) The symbol "KeySpecifier" needs to be exported by the entry point index.d.ts
11881188
// src/cache/inmemory/policies.ts:162:3 - (ae-forgotten-export) The symbol "KeyArgsFunction" needs to be exported by the entry point index.d.ts

.api-reports/api-report-core.api.md

Lines changed: 129 additions & 48 deletions
Large diffs are not rendered by default.

.api-reports/api-report-errors.api.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ interface DefaultContext extends Record<string, any> {
5656

5757
// Warning: (ae-forgotten-export) The symbol "ExecutionPatchResultBase" needs to be exported by the entry point index.d.ts
5858
//
59-
// @public (undocumented)
59+
// @public @deprecated (undocumented)
6060
interface ExecutionPatchIncrementalResult<TData = Record<string, any>, TExtensions = Record<string, any>> extends ExecutionPatchResultBase {
6161
// (undocumented)
6262
data?: never;
@@ -70,7 +70,7 @@ interface ExecutionPatchIncrementalResult<TData = Record<string, any>, TExtensio
7070
incremental?: IncrementalPayload<TData, TExtensions>[];
7171
}
7272

73-
// @public (undocumented)
73+
// @public @deprecated (undocumented)
7474
interface ExecutionPatchInitialResult<TData = Record<string, any>, TExtensions = Record<string, any>> extends ExecutionPatchResultBase {
7575
// (undocumented)
7676
data: TData | null | undefined;
@@ -85,7 +85,7 @@ interface ExecutionPatchInitialResult<TData = Record<string, any>, TExtensions =
8585
// Warning: (ae-forgotten-export) The symbol "ExecutionPatchInitialResult" needs to be exported by the entry point index.d.ts
8686
// Warning: (ae-forgotten-export) The symbol "ExecutionPatchIncrementalResult" needs to be exported by the entry point index.d.ts
8787
//
88-
// @public (undocumented)
88+
// @public @deprecated (undocumented)
8989
type ExecutionPatchResult<TData = Record<string, any>, TExtensions = Record<string, any>> = ExecutionPatchInitialResult<TData, TExtensions> | ExecutionPatchIncrementalResult<TData, TExtensions>;
9090

9191
// @public (undocumented)
@@ -115,7 +115,7 @@ export type GraphQLErrors = ReadonlyArray<GraphQLError>;
115115
// @public (undocumented)
116116
export function graphQLResultHasProtocolErrors<T>(result: FetchResult<T>): result is FetchResultWithSymbolExtensions<T>;
117117

118-
// @public (undocumented)
118+
// @public @deprecated (undocumented)
119119
interface IncrementalPayload<TData, TExtensions> {
120120
// (undocumented)
121121
data: TData | null;
@@ -131,13 +131,13 @@ interface IncrementalPayload<TData, TExtensions> {
131131
path: Path;
132132
}
133133

134-
// @public (undocumented)
134+
// @public @deprecated (undocumented)
135135
export function isApolloError(err: Error): err is ApolloError;
136136

137137
// @public (undocumented)
138138
export type NetworkError = Error | ServerParseError | ServerError | null;
139139

140-
// @public (undocumented)
140+
// @public @deprecated (undocumented)
141141
type Path = ReadonlyArray<string | number>;
142142

143143
// @public (undocumented)

.api-reports/api-report-link_batch-http.api.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ class ApolloLink {
3232
getMemoryInternals?: () => unknown;
3333
// @internal
3434
readonly left?: ApolloLink;
35-
// (undocumented)
35+
// @deprecated (undocumented)
3636
protected onError(error: any, observer?: Observer<FetchResult>): false | void;
3737
// Warning: (ae-forgotten-export) The symbol "NextLink" needs to be exported by the entry point index.d.ts
3838
//
3939
// (undocumented)
4040
request(operation: Operation, forward?: NextLink): Observable<FetchResult> | null;
4141
// @internal
4242
readonly right?: ApolloLink;
43-
// (undocumented)
43+
// @deprecated (undocumented)
4444
setOnError(fn: ApolloLink["onError"]): this;
4545
// Warning: (ae-forgotten-export) The symbol "Operation" needs to be exported by the entry point index.d.ts
4646
//
@@ -97,7 +97,7 @@ interface DefaultContext extends Record<string, any> {
9797

9898
// Warning: (ae-forgotten-export) The symbol "ExecutionPatchResultBase" needs to be exported by the entry point index.d.ts
9999
//
100-
// @public (undocumented)
100+
// @public @deprecated (undocumented)
101101
interface ExecutionPatchIncrementalResult<TData = Record<string, any>, TExtensions = Record<string, any>> extends ExecutionPatchResultBase {
102102
// (undocumented)
103103
data?: never;
@@ -111,7 +111,7 @@ interface ExecutionPatchIncrementalResult<TData = Record<string, any>, TExtensio
111111
incremental?: IncrementalPayload<TData, TExtensions>[];
112112
}
113113

114-
// @public (undocumented)
114+
// @public @deprecated (undocumented)
115115
interface ExecutionPatchInitialResult<TData = Record<string, any>, TExtensions = Record<string, any>> extends ExecutionPatchResultBase {
116116
// (undocumented)
117117
data: TData | null | undefined;
@@ -126,7 +126,7 @@ interface ExecutionPatchInitialResult<TData = Record<string, any>, TExtensions =
126126
// Warning: (ae-forgotten-export) The symbol "ExecutionPatchInitialResult" needs to be exported by the entry point index.d.ts
127127
// Warning: (ae-forgotten-export) The symbol "ExecutionPatchIncrementalResult" needs to be exported by the entry point index.d.ts
128128
//
129-
// @public (undocumented)
129+
// @public @deprecated (undocumented)
130130
type ExecutionPatchResult<TData = Record<string, any>, TExtensions = Record<string, any>> = ExecutionPatchInitialResult<TData, TExtensions> | ExecutionPatchIncrementalResult<TData, TExtensions>;
131131

132132
// @public (undocumented)
@@ -173,7 +173,7 @@ interface HttpOptions {
173173
useGETForQueries?: boolean;
174174
}
175175

176-
// @public (undocumented)
176+
// @public @deprecated (undocumented)
177177
interface IncrementalPayload<TData, TExtensions> {
178178
// (undocumented)
179179
data: TData | null;
@@ -211,7 +211,7 @@ interface Operation {
211211
variables: Record<string, any>;
212212
}
213213

214-
// @public (undocumented)
214+
// @public @deprecated (undocumented)
215215
type Path = ReadonlyArray<string | number>;
216216

217217
// @public (undocumented)

.api-reports/api-report-link_batch.api.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ class ApolloLink {
3131
getMemoryInternals?: () => unknown;
3232
// @internal
3333
readonly left?: ApolloLink;
34-
// (undocumented)
34+
// @deprecated (undocumented)
3535
protected onError(error: any, observer?: Observer<FetchResult>): false | void;
3636
// Warning: (ae-forgotten-export) The symbol "NextLink" needs to be exported by the entry point index.d.ts
3737
//
3838
// (undocumented)
3939
request(operation: Operation, forward?: NextLink): Observable<FetchResult> | null;
4040
// @internal
4141
readonly right?: ApolloLink;
42-
// (undocumented)
42+
// @deprecated (undocumented)
4343
setOnError(fn: ApolloLink["onError"]): this;
4444
// Warning: (ae-forgotten-export) The symbol "Operation" needs to be exported by the entry point index.d.ts
4545
//
@@ -87,7 +87,7 @@ interface DefaultContext extends Record<string, any> {
8787

8888
// Warning: (ae-forgotten-export) The symbol "ExecutionPatchResultBase" needs to be exported by the entry point index.d.ts
8989
//
90-
// @public (undocumented)
90+
// @public @deprecated (undocumented)
9191
interface ExecutionPatchIncrementalResult<TData = Record<string, any>, TExtensions = Record<string, any>> extends ExecutionPatchResultBase {
9292
// (undocumented)
9393
data?: never;
@@ -101,7 +101,7 @@ interface ExecutionPatchIncrementalResult<TData = Record<string, any>, TExtensio
101101
incremental?: IncrementalPayload<TData, TExtensions>[];
102102
}
103103

104-
// @public (undocumented)
104+
// @public @deprecated (undocumented)
105105
interface ExecutionPatchInitialResult<TData = Record<string, any>, TExtensions = Record<string, any>> extends ExecutionPatchResultBase {
106106
// (undocumented)
107107
data: TData | null | undefined;
@@ -116,7 +116,7 @@ interface ExecutionPatchInitialResult<TData = Record<string, any>, TExtensions =
116116
// Warning: (ae-forgotten-export) The symbol "ExecutionPatchInitialResult" needs to be exported by the entry point index.d.ts
117117
// Warning: (ae-forgotten-export) The symbol "ExecutionPatchIncrementalResult" needs to be exported by the entry point index.d.ts
118118
//
119-
// @public (undocumented)
119+
// @public @deprecated (undocumented)
120120
type ExecutionPatchResult<TData = Record<string, any>, TExtensions = Record<string, any>> = ExecutionPatchInitialResult<TData, TExtensions> | ExecutionPatchIncrementalResult<TData, TExtensions>;
121121

122122
// @public (undocumented)
@@ -147,7 +147,7 @@ interface GraphQLRequest<TVariables = Record<string, any>> {
147147
variables?: TVariables;
148148
}
149149

150-
// @public (undocumented)
150+
// @public @deprecated (undocumented)
151151
interface IncrementalPayload<TData, TExtensions> {
152152
// (undocumented)
153153
data: TData | null;
@@ -200,7 +200,7 @@ export class OperationBatcher {
200200
enqueueRequest(request: BatchableRequest): Observable<FetchResult>;
201201
}
202202

203-
// @public (undocumented)
203+
// @public @deprecated (undocumented)
204204
type Path = ReadonlyArray<string | number>;
205205

206206
// @public (undocumented)

.api-reports/api-report-link_context.api.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ class ApolloLink {
3131
getMemoryInternals?: () => unknown;
3232
// @internal
3333
readonly left?: ApolloLink;
34-
// (undocumented)
34+
// @deprecated (undocumented)
3535
protected onError(error: any, observer?: Observer<FetchResult>): false | void;
3636
// Warning: (ae-forgotten-export) The symbol "NextLink" needs to be exported by the entry point index.d.ts
3737
//
3838
// (undocumented)
3939
request(operation: Operation, forward?: NextLink): Observable<FetchResult> | null;
4040
// @internal
4141
readonly right?: ApolloLink;
42-
// (undocumented)
42+
// @deprecated (undocumented)
4343
setOnError(fn: ApolloLink["onError"]): this;
4444
// Warning: (ae-forgotten-export) The symbol "Operation" needs to be exported by the entry point index.d.ts
4545
//
@@ -60,7 +60,7 @@ interface DefaultContext extends Record<string, any> {
6060

6161
// Warning: (ae-forgotten-export) The symbol "ExecutionPatchResultBase" needs to be exported by the entry point index.d.ts
6262
//
63-
// @public (undocumented)
63+
// @public @deprecated (undocumented)
6464
interface ExecutionPatchIncrementalResult<TData = Record<string, any>, TExtensions = Record<string, any>> extends ExecutionPatchResultBase {
6565
// (undocumented)
6666
data?: never;
@@ -74,7 +74,7 @@ interface ExecutionPatchIncrementalResult<TData = Record<string, any>, TExtensio
7474
incremental?: IncrementalPayload<TData, TExtensions>[];
7575
}
7676

77-
// @public (undocumented)
77+
// @public @deprecated (undocumented)
7878
interface ExecutionPatchInitialResult<TData = Record<string, any>, TExtensions = Record<string, any>> extends ExecutionPatchResultBase {
7979
// (undocumented)
8080
data: TData | null | undefined;
@@ -89,7 +89,7 @@ interface ExecutionPatchInitialResult<TData = Record<string, any>, TExtensions =
8989
// Warning: (ae-forgotten-export) The symbol "ExecutionPatchInitialResult" needs to be exported by the entry point index.d.ts
9090
// Warning: (ae-forgotten-export) The symbol "ExecutionPatchIncrementalResult" needs to be exported by the entry point index.d.ts
9191
//
92-
// @public (undocumented)
92+
// @public @deprecated (undocumented)
9393
type ExecutionPatchResult<TData = Record<string, any>, TExtensions = Record<string, any>> = ExecutionPatchInitialResult<TData, TExtensions> | ExecutionPatchIncrementalResult<TData, TExtensions>;
9494

9595
// @public (undocumented)
@@ -118,7 +118,7 @@ interface GraphQLRequest<TVariables = Record<string, any>> {
118118
variables?: TVariables;
119119
}
120120

121-
// @public (undocumented)
121+
// @public @deprecated (undocumented)
122122
interface IncrementalPayload<TData, TExtensions> {
123123
// (undocumented)
124124
data: TData | null;
@@ -156,7 +156,7 @@ interface Operation {
156156
variables: Record<string, any>;
157157
}
158158

159-
// @public (undocumented)
159+
// @public @deprecated (undocumented)
160160
type Path = ReadonlyArray<string | number>;
161161

162162
// @public (undocumented)

.api-reports/api-report-link_core.api.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ export class ApolloLink {
2626
getMemoryInternals?: () => unknown;
2727
// @internal
2828
readonly left?: ApolloLink;
29-
// (undocumented)
29+
// @deprecated (undocumented)
3030
protected onError(error: any, observer?: Observer<FetchResult>): false | void;
3131
// (undocumented)
3232
request(operation: Operation, forward?: NextLink): Observable<FetchResult> | null;
3333
// @internal
3434
readonly right?: ApolloLink;
35-
// (undocumented)
35+
// @deprecated (undocumented)
3636
setOnError(fn: ApolloLink["onError"]): this;
3737
// (undocumented)
3838
static split(test: (op: Operation) => boolean, left: ApolloLink | RequestHandler, right?: ApolloLink | RequestHandler): ApolloLink;
@@ -67,7 +67,7 @@ export const execute: typeof ApolloLink.execute;
6767

6868
// Warning: (ae-forgotten-export) The symbol "ExecutionPatchResultBase" needs to be exported by the entry point index.d.ts
6969
//
70-
// @public (undocumented)
70+
// @public @deprecated (undocumented)
7171
export interface ExecutionPatchIncrementalResult<TData = Record<string, any>, TExtensions = Record<string, any>> extends ExecutionPatchResultBase {
7272
// (undocumented)
7373
data?: never;
@@ -79,7 +79,7 @@ export interface ExecutionPatchIncrementalResult<TData = Record<string, any>, TE
7979
incremental?: IncrementalPayload<TData, TExtensions>[];
8080
}
8181

82-
// @public (undocumented)
82+
// @public @deprecated (undocumented)
8383
export interface ExecutionPatchInitialResult<TData = Record<string, any>, TExtensions = Record<string, any>> extends ExecutionPatchResultBase {
8484
// (undocumented)
8585
data: TData | null | undefined;
@@ -91,7 +91,7 @@ export interface ExecutionPatchInitialResult<TData = Record<string, any>, TExten
9191
incremental?: never;
9292
}
9393

94-
// @public (undocumented)
94+
// @public @deprecated (undocumented)
9595
export type ExecutionPatchResult<TData = Record<string, any>, TExtensions = Record<string, any>> = ExecutionPatchInitialResult<TData, TExtensions> | ExecutionPatchIncrementalResult<TData, TExtensions>;
9696

9797
// @public (undocumented)
@@ -120,7 +120,7 @@ export interface GraphQLRequest<TVariables = Record<string, any>> {
120120
variables?: TVariables;
121121
}
122122

123-
// @public (undocumented)
123+
// @public @deprecated (undocumented)
124124
export interface IncrementalPayload<TData, TExtensions> {
125125
// (undocumented)
126126
data: TData | null;
@@ -156,7 +156,7 @@ export interface Operation {
156156
variables: Record<string, any>;
157157
}
158158

159-
// @public (undocumented)
159+
// @public @deprecated (undocumented)
160160
export type Path = ReadonlyArray<string | number>;
161161

162162
// @public (undocumented)

0 commit comments

Comments
 (0)