From 5f97142216749bac1c1c2ca5d36e1ff7e32ba747 Mon Sep 17 00:00:00 2001 From: Jerel Miller Date: Tue, 4 Feb 2025 19:47:53 -0700 Subject: [PATCH] Update api report and size limits --- .api-reports/api-report-core.api.md | 4 +++- .api-reports/api-report-react.api.md | 8 +++++--- .api-reports/api-report-react_context.api.md | 8 +++++--- .api-reports/api-report-react_hooks.api.md | 8 +++++--- .api-reports/api-report-react_internal.api.md | 8 +++++--- .api-reports/api-report-react_ssr.api.md | 8 +++++--- .api-reports/api-report-testing.api.md | 8 +++++--- .api-reports/api-report-testing_core.api.md | 8 +++++--- .api-reports/api-report-testing_experimental.api.md | 2 +- .api-reports/api-report-testing_react.api.md | 8 +++++--- .api-reports/api-report-utilities.api.md | 8 +++++--- .api-reports/api-report.api.md | 4 +++- .size-limits.json | 4 ++-- 13 files changed, 54 insertions(+), 32 deletions(-) diff --git a/.api-reports/api-report-core.api.md b/.api-reports/api-report-core.api.md index bce48f02265..5aa8527d538 100644 --- a/.api-reports/api-report-core.api.md +++ b/.api-reports/api-report-core.api.md @@ -259,7 +259,7 @@ export interface ApolloPayloadResult, TExtensions = // @public (undocumented) export interface ApolloQueryResult { - complete?: boolean; + complete: boolean; // (undocumented) data: T | undefined; error?: ApolloError; @@ -268,6 +268,8 @@ export interface ApolloQueryResult { loading: boolean; // (undocumented) networkStatus: NetworkStatus; + // @deprecated + partial: boolean; } // @public (undocumented) diff --git a/.api-reports/api-report-react.api.md b/.api-reports/api-report-react.api.md index 92b064efa65..d5e403596bf 100644 --- a/.api-reports/api-report-react.api.md +++ b/.api-reports/api-report-react.api.md @@ -327,7 +327,7 @@ interface ApolloProviderProps { // @public (undocumented) interface ApolloQueryResult { - complete?: boolean; + complete: boolean; // (undocumented) data: T | undefined; // Warning: (ae-forgotten-export) The symbol "ApolloError" needs to be exported by the entry point index.d.ts @@ -339,6 +339,8 @@ interface ApolloQueryResult { // // (undocumented) networkStatus: NetworkStatus; + // @deprecated + partial: boolean; } // @public @@ -2518,8 +2520,8 @@ interface WatchQueryOptions { // @public (undocumented) interface ApolloQueryResult { - complete?: boolean; + complete: boolean; // (undocumented) data: T | undefined; // Warning: (ae-forgotten-export) The symbol "ApolloError" needs to be exported by the entry point index.d.ts @@ -335,6 +335,8 @@ interface ApolloQueryResult { // // (undocumented) networkStatus: NetworkStatus; + // @deprecated + partial: boolean; } // @public @@ -1920,8 +1922,8 @@ interface WatchQueryOptions { - complete?: boolean; + complete: boolean; // (undocumented) data: T | undefined; // Warning: (ae-forgotten-export) The symbol "ApolloError" needs to be exported by the entry point index.d.ts @@ -302,6 +302,8 @@ interface ApolloQueryResult { // // (undocumented) networkStatus: NetworkStatus; + // @deprecated + partial: boolean; } // @public @@ -2345,8 +2347,8 @@ interface WatchQueryOptions { - complete?: boolean; + complete: boolean; // (undocumented) data: T | undefined; // Warning: (ae-forgotten-export) The symbol "ApolloError" needs to be exported by the entry point index.d.ts @@ -302,6 +302,8 @@ interface ApolloQueryResult { // // (undocumented) networkStatus: NetworkStatus; + // @deprecated + partial: boolean; } // Warning: (ae-forgotten-export) The symbol "WrappedQueryRef" needs to be exported by the entry point index.d.ts @@ -2408,8 +2410,8 @@ export function wrapQueryRef(inter // src/core/ObservableQuery.ts:121:5 - (ae-forgotten-export) The symbol "QueryInfo" needs to be exported by the entry point index.d.ts // src/core/QueryManager.ts:159:5 - (ae-forgotten-export) The symbol "MutationStoreValue" needs to be exported by the entry point index.d.ts // src/core/QueryManager.ts:414:7 - (ae-forgotten-export) The symbol "UpdateQueries" needs to be exported by the entry point index.d.ts -// src/core/types.ts:176:3 - (ae-forgotten-export) The symbol "MutationQueryReducer" needs to be exported by the entry point index.d.ts -// src/core/types.ts:205:5 - (ae-forgotten-export) The symbol "Resolver" needs to be exported by the entry point index.d.ts +// src/core/types.ts:184:3 - (ae-forgotten-export) The symbol "MutationQueryReducer" needs to be exported by the entry point index.d.ts +// src/core/types.ts:213:5 - (ae-forgotten-export) The symbol "Resolver" needs to be exported by the entry point index.d.ts // src/core/watchQueryOptions.ts:271:2 - (ae-forgotten-export) The symbol "UpdateQueryFn" needs to be exported by the entry point index.d.ts // src/react/hooks/useBackgroundQuery.ts:38:3 - (ae-forgotten-export) The symbol "SubscribeToMoreFunction" needs to be exported by the entry point index.d.ts // src/react/hooks/useBackgroundQuery.ts:54:3 - (ae-forgotten-export) The symbol "FetchMoreFunction" needs to be exported by the entry point index.d.ts diff --git a/.api-reports/api-report-react_ssr.api.md b/.api-reports/api-report-react_ssr.api.md index 10835594296..342f11595e9 100644 --- a/.api-reports/api-report-react_ssr.api.md +++ b/.api-reports/api-report-react_ssr.api.md @@ -291,7 +291,7 @@ class ApolloLink { // @public (undocumented) interface ApolloQueryResult { - complete?: boolean; + complete: boolean; // (undocumented) data: T | undefined; // Warning: (ae-forgotten-export) The symbol "ApolloError" needs to be exported by the entry point index.d.ts @@ -303,6 +303,8 @@ interface ApolloQueryResult { // // (undocumented) networkStatus: NetworkStatus; + // @deprecated + partial: boolean; } // @public @@ -1908,8 +1910,8 @@ interface WatchQueryOptions { - complete?: boolean; + complete: boolean; // (undocumented) data: T | undefined; // Warning: (ae-forgotten-export) The symbol "ApolloError" needs to be exported by the entry point index.d.ts @@ -302,6 +302,8 @@ interface ApolloQueryResult { // // (undocumented) networkStatus: NetworkStatus; + // @deprecated + partial: boolean; } // @public @@ -1923,8 +1925,8 @@ export function withWarningSpy(it: (...args: TArgs // src/core/ObservableQuery.ts:121:5 - (ae-forgotten-export) The symbol "QueryInfo" needs to be exported by the entry point index.d.ts // src/core/QueryManager.ts:159:5 - (ae-forgotten-export) The symbol "MutationStoreValue" needs to be exported by the entry point index.d.ts // src/core/QueryManager.ts:414:7 - (ae-forgotten-export) The symbol "UpdateQueries" needs to be exported by the entry point index.d.ts -// src/core/types.ts:176:3 - (ae-forgotten-export) The symbol "MutationQueryReducer" needs to be exported by the entry point index.d.ts -// src/core/types.ts:205:5 - (ae-forgotten-export) The symbol "Resolver" needs to be exported by the entry point index.d.ts +// src/core/types.ts:184:3 - (ae-forgotten-export) The symbol "MutationQueryReducer" needs to be exported by the entry point index.d.ts +// src/core/types.ts:213:5 - (ae-forgotten-export) The symbol "Resolver" needs to be exported by the entry point index.d.ts // src/core/watchQueryOptions.ts:271:2 - (ae-forgotten-export) The symbol "UpdateQueryFn" needs to be exported by the entry point index.d.ts // (No @packageDocumentation comment for this package) diff --git a/.api-reports/api-report-testing_core.api.md b/.api-reports/api-report-testing_core.api.md index 8f769a78ce9..76b777d8400 100644 --- a/.api-reports/api-report-testing_core.api.md +++ b/.api-reports/api-report-testing_core.api.md @@ -290,7 +290,7 @@ class ApolloLink { // @public (undocumented) interface ApolloQueryResult { - complete?: boolean; + complete: boolean; // (undocumented) data: T | undefined; // Warning: (ae-forgotten-export) The symbol "ApolloError" needs to be exported by the entry point index.d.ts @@ -302,6 +302,8 @@ interface ApolloQueryResult { // // (undocumented) networkStatus: NetworkStatus; + // @deprecated + partial: boolean; } // @public @@ -1923,8 +1925,8 @@ export function withWarningSpy(it: (...args: TArgs // src/core/ObservableQuery.ts:121:5 - (ae-forgotten-export) The symbol "QueryInfo" needs to be exported by the entry point index.d.ts // src/core/QueryManager.ts:159:5 - (ae-forgotten-export) The symbol "MutationStoreValue" needs to be exported by the entry point index.d.ts // src/core/QueryManager.ts:414:7 - (ae-forgotten-export) The symbol "UpdateQueries" needs to be exported by the entry point index.d.ts -// src/core/types.ts:176:3 - (ae-forgotten-export) The symbol "MutationQueryReducer" needs to be exported by the entry point index.d.ts -// src/core/types.ts:205:5 - (ae-forgotten-export) The symbol "Resolver" needs to be exported by the entry point index.d.ts +// src/core/types.ts:184:3 - (ae-forgotten-export) The symbol "MutationQueryReducer" needs to be exported by the entry point index.d.ts +// src/core/types.ts:213:5 - (ae-forgotten-export) The symbol "Resolver" needs to be exported by the entry point index.d.ts // src/core/watchQueryOptions.ts:271:2 - (ae-forgotten-export) The symbol "UpdateQueryFn" needs to be exported by the entry point index.d.ts // (No @packageDocumentation comment for this package) diff --git a/.api-reports/api-report-testing_experimental.api.md b/.api-reports/api-report-testing_experimental.api.md index 2f555040c6a..08d1802b2a0 100644 --- a/.api-reports/api-report-testing_experimental.api.md +++ b/.api-reports/api-report-testing_experimental.api.md @@ -79,7 +79,7 @@ interface TestSchemaOptions { // Warnings were encountered during analysis: // // src/core/LocalState.ts:46:5 - (ae-forgotten-export) The symbol "FragmentMap" needs to be exported by the entry point index.d.ts -// src/core/types.ts:205:5 - (ae-forgotten-export) The symbol "Resolver" needs to be exported by the entry point index.d.ts +// src/core/types.ts:213:5 - (ae-forgotten-export) The symbol "Resolver" needs to be exported by the entry point index.d.ts // src/testing/experimental/createTestSchema.ts:10:23 - (ae-forgotten-export) The symbol "Resolvers" needs to be exported by the entry point index.d.ts // (No @packageDocumentation comment for this package) diff --git a/.api-reports/api-report-testing_react.api.md b/.api-reports/api-report-testing_react.api.md index e1724085ef4..40000ccbd5c 100644 --- a/.api-reports/api-report-testing_react.api.md +++ b/.api-reports/api-report-testing_react.api.md @@ -291,7 +291,7 @@ class ApolloLink { // @public (undocumented) interface ApolloQueryResult { - complete?: boolean; + complete: boolean; // (undocumented) data: T | undefined; // Warning: (ae-forgotten-export) The symbol "ApolloError" needs to be exported by the entry point index.d.ts @@ -303,6 +303,8 @@ interface ApolloQueryResult { // // (undocumented) networkStatus: NetworkStatus; + // @deprecated + partial: boolean; } // @public @@ -1872,8 +1874,8 @@ interface WatchQueryOptions, TExtensions = Record< // @public (undocumented) interface ApolloQueryResult { - complete?: boolean; + complete: boolean; // (undocumented) data: T | undefined; // Warning: (ae-forgotten-export) The symbol "ApolloError" needs to be exported by the entry point index.d.ts @@ -328,6 +328,8 @@ interface ApolloQueryResult { // // (undocumented) networkStatus: NetworkStatus; + // @deprecated + partial: boolean; } // @public (undocumented) @@ -2883,8 +2885,8 @@ interface WriteContext extends ReadMergeModifyContext { // src/core/ObservableQuery.ts:121:5 - (ae-forgotten-export) The symbol "QueryInfo" needs to be exported by the entry point index.d.ts // src/core/QueryManager.ts:159:5 - (ae-forgotten-export) The symbol "MutationStoreValue" needs to be exported by the entry point index.d.ts // src/core/QueryManager.ts:414:7 - (ae-forgotten-export) The symbol "UpdateQueries" needs to be exported by the entry point index.d.ts -// src/core/types.ts:176:3 - (ae-forgotten-export) The symbol "MutationQueryReducer" needs to be exported by the entry point index.d.ts -// src/core/types.ts:205:5 - (ae-forgotten-export) The symbol "Resolver" needs to be exported by the entry point index.d.ts +// src/core/types.ts:184:3 - (ae-forgotten-export) The symbol "MutationQueryReducer" needs to be exported by the entry point index.d.ts +// src/core/types.ts:213:5 - (ae-forgotten-export) The symbol "Resolver" needs to be exported by the entry point index.d.ts // src/core/watchQueryOptions.ts:271:2 - (ae-forgotten-export) The symbol "UpdateQueryFn" needs to be exported by the entry point index.d.ts // src/utilities/graphql/storeUtils.ts:226:12 - (ae-forgotten-export) The symbol "storeKeyNameStringify" needs to be exported by the entry point index.d.ts // src/utilities/policies/pagination.ts:76:3 - (ae-forgotten-export) The symbol "TRelayEdge" needs to be exported by the entry point index.d.ts diff --git a/.api-reports/api-report.api.md b/.api-reports/api-report.api.md index bce48f02265..5aa8527d538 100644 --- a/.api-reports/api-report.api.md +++ b/.api-reports/api-report.api.md @@ -259,7 +259,7 @@ export interface ApolloPayloadResult, TExtensions = // @public (undocumented) export interface ApolloQueryResult { - complete?: boolean; + complete: boolean; // (undocumented) data: T | undefined; error?: ApolloError; @@ -268,6 +268,8 @@ export interface ApolloQueryResult { loading: boolean; // (undocumented) networkStatus: NetworkStatus; + // @deprecated + partial: boolean; } // @public (undocumented) diff --git a/.size-limits.json b/.size-limits.json index c8d407139c6..c17898ad8bd 100644 --- a/.size-limits.json +++ b/.size-limits.json @@ -1,4 +1,4 @@ { - "dist/apollo-client.min.cjs": 34284, - "import { ApolloClient, InMemoryCache, HttpLink } from \"dist/index.js\" (production)": 34370 + "dist/apollo-client.min.cjs": 34298, + "import { ApolloClient, InMemoryCache, HttpLink } from \"dist/index.js\" (production)": 34387 }