Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jun 8, 2024

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Type Update Change Age Adoption Passing Confidence
@0no-co/graphqlsp devDependencies pin ^1.15.11.15.2 age adoption passing confidence
@apollo/client (source) devDependencies minor 4.0.114.1.3 age adoption passing confidence
@apollo/client (source) devDependencies minor 3.11.103.14.0 age adoption passing confidence
@apollo/client-3 (source) devDependencies minor 3.13.03.14.0 age adoption passing confidence
@apollo/datasource-rest devDependencies pin ^6.0.06.0.0 age adoption passing confidence
@apollo/server (source) devDependencies pin ^4.3.04.9.3 age adoption passing confidence
@changesets/cli (source) devDependencies minor 2.27.122.29.8 age adoption passing confidence
@eslint/js (source) devDependencies pin ^9.21.09.21.0 age adoption passing confidence
@graphql-codegen/fragment-matcher (source) devDependencies pin ^5.1.05.1.0 age adoption passing confidence
@graphql-codegen/typescript (source) devDependencies minor 4.0.94.1.6 age adoption passing confidence
@graphql-codegen/typescript-operations (source) devDependencies minor 4.2.34.6.1 age adoption passing confidence
@graphql-codegen/typescript-resolvers (source) devDependencies minor 4.1.04.5.2 age adoption passing confidence
@graphql-tools/mock (source) devDependencies minor 9.0.259.1.5 age adoption passing confidence
@parcel/watcher devDependencies minor 2.4.12.5.6 age adoption passing confidence
@testing-library/dom devDependencies pin ^10.4.110.4.1 age adoption passing confidence
@testing-library/jest-dom devDependencies pin ^6.0.06.1.2 age adoption passing confidence
@testing-library/react devDependencies pin ^16.0.016.0.0 age adoption passing confidence
@testing-library/user-event devDependencies pin ^14.5.114.5.2 age adoption passing confidence
@types/chrome (source) devDependencies minor 0.0.3260.1.36 age adoption passing confidence
@​types/classnames devDependencies pin ^2.2.102.2.10 age adoption passing confidence
@types/jest (source) devDependencies pin ^29.5.029.5.14 age adoption passing confidence
@types/node (source) devDependencies pin ^22.0.022.0.0 age adoption passing confidence
@types/node (source) devDependencies minor 20.14.1020.19.30 age adoption passing confidence
@types/react (source) devDependencies pin ^18.3.2318.3.23 age adoption passing confidence
@types/react-dom (source) devDependencies pin ^18.3.718.3.7 age adoption passing confidence
@typescript-eslint/eslint-plugin (source) devDependencies minor 7.14.17.18.0 age adoption passing confidence
@typescript-eslint/parser (source) devDependencies minor 7.14.17.18.0 age adoption passing confidence
@vitejs/plugin-react (source) devDependencies pin ^4.5.24.5.2 age adoption passing confidence
classnames devDependencies pin ^2.2.62.2.6 age adoption passing confidence
eslint-plugin-jest-dom devDependencies minor 5.4.05.5.0 age adoption passing confidence
eslint-plugin-react devDependencies minor 7.34.37.37.5 age adoption passing confidence
eslint-plugin-testing-library devDependencies minor 6.2.26.5.0 age adoption passing confidence
graphql devDependencies pin ^16.6.016.8.1 age adoption passing confidence
graphql devDependencies pin ^16.0.016.8.1 age adoption passing confidence
graphql devDependencies minor 16.9.016.12.0 age adoption passing confidence
jest (source) devDependencies minor 30.0.530.2.0 age adoption passing confidence
lowdb devDependencies pin ^1.0.01.0.0 age adoption passing confidence
pkg-pr-new (source) devDependencies pin ^0.0.620.0.62 age adoption passing confidence
postcss (source) devDependencies minor 8.4.498.5.6 age adoption passing confidence
postcss-loader devDependencies minor 8.1.18.2.0 age adoption passing confidence
react (source) devDependencies pin ^18.2.018.2.0 age adoption passing confidence
react-dom (source) devDependencies pin ^18.2.018.2.0 age adoption passing confidence
react-router-dom (source) devDependencies pin ^6.0.06.11.2 age adoption passing confidence
rxjs (source) devDependencies pin ^7.8.27.8.2 age adoption passing confidence
tsx (source) devDependencies minor 4.11.04.21.0 age adoption passing confidence
typescript (source) devDependencies minor 5.5.45.9.3 age adoption passing confidence
typescript (source) devDependencies pin ^5.8.35.8.3 age adoption passing confidence
typescript (source) devDependencies minor 5.4.55.9.3 age adoption passing confidence
typescript-eslint (source) devDependencies minor 7.14.17.18.0 age adoption passing confidence
vite (source) devDependencies pin ^6.3.56.4.1 age adoption passing confidence
web-ext-plugin devDependencies minor 2.11.02.12.0 age adoption passing confidence
webpack devDependencies minor 5.101.35.104.1 age adoption passing confidence
ws devDependencies pin ^8.18.08.18.0 age adoption passing confidence
zone.js (source, changelog) devDependencies minor 0.14.70.16.0 age adoption passing confidence

Add the preset :preserveSemverRanges to your config if you don't want to pin your dependencies.


Release Notes

apollographql/apollo-client (@​apollo/client)

v4.1.3

Compare Source

Patch Changes
  • #​13111 bf46fe0 Thanks @​RogerHYang! - Fix createFetchMultipartSubscription to support cancellation via AbortController

    Previously, calling dispose() or unsubscribe() on a subscription created by createFetchMultipartSubscription had no effect - the underlying fetch request would continue running until completion. This was because no AbortController was created or passed to fetch(), and no cleanup function was returned from the Observable.

v4.1.2

Compare Source

Patch Changes
  • #​13105 8b62263 Thanks @​phryneas! - ssrMode, ssrForceFetchDelay or prioritizeCacheValues should not override fetchPolicy: 'cache-only', fetchPolicy: 'no-cache', fetchPolicy: 'standby', skip: true, or skipToken when reading the initial value of an ObservableQuery.

  • #​13105 8b62263 Thanks @​phryneas! - Fix skipToken in useQuery with prerenderStatic and related SSR functions.

  • #​13105 8b62263 Thanks @​phryneas! - Avoid fetches with fetchPolicy: no-cache in useQuery with prerenderStatic and related SSR functions.

v4.1.1

Compare Source

Patch Changes

v4.1.0

Compare Source

Minor Changes
  • #​13043 65e66ca Thanks @​jerelmiller! - Support headers transport for enhanced client awareness.

  • #​12927 785e223 Thanks @​jerelmiller! - You can now provide a callback function as the context option on the mutate function returned by useMutation. The callback function is called with the value of the context option provided to the useMutation hook. This is useful if you'd like to merge the context object provided to the useMutation hook with a value provided to the mutate function.

    function MyComponent() {
      const [mutate, result] = useMutation(MUTATION, {
        context: { foo: true },
      });
    
      async function runMutation() {
        await mutate({
          // sends context as { foo: true, bar: true }
          context: (hookContext) => ({ ...hookContext, bar: true }),
        });
      }
    
      // ...
    }
  • #​12923 94ea3e3 Thanks @​jerelmiller! - Fix an issue where deferred payloads that returned arrays with fewer items than the original cached array would retain items from the cached array. This change includes @stream arrays where stream arrays replace the cached arrays.

  • #​12927 96b531f Thanks @​jerelmiller! - Don't set the fallback value of a @client field to null when a read function is defined. Instead the read function will be called with an existing value of undefined to allow default arguments to be used to set the returned value.

    When a read function is not defined nor is there a defined resolver for the field, warn and set the value to null only in that instance.

  • #​12927 45ebb52 Thanks @​jerelmiller! - Add support for from: null in client.watchFragment and cache.watchFragment. When from is null, the emitted result is:

    {
      data: null,
      dataState: "complete",
      complete: true,
    }
  • #​12926 2b7f2c1 Thanks @​jerelmiller! - Support the newer incremental delivery format for the @defer directive implemented in graphql@17.0.0-alpha.9. Import the GraphQL17Alpha9Handler to use the newer incremental delivery format with @defer.

    import { GraphQL17Alpha9Handler } from "@​apollo/client/incremental";
    
    const client = new ApolloClient({
      // ...
      incrementalHandler: new GraphQL17Alpha9Handler(),
    });

    [!NOTE]
    In order to use the GraphQL17Alpha9Handler, the GraphQL server MUST implement the newer incremental delivery format. You may see errors or unusual behavior if you use the wrong handler. If you are using Apollo Router, continue to use the Defer20220824Handler because Apollo Router does not yet support the newer incremental delivery format.

  • #​12927 45ebb52 Thanks @​jerelmiller! - Add support for arrays with useFragment, useSuspenseFragment, and client.watchFragment. This allows the ability to use a fragment to watch multiple entities in the cache. Passing an array to from will return data as an array where each array index corresponds to the index in the from array.

    function MyComponent() {
      const result = useFragment({
        fragment,
        from: [item1, item2, item3],
      });
    
      // `data` is an array with 3 items
      console.log(result); // { data: [{...}, {...}, {...}], dataState: "complete", complete: true }
    }
  • #​12927 45ebb52 Thanks @​jerelmiller! - Add a getCurrentResult function to the observable returned by client.watchFragment and cache.watchFragment that returns the current value for the watched fragment.

    const observable = client.watchFragment({
      fragment,
      from: { __typename: "Item", id: 1 },
    });
    
    console.log(observable.getCurrentResult());
    // {
    //   data: {...},
    //   dataState: "complete",
    //   complete: true,
    // }
  • #​13038 109efe7 Thanks @​jerelmiller! - Add the from option to readFragment, watchFragment, and updateFragment.

  • #​12918 2e224b9 Thanks @​jerelmiller! - Add support for the @stream directive on both the Defer20220824Handler and the GraphQL17Alpha2Handler.

    [!NOTE]
    The implementations of @stream differ in the delivery of incremental results between the different GraphQL spec versions. If you upgrading from the older format to the newer format, expect the timing of some incremental results to change.

  • #​13056 b224efc Thanks @​jerelmiller! - InMemoryCache no longer filters out explicitly returned undefined items from read functions for array fields. This now makes it possible to create read functions on array fields that return partial data and trigger a fetch for the full list.

  • #​13058 121a2cb Thanks @​jerelmiller! - Add an extensions option to cache.write, cache.writeQuery, and client.writeQuery. This makes extensions available in cache merge functions which can be accessed with the other merge function options.

    As a result of this change, any extensions returned in GraphQL operations are now available in merge in the cache writes for these operations.

  • #​12927 96b531f Thanks @​jerelmiller! - Add an abstract resolvesClientField function to ApolloCache that can be used by caches to tell LocalState if it can resolve a @client field when a local resolver is not defined.

    LocalState will emit a warning and set a fallback value of null when no local resolver is defined and resolvesClientField returns false, or isn't defined. Returning true from resolvesClientField signals that a mechanism in the cache will set the field value. In this case, LocalState won't set the field value.

  • #​13078 bf1e0dc Thanks @​phryneas! - Use the default stream merge function for @stream fields only if stream info is present. This change means that using the older Defer20220824Handler will not use the default stream merge function and will instead truncate the streamed array on the first chunk.

