Skip to content

refactor: Bump @graphql-tools/utils, @graphql-tools/schema and @graphql-tools/merge - #10760

Open
dependabot[bot] wants to merge 1 commit into
alphafrom
dependabot/npm_and_yarn/multi-88f7087ad3
Open

dependabot[bot] wants to merge 1 commit into
alphafrom
dependabot/npm_and_yarn/multi-88f7087ad3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Bumps @graphql-tools/utils, @graphql-tools/schema and @graphql-tools/merge. These dependencies needed to be updated together.
Updates @graphql-tools/utils from 11.2.2 to 13.1.3

Changelog

Sourced from @​graphql-tools/utils's changelog.

13.1.3

Patch Changes

  • #8575 7fbc6e7 Thanks @​ardatan! - mapSchema now remaps directive argument defaults the same way it already remaps field argument defaults.

    Use case: UserRole is remapped to internal ids, and @auth defaults to USER.

    const schema = mapSchema(originalSchema, {
      [MapperKind.ENUM_VALUE]: (valueConfig, typeName, _schema, externalValue) => {
        if (typeName === 'UserRole' && externalValue === 'USER') {
          return { ...valueConfig, value: '3user' };
        }
        return valueConfig;
      },
    });
    // directive @​auth(role: UserRole = USER)
    schema.getDirective('auth').args.find(arg => arg.name === 'role').defaultValue;
    // before: "USER"
    // after:  "3user"

    mapSchema serializes the stored default with the source type before parsing with the remapped type, so an internal value that matches another enum name (USER -> "ADMIN") stays "ADMIN" instead of being parsed as that name.

    forEachDefaultValue walks directive arguments too, so makeExecutableSchema enum resolvers get the same result.

  • #8574 5ceed9d Thanks @​ardatan! - Published Executor types include /// <reference lib="esnext.disposable" preserve="true" /> so consumers do not need skipLibCheck or a full esnext lib just to import this package.

    Use case: an app with "lib": ["es2022"] or ["es2024"] and skipLibCheck: false that imports @graphql-tools/utils:

    import type { Executor } from '@graphql-tools/utils';
    export const executor: Executor = async request => {
    // ...
    };

    Executor can return a Disposable / AsyncIterable result. Those names live in TypeScript's esnext.disposable lib, which is not part of es2022/es2024. Without the preserved reference, tsc reports Cannot find name 'Disposable'. With it, the published .d.ts pulls in that lib for the consumer automatically.

13.1.2

Patch Changes

  • #8558 501109b Thanks @​ardatan! - printSchemaWithDirectives no longer turns unquoted directive argument literals into strings.

    In GraphQL SDL, an unquoted identifier in value position is an EnumValue AST node. A quoted value is a StringValue. Those are different kinds even when the argument type is a custom scalar rather than an enum type. parseLiteral on that scalar receives the original kind, so a custom scalar can treat argument_value and "argument_value" as different inputs.

... (truncated)

Commits
  • f7b0beb chore(release): update monorepo packages versions (#8567)
  • e2f1dca test(utils): reproduce the #4998 unused federation prune path (#8578)
  • 7fbc6e7 fix(utils): map remapped enum defaults on directive arguments (#8575)
  • 5ceed9d fix(utils): do not require consumer lib esnext for Disposable executors (#8574)
  • 9a7f690 chore(release): update monorepo packages versions (#8562)
  • 501109b fix(utils): preserve enum directive argument literals when printing (#8558)
  • fa0bb8e chore(release): update monorepo packages versions (#8553)
  • f87bdf4 feat(utils): share incremental delivery HTTP spec table (#8552)
  • daec359 chore(release): update monorepo packages versions (#8551)
  • 4db5750 feat(executor): publish incremental delivery spec v0.1 and v0.2 (#8550)
  • Additional commits viewable in compare view

Updates @graphql-tools/schema from 10.0.31 to 10.1.5

Changelog

Sourced from @​graphql-tools/schema's changelog.

10.1.5

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.

... (truncated)

Commits
  • 3634233 chore(release): update monorepo packages versions (#8505)
  • 82457d1 fix: preserve symbol-keyed schema extensions (#8445)
  • 28d08e8 chore(release): update monorepo packages versions (#8486)
  • 944121e Upcoming Release Changes (#8483)
  • 3a43b4b Upcoming Release Changes (#8460)
  • 8b9b7df chore(release): update monorepo packages versions (#8365)
  • 23ca392 chore(deps): update dependency graphql-scalars to v2 (#8385)
  • ce2470a build(deps): bump the actions-deps group with 8 updates (#8377)
  • 0f00a44 chore: use HTTPS git URLs for package repository metadata (#8376)
  • 9feabd9 chore(release): update monorepo packages versions (#8327)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for @​graphql-tools/schema since your current version.


Updates @graphql-tools/merge from 9.1.7 to 9.2.8

Changelog

Sourced from @​graphql-tools/merge's changelog.

9.2.8

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.

... (truncated)

Commits
  • 3634233 chore(release): update monorepo packages versions (#8505)
  • 82457d1 fix: preserve symbol-keyed schema extensions (#8445)
  • 691cbd7 build(deps): bump the actions-deps group across 1 directory with 16 updates (...
  • 28d08e8 chore(release): update monorepo packages versions (#8486)
  • a73dd1d build(deps-dev): bump the actions-deps group across 1 directory with 3 update...
  • 944121e Upcoming Release Changes (#8483)
  • 3a43b4b Upcoming Release Changes (#8460)
  • 20d36a5 fix(utils): block prototype pollution in mergeIncrementalResult paths
  • 77bbaec build(deps): bump the actions-deps group with 7 updates (#8434)
  • 861011f build(deps): bump the actions-deps group with 6 updates (#8432)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for @​graphql-tools/merge since your current version.


@dependabot dependabot Bot added dependencies Bot label; pull requests that updates a dependency file javascript Pull requests that update javascript code labels Oct 7, 2026
@coderabbitai

coderabbitai Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 7b0e099d-5bac-4683-8033-da9af0749574

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.06%. Comparing base (fbd370a) to head (84873c7).
⚠️ Report is 1 commits behind head on alpha.

Additional details and impacted files
@@           Coverage Diff           @@
##            alpha   #10760   +/-   ##
=======================================
  Coverage   94.06%   94.06%           
=======================================
  Files         193      193           
  Lines       17367    17367           
  Branches      259      259           
=======================================
  Hits        16337    16337           
  Misses       1008     1008           
  Partials       22       22           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/multi-88f7087ad3 branch 10 times, most recently from b3c42b0 to 6dace02 Compare October 11, 2026 21:56
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/multi-88f7087ad3 branch 10 times, most recently from 79ec556 to eb524b6 Compare October 20, 2026 00:22
@dependabot dependabot Bot changed the title refactor: Bump @graphql-tools/utils, @graphql-tools/schema and @graphql-tools/merge refactor: bump @graphql-tools/utils, @graphql-tools/schema and @graphql-tools/merge Oct 20, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/multi-88f7087ad3 branch from eb524b6 to 85baa2c Compare October 20, 2026 18:12
@parse-github-assistant

Copy link
Copy Markdown

I will reformat the title to use the proper commit message syntax.

1 similar comment
@parse-github-assistant

Copy link
Copy Markdown

I will reformat the title to use the proper commit message syntax.

@parse-github-assistant parse-github-assistant Bot changed the title refactor: bump @graphql-tools/utils, @graphql-tools/schema and @graphql-tools/merge refactor: Bump @graphql-tools/utils, @graphql-tools/schema and @graphql-tools/merge Oct 20, 2026
@dependabot dependabot Bot changed the title refactor: Bump @graphql-tools/utils, @graphql-tools/schema and @graphql-tools/merge refactor: bump @graphql-tools/utils, @graphql-tools/schema and @graphql-tools/merge Oct 21, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/multi-88f7087ad3 branch from 85baa2c to dc48743 Compare October 21, 2026 16:59
@parse-github-assistant

Copy link
Copy Markdown

I will reformat the title to use the proper commit message syntax.

1 similar comment
@parse-github-assistant

Copy link
Copy Markdown

I will reformat the title to use the proper commit message syntax.

@parse-github-assistant parse-github-assistant Bot changed the title refactor: bump @graphql-tools/utils, @graphql-tools/schema and @graphql-tools/merge refactor: Bump @graphql-tools/utils, @graphql-tools/schema and @graphql-tools/merge Oct 21, 2026
@dependabot dependabot Bot changed the title refactor: Bump @graphql-tools/utils, @graphql-tools/schema and @graphql-tools/merge refactor: bump @graphql-tools/utils, @graphql-tools/schema and @graphql-tools/merge Oct 22, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/multi-88f7087ad3 branch from dc48743 to 740bf39 Compare October 22, 2026 17:03
@parse-github-assistant

Copy link
Copy Markdown

I will reformat the title to use the proper commit message syntax.

1 similar comment
@parse-github-assistant

Copy link
Copy Markdown

I will reformat the title to use the proper commit message syntax.

@parse-github-assistant parse-github-assistant Bot changed the title refactor: bump @graphql-tools/utils, @graphql-tools/schema and @graphql-tools/merge refactor: Bump @graphql-tools/utils, @graphql-tools/schema and @graphql-tools/merge Oct 22, 2026
…ql-tools/merge

Bumps [@graphql-tools/utils](https://github.com/ardatan/graphql-tools/tree/HEAD/packages/utils), [@graphql-tools/schema](https://github.com/ardatan/graphql-tools/tree/HEAD/packages/schema) and [@graphql-tools/merge](https://github.com/ardatan/graphql-tools/tree/HEAD/packages/merge). These dependencies needed to be updated together.

Updates `@graphql-tools/utils` from 11.2.2 to 13.1.3
- [Release notes](https://github.com/ardatan/graphql-tools/releases)
- [Changelog](https://github.com/ardatan/graphql-tools/blob/master/packages/utils/CHANGELOG.md)
- [Commits](https://github.com/ardatan/graphql-tools/commits/@graphql-tools/utils@13.1.3/packages/utils)

Updates `@graphql-tools/schema` from 10.0.31 to 10.1.5
- [Release notes](https://github.com/ardatan/graphql-tools/releases)
- [Changelog](https://github.com/ardatan/graphql-tools/blob/master/packages/schema/CHANGELOG.md)
- [Commits](https://github.com/ardatan/graphql-tools/commits/@graphql-tools/schema@10.1.5/packages/schema)

Updates `@graphql-tools/merge` from 9.1.7 to 9.2.8
- [Release notes](https://github.com/ardatan/graphql-tools/releases)
- [Changelog](https://github.com/ardatan/graphql-tools/blob/master/packages/merge/CHANGELOG.md)
- [Commits](https://github.com/ardatan/graphql-tools/commits/@graphql-tools/merge@9.2.8/packages/merge)

---
updated-dependencies:
- dependency-name: "@graphql-tools/merge"
  dependency-version: 9.2.6
  dependency-type: direct:production
- dependency-name: "@graphql-tools/schema"
  dependency-version: 10.1.3
  dependency-type: direct:production
- dependency-name: "@graphql-tools/utils"
  dependency-version: 12.0.3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title refactor: Bump @graphql-tools/utils, @graphql-tools/schema and @graphql-tools/merge refactor: bump @graphql-tools/utils, @graphql-tools/schema and @graphql-tools/merge Oct 22, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/multi-88f7087ad3 branch from 740bf39 to 84873c7 Compare October 22, 2026 18:08
@parse-github-assistant

Copy link
Copy Markdown

I will reformat the title to use the proper commit message syntax.

@parse-github-assistant parse-github-assistant Bot changed the title refactor: bump @graphql-tools/utils, @graphql-tools/schema and @graphql-tools/merge refactor: Bump @graphql-tools/utils, @graphql-tools/schema and @graphql-tools/merge Oct 22, 2026
@parse-github-assistant

Copy link
Copy Markdown

I will reformat the title to use the proper commit message syntax.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Bot label; pull requests that updates a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants