Skip to content

chore(deps): update dependency @graphql-tools/schema to v10.1.5 - #49

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/graphql-tools-monorepo
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/graphql-tools-monorepo

Conversation

@renovate

@renovate renovate Bot commented Feb 25, 2024 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@graphql-tools/schema (source) 10.0.2 → 10.1.5 age confidence

Release Notes

ardatan/graphql-tools (@​graphql-tools/schema)

v10.1.5

Compare Source

Patch Changes
  • #​8445 82457d1 Thanks @​ardatan! - dependencies updates:

  • #​8445 82457d1 Thanks @​ardatan! - Fix: Preserve symbol-keyed GraphQL extensions when building, merging, or extracting schemas.

    GraphQL.js v17 allows string | symbol keys on schema/type/field extensions (via toObjMapWithSymbols). @graphql-tools was dropping those symbol keys in two places:

    1. mergeDeep only walked enumerable string keys (for...in), so symbol extensions were lost when applying schemaExtensions.
    2. extractExtensionsFromSchema did not copy non-enumerable own symbol keys (enumerable symbols already survive object rest/spread; the explicit loop covers the non-enumerable case).
Example (bug)
import { makeExecutableSchema } from '@graphql-tools/schema'

const META = Symbol('META')

const schema = makeExecutableSchema({
  typeDefs: /* GraphQL */ `
    type Query {
      hello: String
    }
  `,
  schemaExtensions: {
    schemaExtensions: {
      [META]: { source: 'app' },
      tagged: true,
    },
    types: {},
  },
})

// Before: only string keys survived
// schema.extensions === { tagged: true }

// After: symbol keys are preserved
// schema.extensions[META] === { source: 'app' }
// schema.extensions.tagged === true

Schema extension merge/extract and resolver merging always enable { enumerable: true, nonEnumerable: true } so symbol keys survive in tools' own merge/extract paths on every supported GraphQL.js major. (GraphQL.js itself may still drop symbol keys from field configs below v17 when rebuilding types.)

mergeDeep API

mergeDeep now accepts an options object. The old positional boolean arguments still work but are deprecated.

import { mergeDeep } from '@graphql-tools/utils'

// Deprecated (still supported)
mergeDeep([a, b], false, true, false, true)
//                ^proto ^arrays ^len  ^non-enumerable symbols only

// Preferred
mergeDeep([a, b], {
  respectPrototype: false,
  respectArrays: true,
  respectArrayLength: false,
  respectSymbols: {
    enumerable: true, // merge `obj[sym] = value` keys
    nonEnumerable: true, // copy defineProperty(..., { enumerable: false }) symbols
  },
})

respectSymbols defaults to { enumerable: false, nonEnumerable: false } (symbols dropped), matching the historical default. The legacy 5th positional flag still maps to { nonEnumerable: true } only.

Resolver map types (IResolvers / field resolver extensions and type __extensions) now use ExtensionsObject (Record<string | symbol, any>), so symbol-keyed resolver extensions type-check under GraphQL.js v17+.

v10.1.4

Compare Source

Patch Changes

v10.1.3

Compare Source

Patch Changes

v10.1.2

Compare Source

Patch Changes

v10.1.1

Compare Source

Patch Changes

v10.1.0

Compare Source

Minor Changes
  • #​8346
    2273c21
    Thanks @​ardatan! - This release adds GraphQL v17 support and aligns
    the existing executor implementation with the latest GraphQL v17 API changes. The following
    changes are included:

    • getAsyncHelpers is now available on GraphQLResolveInfo. Its track method is used whenever
      waitUntil is available, as in Yoga's
      Explicit Resource Management
    • getAbortSignal is now available on GraphQLResolveInfo, matching behavior that was already
      available in this executor implementation, as in Yoga's
      Execution Cancellation
    • GraphQLResolveInfo automatically aligns variableValues according to the GraphQL version for
      better compatibility. In GraphQL v17 and above, variableValues follows the wrapped shape
      ({ coerced, sources }) expected by GraphQL APIs. In GraphQL v16 and below, variableValues
      remains a flat map as in previous versions.
    • If your custom scalar resolvers define __serialize and __parseValue, they are automatically
      mapped to coerceOutputValue and coerceInputValue in GraphQL v17.
    • BREAKING: @graphql-tools/executor's getVariableValues now returns { variableValues }
      on success, where variableValues is a VariableValues object ({ coerced, sources }). On
      failure, it returns { errors }.
    • BREAKING: collectFields, shouldIncludeNode, getDeferValues, and collectSubFields now
      need a VariableValues object instead of Record<string, any> for the variableValues
      argument.
    • visitResult now internally normalizes ExecutionRequest.variables into a
      VariableValues-compatible shape ({ coerced, sources }) before traversing selections.
Patch Changes

v10.0.38

Compare Source

Patch Changes

v10.0.37

Compare Source

Patch Changes

v10.0.36

Compare Source

Patch Changes

v10.0.35

Compare Source

Patch Changes

v10.0.34

Compare Source

Patch Changes

v10.0.33

Compare Source

Patch Changes

v10.0.32

Compare Source

Patch Changes

v10.0.31

Compare Source

Patch Changes

v10.0.30

Compare Source

Patch Changes

v10.0.29

Compare Source

Patch Changes

v10.0.28

Compare Source

Patch Changes

v10.0.27

Compare Source

Patch Changes

v10.0.26

Compare Source

Patch Changes

v10.0.25

Compare Source

Patch Changes

v10.0.24

Compare Source

Patch Changes

v10.0.23

Compare Source

Patch Changes

v10.0.22

Compare Source

Patch Changes

v10.0.21

Compare Source

Patch Changes

v10.0.20

Compare Source

Patch Changes

v10.0.19

Compare Source

Patch Changes

v10.0.18

Compare Source

Patch Changes

v10.0.17

Compare Source

Patch Changes

v10.0.16

Compare Source

Patch Changes

v10.0.15

Compare Source

Patch Changes

v10.0.14

Compare Source

Patch Changes

v10.0.13

Compare Source

Patch Changes

v10.0.12

Compare Source

Patch Changes

v10.0.11

Compare Source

Patch Changes

v10.0.10

Compare Source

Patch Changes

v10.0.9

Compare Source

Patch Changes

v10.0.8

Compare Source

Patch Changes

v10.0.7

Compare Source

Patch Changes

v10.0.6

Compare Source

Patch Changes

v10.0.5

Compare Source

Patch Changes

v10.0.4

Compare Source

Patch Changes

v10.0.3

Compare Source

Patch Changes

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • 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.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • 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 changed the title fix(deps): update dependency @graphql-tools/schema to v10.0.3 fix(deps): update dependency @graphql-tools/schema to v10.0.4 May 27, 2024
@renovate renovate Bot changed the title fix(deps): update dependency @graphql-tools/schema to v10.0.4 fix(deps): update dependency @graphql-tools/schema to v10.0.5 Aug 12, 2024
@renovate renovate Bot changed the title fix(deps): update dependency @graphql-tools/schema to v10.0.5 fix(deps): update dependency @graphql-tools/schema to v10.0.6 Aug 16, 2024
@renovate renovate Bot changed the title fix(deps): update dependency @graphql-tools/schema to v10.0.6 fix(deps): update dependency @graphql-tools/schema to v10.0.7 Oct 15, 2024
@renovate renovate Bot changed the title fix(deps): update dependency @graphql-tools/schema to v10.0.7 fix(deps): update dependency @graphql-tools/schema to v10.0.8 Nov 13, 2024
@renovate renovate Bot changed the title fix(deps): update dependency @graphql-tools/schema to v10.0.8 fix(deps): update dependency @graphql-tools/schema to v10.0.9 Nov 22, 2024
@renovate renovate Bot changed the title fix(deps): update dependency @graphql-tools/schema to v10.0.9 fix(deps): update dependency @graphql-tools/schema to v10.0.10 Nov 27, 2024
@renovate renovate Bot changed the title fix(deps): update dependency @graphql-tools/schema to v10.0.10 fix(deps): update dependency @graphql-tools/schema to v10.0.11 Dec 4, 2024
@renovate renovate Bot changed the title fix(deps): update dependency @graphql-tools/schema to v10.0.11 fix(deps): update dependency @graphql-tools/schema to v10.0.12 Dec 13, 2024
@renovate renovate Bot changed the title fix(deps): update dependency @graphql-tools/schema to v10.0.12 fix(deps): update dependency @graphql-tools/schema to v10.0.13 Dec 14, 2024
@renovate renovate Bot changed the title fix(deps): update dependency @graphql-tools/schema to v10.0.13 fix(deps): update dependency @graphql-tools/schema to v10.0.14 Dec 24, 2024
@renovate renovate Bot changed the title fix(deps): update dependency @graphql-tools/schema to v10.0.14 fix(deps): update dependency @graphql-tools/schema to v10.0.15 Jan 2, 2025
@renovate renovate Bot changed the title fix(deps): update dependency @graphql-tools/schema to v10.0.15 fix(deps): update dependency @graphql-tools/schema to v10.0.16 Jan 6, 2025
@renovate
renovate Bot force-pushed the renovate/graphql-tools-monorepo branch from 62fabee to e356a43 Compare January 23, 2025 17:58
@renovate
renovate Bot force-pushed the renovate/graphql-tools-monorepo branch from e356a43 to d28b4ed Compare February 9, 2025 13:04
@renovate renovate Bot changed the title fix(deps): update dependency @graphql-tools/schema to v10.0.16 fix(deps): update dependency @graphql-tools/schema to v10.0.18 Feb 11, 2025
@renovate
renovate Bot force-pushed the renovate/graphql-tools-monorepo branch from d28b4ed to 7d82787 Compare February 11, 2025 11:02
@renovate renovate Bot changed the title fix(deps): update dependency @graphql-tools/schema to v10.0.18 fix(deps): update dependency @graphql-tools/schema to v10.0.19 Feb 21, 2025
@renovate
renovate Bot force-pushed the renovate/graphql-tools-monorepo branch from 7d82787 to 70145a3 Compare February 21, 2025 15:15
@renovate renovate Bot changed the title fix(deps): update dependency @graphql-tools/schema to v10.0.19 fix(deps): update dependency @graphql-tools/schema to v10.0.20 Feb 25, 2025
@renovate
renovate Bot force-pushed the renovate/graphql-tools-monorepo branch 3 times, most recently from e581253 to a9e00cb Compare March 4, 2025 01:58
@renovate renovate Bot changed the title fix(deps): update dependency @graphql-tools/schema to v10.0.20 fix(deps): update dependency @graphql-tools/schema to v10.0.21 Mar 4, 2025
@renovate
renovate Bot force-pushed the renovate/graphql-tools-monorepo branch from a9e00cb to dd6dad5 Compare March 11, 2025 13:30
@renovate renovate Bot changed the title fix(deps): update dependency @graphql-tools/schema to v10.0.21 fix(deps): update dependency @graphql-tools/schema to v10.0.22 Mar 13, 2025
@renovate
renovate Bot force-pushed the renovate/graphql-tools-monorepo branch 3 times, most recently from a1e9adb to fd5fbc0 Compare March 14, 2025 03:00
@renovate renovate Bot changed the title fix(deps): update dependency @graphql-tools/schema to v10.0.22 fix(deps): update dependency @graphql-tools/schema to v10.0.23 Mar 14, 2025
@renovate renovate Bot changed the title fix(deps): update dependency @graphql-tools/schema to v10.0.24 fix(deps): update dependency @graphql-tools/schema to v10.0.25 Jul 21, 2025
@renovate
renovate Bot force-pushed the renovate/graphql-tools-monorepo branch 2 times, most recently from 9b4c5b6 to bf6f1ac Compare August 13, 2025 17:05
@renovate
renovate Bot force-pushed the renovate/graphql-tools-monorepo branch from bf6f1ac to 4ca019f Compare September 25, 2025 21:30
@renovate renovate Bot changed the title fix(deps): update dependency @graphql-tools/schema to v10.0.25 chore(deps): update dependency @graphql-tools/schema to v10.0.25 Sep 25, 2025
@renovate
renovate Bot force-pushed the renovate/graphql-tools-monorepo branch from 4ca019f to 74fc54b Compare October 21, 2025 18:06
@renovate
renovate Bot force-pushed the renovate/graphql-tools-monorepo branch from 74fc54b to 5966091 Compare October 30, 2025 16:55
@renovate renovate Bot changed the title chore(deps): update dependency @graphql-tools/schema to v10.0.25 chore(deps): update dependency @graphql-tools/schema to v10.0.26 Oct 30, 2025
@renovate
renovate Bot force-pushed the renovate/graphql-tools-monorepo branch from 5966091 to 9ee127b Compare November 4, 2025 20:50
@renovate renovate Bot changed the title chore(deps): update dependency @graphql-tools/schema to v10.0.26 chore(deps): update dependency @graphql-tools/schema to v10.0.27 Nov 4, 2025
@renovate
renovate Bot force-pushed the renovate/graphql-tools-monorepo branch 2 times, most recently from 6b43dbb to 82abd51 Compare November 12, 2025 01:41
@renovate renovate Bot changed the title chore(deps): update dependency @graphql-tools/schema to v10.0.27 chore(deps): update dependency @graphql-tools/schema to v10.0.28 Nov 12, 2025
@renovate
renovate Bot force-pushed the renovate/graphql-tools-monorepo branch from 82abd51 to 847c520 Compare November 12, 2025 11:15
@renovate renovate Bot changed the title chore(deps): update dependency @graphql-tools/schema to v10.0.28 chore(deps): update dependency @graphql-tools/schema to v10.0.29 Nov 12, 2025
@renovate
renovate Bot force-pushed the renovate/graphql-tools-monorepo branch from 847c520 to d916f0d Compare November 19, 2025 00:28
@renovate
renovate Bot force-pushed the renovate/graphql-tools-monorepo branch from d916f0d to 692d425 Compare November 28, 2025 10:52
@renovate renovate Bot changed the title chore(deps): update dependency @graphql-tools/schema to v10.0.29 chore(deps): update dependency @graphql-tools/schema to v10.0.30 Nov 28, 2025
@renovate
renovate Bot force-pushed the renovate/graphql-tools-monorepo branch from 692d425 to 2877261 Compare December 3, 2025 18:13
@renovate
renovate Bot force-pushed the renovate/graphql-tools-monorepo branch 2 times, most recently from 047dc49 to e202245 Compare January 7, 2026 05:52
@renovate renovate Bot changed the title chore(deps): update dependency @graphql-tools/schema to v10.0.30 chore(deps): update dependency @graphql-tools/schema to v10.0.31 Jan 7, 2026
@renovate
renovate Bot force-pushed the renovate/graphql-tools-monorepo branch from e202245 to 4989ac4 Compare January 8, 2026 17:28
@renovate
renovate Bot force-pushed the renovate/graphql-tools-monorepo branch from 4989ac4 to 25dbd54 Compare January 19, 2026 15:14
@renovate
renovate Bot force-pushed the renovate/graphql-tools-monorepo branch from 25dbd54 to ab92d3d Compare February 2, 2026 20:35
@renovate
renovate Bot force-pushed the renovate/graphql-tools-monorepo branch from ab92d3d to 15a45c5 Compare March 5, 2026 14:40
@renovate
renovate Bot force-pushed the renovate/graphql-tools-monorepo branch from 15a45c5 to 249cfca Compare March 14, 2026 12:56
@renovate
renovate Bot force-pushed the renovate/graphql-tools-monorepo branch 2 times, most recently from 7180fd2 to c7f1e92 Compare March 27, 2026 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants