JabRef / JabRefOnline

https://www.jabref.org
MIT License
31 stars 9 forks source link

chore(deps): update graphql #2481

Closed renovate[bot] closed 2 months ago

renovate[bot] commented 2 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@apollo/client (source) 3.10.8 -> 3.11.2 age adoption passing confidence
@apollo/server (source) 4.10.4 -> 4.10.5 age adoption passing confidence
@as-integrations/h3 1.1.6 -> 1.2.1 age adoption passing confidence
@graphql-tools/utils (source) 10.3.1 -> 10.3.2 age adoption passing confidence
graphql-codegen-typescript-validation-schema 0.12.1 -> 0.16.0 age adoption passing confidence

Release Notes

apollographql/apollo-client (@​apollo/client) ### [`v3.11.2`](https://togithub.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#3112) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/v3.11.1...v3.11.2) ##### Patch Changes - [#​11980](https://togithub.com/apollographql/apollo-client/pull/11980) [`38c0a2c`](https://togithub.com/apollographql/apollo-client/commit/38c0a2c43dd28677ee240754cd389c8a08c05738) Thanks [@​jerelmiller](https://togithub.com/jerelmiller)! - Fix missing `getServerSnapshot` error when using `useSubscription` on the server. ### [`v3.11.1`](https://togithub.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#3111) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/v3.11.0...v3.11.1) ##### Patch Changes - [#​11969](https://togithub.com/apollographql/apollo-client/pull/11969) [`061cab6`](https://togithub.com/apollographql/apollo-client/commit/061cab6627abd4ec81f83c40c1d281c418627c93) Thanks [@​jerelmiller](https://togithub.com/jerelmiller)! - Remove check for `window.__APOLLO_CLIENT__` when determining whether to connect to Apollo Client Devtools when `connectToDevtools` or `devtools.enabled` is not specified. This now simply checks to see if the application is in development mode. - [#​11971](https://togithub.com/apollographql/apollo-client/pull/11971) [`ecf77f6`](https://togithub.com/apollographql/apollo-client/commit/ecf77f6f5b5ccf64cfba51e838e96549fb6c92fe) Thanks [@​jerelmiller](https://togithub.com/jerelmiller)! - Prevent the `setTimeout` for suggesting devtools from running in non-browser environments. ### [`v3.11.0`](https://togithub.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#3110) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/v3.10.8...v3.11.0) ##### Potentially Breaking Fixes - [#​11789](https://togithub.com/apollographql/apollo-client/pull/11789) [`5793301`](https://togithub.com/apollographql/apollo-client/commit/579330147d6bd6f7167a35413a33746103e375cb) Thanks [@​phryneas](https://togithub.com/phryneas)! - Changes usages of the `GraphQLError` type to `GraphQLFormattedError`. This was a type bug - these errors were never `GraphQLError` instances to begin with, and the `GraphQLError` class has additional properties that can never be correctly rehydrated from a GraphQL result. The correct type to use here is `GraphQLFormattedError`. Similarly, please ensure to use the type `FormattedExecutionResult` instead of `ExecutionResult` - the non-"Formatted" versions of these types are for use on the server only, but don't get transported over the network. - [#​11626](https://togithub.com/apollographql/apollo-client/pull/11626) [`228429a`](https://togithub.com/apollographql/apollo-client/commit/228429a1d36eae691473b24fb641ec3cd84c8a3d) Thanks [@​phryneas](https://togithub.com/phryneas)! - Call `nextFetchPolicy` with "variables-changed" even if there is a `fetchPolicy` specified. Previously this would only be called when the current `fetchPolicy` was equal to the `fetchPolicy` option or the option was not specified. If you use `nextFetchPolicy` as a function, expect to see this function called more often. Due to this bug, this also meant that the `fetchPolicy` might be reset to the initial `fetchPolicy`, even when you specified a `nextFetchPolicy` function. If you previously relied on this behavior, you will need to update your `nextFetchPolicy` callback function to implement this resetting behavior. As an example, if your code looked like the following: ```js useQuery(QUERY, { nextFetchPolicy(currentFetchPolicy, info) { // your logic here } ); ``` Update your function to the following to reimplement the resetting behavior: ```js useQuery(QUERY, { nextFetchPolicy(currentFetchPolicy, info) { if (info.reason === 'variables-changed') { return info.initialFetchPolicy; } // your logic here } ); ``` ##### Minor Changes - [#​11923](https://togithub.com/apollographql/apollo-client/pull/11923) [`d88c7f8`](https://togithub.com/apollographql/apollo-client/commit/d88c7f8909e3cb31532e8b1fc7dd06be12f35591) Thanks [@​jerelmiller](https://togithub.com/jerelmiller)! - Add support for `subscribeToMore` function to `useQueryRefHandlers`. - [#​11854](https://togithub.com/apollographql/apollo-client/pull/11854) [`3812800`](https://togithub.com/apollographql/apollo-client/commit/3812800c6e4e5e3e64f473543babdba35ce100c2) Thanks [@​jcostello-atlassian](https://togithub.com/jcostello-atlassian)! - Support extensions in useSubscription - [#​11923](https://togithub.com/apollographql/apollo-client/pull/11923) [`d88c7f8`](https://togithub.com/apollographql/apollo-client/commit/d88c7f8909e3cb31532e8b1fc7dd06be12f35591) Thanks [@​jerelmiller](https://togithub.com/jerelmiller)! - Add support for `subscribeToMore` function to `useLoadableQuery`. - [#​11863](https://togithub.com/apollographql/apollo-client/pull/11863) [`98e44f7`](https://togithub.com/apollographql/apollo-client/commit/98e44f74cb7c7e93a81bdc7492c9218bf4a2dcd4) Thanks [@​phryneas](https://togithub.com/phryneas)! - Reimplement `useSubscription` to fix rules of React violations. - [#​11869](https://togithub.com/apollographql/apollo-client/pull/11869) [`a69327c`](https://togithub.com/apollographql/apollo-client/commit/a69327cce1b36e8855258e9b19427511e0af8748) Thanks [@​phryneas](https://togithub.com/phryneas)! - Rewrite big parts of `useQuery` and `useLazyQuery` to be more compliant with the Rules of React and React Compiler - [#​11936](https://togithub.com/apollographql/apollo-client/pull/11936) [`1b23337`](https://togithub.com/apollographql/apollo-client/commit/1b23337e5a9eec4ce3ed69531ca4f4afe8e897a6) Thanks [@​jerelmiller](https://togithub.com/jerelmiller)! - Add the ability to specify a name for the client instance for use with Apollo Client Devtools. This is useful when instantiating multiple clients to identify the client instance more easily. This deprecates the `connectToDevtools` option in favor of a new `devtools` configuration. ```ts new ApolloClient({ devtools: { enabled: true, name: "Test Client", }, }); ``` This option is backwards-compatible with `connectToDevtools` and will be used in the absense of a `devtools` option. - [#​11923](https://togithub.com/apollographql/apollo-client/pull/11923) [`d88c7f8`](https://togithub.com/apollographql/apollo-client/commit/d88c7f8909e3cb31532e8b1fc7dd06be12f35591) Thanks [@​jerelmiller](https://togithub.com/jerelmiller)! - Add support for `subscribeToMore` function to `useBackgroundQuery`. - [#​11930](https://togithub.com/apollographql/apollo-client/pull/11930) [`a768575`](https://togithub.com/apollographql/apollo-client/commit/a768575ac1454587208aad63abc811b6a966fe72) Thanks [@​jerelmiller](https://togithub.com/jerelmiller)! - Deprecates experimental schema testing utilities introduced in 3.10 in favor of recommending [`@apollo/graphql-testing-library`](https://togithub.com/apollographql/graphql-testing-library). ##### Patch Changes - [#​11951](https://togithub.com/apollographql/apollo-client/pull/11951) [`0de03af`](https://togithub.com/apollographql/apollo-client/commit/0de03af912a76c4e0111f21b4f90a073317b63b6) Thanks [@​phryneas](https://togithub.com/phryneas)! - add React 19 RC to `peerDependencies` - [#​11927](https://togithub.com/apollographql/apollo-client/pull/11927) [`2941824`](https://togithub.com/apollographql/apollo-client/commit/2941824dd66cdd20eee5f2293373ad7a9cf991a4) Thanks [@​phryneas](https://togithub.com/phryneas)! - Add `restart` function to `useSubscription`. - [#​11949](https://togithub.com/apollographql/apollo-client/pull/11949) [`4528918`](https://togithub.com/apollographql/apollo-client/commit/45289186bcaaa33dfe904913eb6df31e2541c219) Thanks [@​alessbell](https://togithub.com/alessbell)! - Remove deprecated `watchFragment` option, `canonizeResults` - [#​11937](https://togithub.com/apollographql/apollo-client/pull/11937) [`78332be`](https://togithub.com/apollographql/apollo-client/commit/78332be32a9af0da33eb3e4100e7a76c3eac2496) Thanks [@​phryneas](https://togithub.com/phryneas)! - `createSchemaFetch`: simulate serialized errors instead of an `ApolloError` instance - [#​11902](https://togithub.com/apollographql/apollo-client/pull/11902) [`96422ce`](https://togithub.com/apollographql/apollo-client/commit/96422ce95b923b560321a88acd2eec35cf2a1c18) Thanks [@​phryneas](https://togithub.com/phryneas)! - Add `cause` field to `ApolloError`. - [#​11806](https://togithub.com/apollographql/apollo-client/pull/11806) [`8df6013`](https://togithub.com/apollographql/apollo-client/commit/8df6013b6b45452ec058fab3e068b5b6d6c493f7) Thanks [@​phryneas](https://togithub.com/phryneas)! - MockLink: add query default variables if not specified in mock request - [#​11926](https://togithub.com/apollographql/apollo-client/pull/11926) [`3dd6432`](https://togithub.com/apollographql/apollo-client/commit/3dd64324dc5156450cead27f8141ea93315ffe65) Thanks [@​phryneas](https://togithub.com/phryneas)! - `watchFragment`: forward additional options to `diffOptions` - [#​11946](https://togithub.com/apollographql/apollo-client/pull/11946) [`7d833b8`](https://togithub.com/apollographql/apollo-client/commit/7d833b80119a991e6d2eb58f2c71074d697b8e63) Thanks [@​jerelmiller](https://togithub.com/jerelmiller)! - Fix issue where mutations were not accessible by Apollo Client Devtools in 3.11.0-rc.0. - [#​11944](https://togithub.com/apollographql/apollo-client/pull/11944) [`8f3d7eb`](https://togithub.com/apollographql/apollo-client/commit/8f3d7eb3bc2e0c2d79c5b1856655abe829390742) Thanks [@​sneyderdev](https://togithub.com/sneyderdev)! - Allow `IgnoreModifier` to be returned from a `optimisticResponse` function when inferring from a `TypedDocumentNode` when used with a generic argument. - [#​11954](https://togithub.com/apollographql/apollo-client/pull/11954) [`4a6e86a`](https://togithub.com/apollographql/apollo-client/commit/4a6e86aeaf6685abf0dd23110784848c8b085735) Thanks [@​phryneas](https://togithub.com/phryneas)! - Document (and deprecate) the previously undocumented `errors` property on the `useQuery` `QueryResult` type. - [#​11719](https://togithub.com/apollographql/apollo-client/pull/11719) [`09a6677`](https://togithub.com/apollographql/apollo-client/commit/09a6677ec1a0cffedeecb2cbac5cd3a3c8aa0fa1) Thanks [@​phryneas](https://togithub.com/phryneas)! - Allow wrapping `createQueryPreloader` - [#​11921](https://togithub.com/apollographql/apollo-client/pull/11921) [`70406bf`](https://togithub.com/apollographql/apollo-client/commit/70406bfd2b9a645d781638569853d9b435e047df) Thanks [@​phryneas](https://togithub.com/phryneas)! - add `ignoreResults` option to `useSubscription`
apollographql/apollo-server (@​apollo/server) ### [`v4.10.5`](https://togithub.com/apollographql/apollo-server/blob/HEAD/packages/server/CHANGELOG.md#4105) [Compare Source](https://togithub.com/apollographql/apollo-server/compare/@apollo/server@4.10.4...@apollo/server@4.10.5) ##### Patch Changes - [#​7821](https://togithub.com/apollographql/apollo-server/pull/7821) [`b2e15e7`](https://togithub.com/apollographql/apollo-server/commit/b2e15e7db6902769d02de2b06ff920ce74701c51) Thanks [@​renovate](https://togithub.com/apps/renovate)! - Non-major dependency updates - [#​7900](https://togithub.com/apollographql/apollo-server/pull/7900) [`86d7111`](https://togithub.com/apollographql/apollo-server/commit/86d711133f3746d094cfb3b39e21fdfa3723181b) Thanks [@​trevor-scheer](https://togithub.com/trevor-scheer)! - Inline a small dependency that was causing build issues for ESM projects
apollo-server-integrations/apollo-server-integration-h3 (@​as-integrations/h3) ### [`v1.2.1`](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/blob/HEAD/CHANGELOG.md#121-2024-07-09) [Compare Source](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/compare/v1.2.0...v1.2.1) ##### ๐Ÿงน Miscellaneous - rename prepare to dev:prepare in package.json to fix publish process ([#​77](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/issues/77)) ([b9fb1ee](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/commit/b9fb1eee893975282782a6e0a4edf2bc9ac9516c)) ### [`v1.2.0`](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/blob/HEAD/CHANGELOG.md#120-2024-07-09) [Compare Source](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/compare/v1.1.6...v1.2.0) ##### ๐Ÿ”– Features - add websocket support for subscriptions via crossws ([#​65](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/issues/65)) ([6a7b9c2](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/commit/6a7b9c228699302676910df4eaffc356fc192c98)) ##### ๐Ÿ“š Documentation - add a simple h3 example ([#​59](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/issues/59)) ([31935e1](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/commit/31935e1c2910e002528d038ea5de1a1c10626abd)) ##### ๐Ÿงน Miscellaneous - add documentation section to changelog ([#​60](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/issues/60)) ([707ec29](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/commit/707ec292ab6c0d0213a0889dca19fbe67dac6f8e)) - add release please manifest ([#​56](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/issues/56)) ([4d26ce4](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/commit/4d26ce4c6e79ee860ff91f1c22b468a03ba014af)) - **deps:** update actions/checkout action to v4 ([#​41](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/issues/41)) ([78887f8](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/commit/78887f8af88935ac027a41deb2cfc213e27d4e95)) - **deps:** update actions/checkout digest to [`8ade135`](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/commit/8ade135) ([#​47](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/issues/47)) ([487a914](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/commit/487a9140017f01c4926f992b20e7e31100fc3843)) - **deps:** update actions/setup-node action to v4 ([#​48](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/issues/48)) ([efc80f5](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/commit/efc80f5da318c92e0b04e6afd8ceca542e25199f)) - **deps:** update all non-major dependencies ([#​40](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/issues/40)) ([dcb6958](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/commit/dcb6958b89df05d987f13bc19ef507ed17bfcd70)) - **deps:** update all non-major dependencies ([#​61](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/issues/61)) ([042b09c](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/commit/042b09c16f6badd49ff799bd6373c1deaef57191)) - **deps:** update all non-major dependencies ([#​67](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/issues/67)) ([c71c9b2](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/commit/c71c9b27229c88d4072c074f866d42a25202a6a3)) - **deps:** update codecov/codecov-action action to v4 ([#​51](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/issues/51)) ([0a0c0fa](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/commit/0a0c0fa1f00e7d3aade0419ae7b3267bd572b50d)) - **deps:** update devdependency eslint to v9 ([#​70](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/issues/70)) ([0f5ead5](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/commit/0f5ead5cbdbc84dc061647d7d127dab6ead07738)) - **deps:** update devdependency eslint-config-unjs to ^0.3.2 ([#​75](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/issues/75)) ([30af89a](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/commit/30af89afa2b811020d3b5364c5fa01550e1235c0)) - **deps:** update devdependency eslint-plugin-unused-imports to v4 ([#​72](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/issues/72)) ([5bf90a6](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/commit/5bf90a6286ca86e2d8ff589099e893e247de4637)) - **deps:** update devdependency vitest to v1 ([#​50](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/issues/50)) ([377463b](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/commit/377463bbe6f2e2288b2c620cf315943eb8bb1c09)) - **deps:** update google-github-actions/release-please-action action to v4 ([#​49](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/issues/49)) ([0b26309](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/commit/0b26309e260f61ec1dd56bee59b52eefd5668434)) - **deps:** update mcr.microsoft.com/vscode/devcontainers/base docker tag to v1 ([#​71](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/issues/71)) ([6d1ecf1](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/commit/6d1ecf1fd20a9435daf98c8085a6ee65ba3b6fb9)) - **deps:** update pnpm to v9 ([#​69](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/issues/69)) ([b86ce31](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/commit/b86ce31d58848944c2533f3332d7e1a1c351c402)) - **deps:** update typescript-eslint monorepo to v7 ([#​52](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/issues/52)) ([e7e70a3](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/commit/e7e70a3d14f73d226cf30cc3a39cfb0d54b6225b)) - **deps:** update vitest monorepo to v2 ([#​73](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/issues/73)) ([810d1b6](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/commit/810d1b6f9844c3c33d87987da252925457dcc7ff)) - format .release-please-manifest.json with Prettier ([#​57](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/issues/57)) ([55c6454](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/commit/55c64541bbd06ae5878524f8865f42d691a0805a)) - move please-release config to config file ([97ef2f7](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/commit/97ef2f79099c0ced39edf9f9148f6689d64e1f98)) - only try to push changes when release PR is created ([79ccbe5](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/commit/79ccbe5fb6b3a5b59a610d082b90871ea0377a5c)) - update [@​vitest/coverage-c8](https://togithub.com/vitest/coverage-c8) to [@​vitest/coverage-v8](https://togithub.com/vitest/coverage-v8) ([#​66](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/issues/66)) ([1da98de](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/commit/1da98de5118b9414ddfb48ba24d217feb3196c1f)) - update CI workflow to include running type tests (and other minor improvements from unjs/template) ([#​76](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/issues/76)) ([bc62b2b](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/commit/bc62b2b5d0a5f780ed5d3db2604dff7ed1f43b1b)) - update Node.js version to 16.10.0 or >=18.0.0 in package.json ([#​74](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/issues/74)) ([ce8958c](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/commit/ce8958c8470868049dc4c0bcbb809cd745fa76a1)) - update release-please config to exclude component in tag ([#​58](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/issues/58)) ([3553907](https://togithub.com/apollo-server-integrations/apollo-server-integration-h3/commit/3553907d8fe0628468b9ac5972cbc97934afb8b5))
ardatan/graphql-tools (@​graphql-tools/utils) ### [`v10.3.2`](https://togithub.com/ardatan/graphql-tools/blob/HEAD/packages/utils/CHANGELOG.md#1032) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/@graphql-tools/utils@10.3.1...@graphql-tools/utils@10.3.2) ##### Patch Changes - [`a276ba8`](https://togithub.com/ardatan/graphql-tools/commit/a276ba83cf7e2aa1c0f81454591a794d6efb8c2a) Thanks [@​ardatan](https://togithub.com/ardatan)! - Respect directive extensions on \`pruneSchema\`

Configuration

๐Ÿ“… Schedule: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

๐Ÿšฆ Automerge: Disabled by config. Please merge this manually once you are satisfied.

โ™ป Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

๐Ÿ‘ป Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



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

github-actions[bot] commented 2 months ago

Deployed 0887c2611b6a6bfcc3ea5d61b7d5fa61b46107ad to https://gentle-forest-03418aa03-2481.westeurope.3.azurestaticapps.net