Patch Changes
  • #​12884 d329790 Thanks @​phryneas! - Ensure that PreloadedQueryRef instances are unsubscribed when garbage collected

  • #​13086 1a1d408 Thanks @​phryneas! - Change the returned value from null to {} when all fields in a query were skipped.

    This also fixes a bug where useSuspenseQuery would suspend indefinitely when all fields were skipped.

  • #​13010 7627000 Thanks @​jerelmiller! - Fix an issue where errors parsed from incremental chunks in ErrorLink might throw when using the GraphQL17Alpha9Handler.

  • #​12927 45ebb52 Thanks @​jerelmiller! - Deduplicate watches created by useFragment, client.watchFragment, and cache.watchFragment that contain the same fragment, variables, and identifier. This should improve performance in situations where a useFragment or a client.watchFragment is used to watch the same object in multiple places of an application.

  • #​12927 259ae9b Thanks @​jerelmiller! - Allow FragmentType not only to be called as FragmentType<TData>, but also as FragmentType<TypedDocumentNode>.

  • #​12925 5851800 Thanks @​jerelmiller! - Fix an issue where calling fetchMore with @defer or @stream would not rerender incremental results as they were streamed.

  • #​12927 9e55188 Thanks @​jerelmiller! - Truncate @stream arrays only on last chunk by default.

  • #​13083 f3c2be1 Thanks @​phryneas! - Expose the ExtensionsWithStreamInfo type for extensions in Cache.writeQuery, Cache.write and Cache.update so other cache implementations also can correctly access them.

  • #​12923 94ea3e3 Thanks @​jerelmiller! - Improve the cache data loss warning message when existing or incoming is an array.

  • #​12927 4631175 Thanks @​jerelmiller! - Ignore top-level data values on subsequent chunks in incremental responses.

  • #​12927 2be8de2 Thanks @​jerelmiller! - Create mechanism to add experimental features to Apollo Client

  • #​12927 96b531f Thanks @​jerelmiller! - Ensure LocalState doesn't try to read from the cache when using a no-cache fetch policy.

  • #​12927 bb8ed7b Thanks @​jerelmiller! - Ensure an error is thrown when @stream is detected and an incrementalDelivery handler is not configured.

  • #​13053 23ca0ba Thanks @​phryneas! - Use memoized observable mapping when using watchFragment, useFragment or useSuspenseFragment.

  • #​12927 44706a2 Thanks @​jerelmiller! - Add helper type QueryRef.ForQuery<TypedDocumentNode>

  • #​13082 c257418 Thanks @​phryneas! - Pass streamInfo through result extensions as a WeakRef.

  • #​12927 4631175 Thanks @​jerelmiller! - Fix the Defer20220824Handler.SubsequentResult type to match the FormattedSubsequentIncrementalExecutionResult type in graphql@17.0.0-alpha.2.

  • #​12927 96b531f Thanks @​jerelmiller! - Warn when using a no-cache fetch policy without a local resolver defined. no-cache queries do not read or write to the cache which meant no-cache queries are silently incomplete when the @client field value was handled by a cache read function.

  • #​12927 5776ea0 Thanks @​jerelmiller! - Update the accept header used with the GraphQL17Alpha9Handler to multipart/mixed;incrementalSpec=v0.2 to ensure the newest incremental delivery format is requested.

  • #​12927 45ebb52 Thanks @​jerelmiller! - DeepPartial<Array<TData>> now returns Array<DeepPartial<TData>> instead of Array<DeepPartial<TData | undefined>>.

  • #​13071 99ffe9a Thanks


Configuration

📅 Schedule: Branch creation - "every weekend" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner June 8, 2024 18:12
@relativeci
Copy link

relativeci bot commented Jun 8, 2024

#1770 Bundle Size — 2.01MiB (-0.06%).

953b18d(current) vs 8961f38 main#1758(baseline)

Important

Bundle introduced 1 duplicate package – View changed duplicate packages

Bundle metrics  Change 7 changes Regression 3 regressions Improvement 1 improvement
                 Current
#1770
     Baseline
#1758
Improvement  Initial JS 1.73MiB(-0.05%) 1.73MiB
No change  Initial CSS 0B 0B
Change  Cache Invalidation 86.59% 0%
No change  Chunks 5 5
No change  Assets 235 235
Change  Modules 1529(+0.13%) 1527
Regression  Duplicate Modules 135(+0.75%) 134
Change  Duplicate Code 5.7%(-0.18%) 5.71%
Regression  Packages 180(+0.56%) 179
Regression  Duplicate Packages 12(+9.09%) 11
Bundle size by type  Change 2 changes Improvement 2 improvements
                 Current
#1770
     Baseline
#1758
Improvement  JS 1.73MiB (-0.05%) 1.73MiB
Improvement  Other 250.99KiB (-0.09%) 251.23KiB
No change  IMG 35.85KiB 35.85KiB
No change  HTML 857B 857B

Bundle analysis reportBranch renovate/all-devProject dashboard


Generated by RelativeCIDocumentationReport issue

@renovate renovate bot force-pushed the renovate/all-dev branch 4 times, most recently from c3b1a19 to a1fa681 Compare June 15, 2024 07:24
@renovate renovate bot force-pushed the renovate/all-dev branch 2 times, most recently from 84863a2 to 4ffb67f Compare June 22, 2024 08:17
@renovate
Copy link
Contributor Author

renovate bot commented Jun 22, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: development/client-angular/package-lock.json
npm warn Unknown env config "store". This will stop working in the next major version of npm.
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @angular-devkit/build-angular@17.3.17
npm error Found: typescript@5.9.3
npm error node_modules/typescript
npm error   dev typescript@"5.9.3" from the root project
npm error   peerOptional typescript@">=4.9.5" from cosmiconfig@9.0.0
npm error   node_modules/cosmiconfig
npm error     cosmiconfig@"^9.0.0" from postcss-loader@8.1.1
npm error     node_modules/postcss-loader
npm error       postcss-loader@"8.1.1" from @angular-devkit/build-angular@17.3.17
npm error       node_modules/@angular-devkit/build-angular
npm error         dev @angular-devkit/build-angular@"17.3.17" from the root project
npm error   3 more (ts-node, tslint, tsutils)
npm error
npm error Could not resolve dependency:
npm error peer typescript@">=5.2 <5.5" from @angular-devkit/build-angular@17.3.17
npm error node_modules/@angular-devkit/build-angular
npm error   dev @angular-devkit/build-angular@"17.3.17" from the root project
npm error
npm error Conflicting peer dependency: typescript@5.4.5
npm error node_modules/typescript
npm error   peer typescript@">=5.2 <5.5" from @angular-devkit/build-angular@17.3.17
npm error   node_modules/@angular-devkit/build-angular
npm error     dev @angular-devkit/build-angular@"17.3.17" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /runner/cache/others/npm/_logs/2026-01-31T09_49_31_683Z-eresolve-report.txt
npm error A complete log of this run can be found in: /runner/cache/others/npm/_logs/2026-01-31T09_49_31_683Z-debug-0.log

@renovate renovate bot force-pushed the renovate/all-dev branch 3 times, most recently from cb7321d to 202fe27 Compare June 25, 2024 17:44
@renovate renovate bot changed the title chore(deps): update all devdependencies chore(deps): pin dependencies Jun 25, 2024
@renovate renovate bot force-pushed the renovate/all-dev branch 4 times, most recently from 9257b7c to 0b48714 Compare July 6, 2024 07:23
@renovate renovate bot force-pushed the renovate/all-dev branch 3 times, most recently from dadff7e to b71c208 Compare July 13, 2024 09:09
@renovate renovate bot force-pushed the renovate/all-dev branch 2 times, most recently from 4a27819 to 11c4694 Compare July 20, 2024 09:21
@renovate renovate bot force-pushed the renovate/all-dev branch 2 times, most recently from da25784 to 1d4ec90 Compare August 3, 2024 08:23
@renovate renovate bot force-pushed the renovate/all-dev branch 3 times, most recently from 3f3d626 to 3a4cfd4 Compare August 17, 2024 07:12
@renovate renovate bot force-pushed the renovate/all-dev branch 2 times, most recently from d2d0ea9 to 5d76208 Compare August 19, 2024 03:59
@renovate renovate bot force-pushed the renovate/all-dev branch from 31d6921 to 508331f Compare October 4, 2025 09:36
@renovate renovate bot force-pushed the renovate/all-dev branch 3 times, most recently from 7a4639e to 37b35ef Compare October 18, 2025 09:03
@renovate renovate bot force-pushed the renovate/all-dev branch 2 times, most recently from 8e846e9 to f79292b Compare October 25, 2025 10:16
@renovate renovate bot force-pushed the renovate/all-dev branch 3 times, most recently from 4e26e98 to d890219 Compare November 8, 2025 09:50
@renovate renovate bot force-pushed the renovate/all-dev branch 2 times, most recently from 00714cf to 5fd238f Compare November 22, 2025 09:10
@renovate renovate bot force-pushed the renovate/all-dev branch 2 times, most recently from 0380ac0 to fbfae5d Compare November 29, 2025 10:15
@renovate renovate bot force-pushed the renovate/all-dev branch 2 times, most recently from 3f1bf3f to bf9d553 Compare December 6, 2025 09:13
@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 6, 2025

npm i https://pkg.pr.new/apollographql/apollo-client-devtools@1412
npm i https://pkg.pr.new/apollographql/apollo-client-devtools/@apollo/client-devtools-vscode@1412

commit: 953b18d

@renovate renovate bot force-pushed the renovate/all-dev branch 3 times, most recently from 325f0dc to 602296e Compare December 13, 2025 17:16
@renovate renovate bot force-pushed the renovate/all-dev branch 2 times, most recently from 3fff5df to 53777c3 Compare December 20, 2025 08:58
@renovate renovate bot force-pushed the renovate/all-dev branch from 53777c3 to 9d4b607 Compare January 3, 2026 08:52
@renovate renovate bot force-pushed the renovate/all-dev branch 4 times, most recently from 20415bd to 60294f9 Compare January 17, 2026 09:00
@renovate renovate bot force-pushed the renovate/all-dev branch 2 times, most recently from e849cc6 to b783bcf Compare January 24, 2026 08:39
@renovate renovate bot force-pushed the renovate/all-dev branch from b783bcf to 953b18d Compare January 31, 2026 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants