Packages

@graphql-tools/wrap

11.2.6 · 12 Nov 2026MIT15.3M / weekRepositorynpmAtom feed

Your version

204 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 9.x
  2. 9.2.12 – 9.2.165 releases with no change for you2 dependency updates, 3 without a note@graphql-tools/utils 9.1.1@graphql-tools/delegate 9.0.17@graphql-tools/schema 9.0.10Show each
  3. 9.2.11

    7 Nov 2022
  4. 9.2.10

    7 Nov 2022
    • #4823 a58cd6d3 Thanks @ardatan! - Fix the bug when an optional argument's value is not provided with MapLeafValues transform

  5. 9.2.2 – 9.2.98 releases that only update dependencies@graphql-tools/utils 9.0.1@graphql-tools/delegate 9.0.14@graphql-tools/schema 9.0.8Show each
  6. 9.2.1

    14 Sep 2022
  7. 9.2.0

    9 Sep 2022
    • #4706 43c736bd Thanks @ardatan! - RenameTypes: do not rename type if the new name already exists in the schema

  8. 9.1.0

    9 Sep 2022
  9. 9.0.5

    26 Aug 2022
  10. 9.0.4

    12 Aug 2022
  11. 9.0.3

    12 Aug 2022

    Only updates a dependency:@graphql-tools/delegate 9.0.3

  12. 9.0.2

    12 Aug 2022
  13. 9.0.0

    9 Aug 2022
    • Breaking

      #4566 d8dc67aa Thanks @ardatan! - ## Breaking changes

      Schema generation optimization by removing transfomedSchema parameter

      Previously we were applying the transforms multiple times. We needed to introduced some breaking changes to improve the initial wrapped/stitched schema generation performance;

      stitchSchemas doesn't take nested arrays of subschemas

      stitchSchemas no longer accepts an array of arrays of subschema configuration objects. Instead, it accepts an array of subschema configuration objects or schema objects directly.

      stitchSchemas no longer prunes the schema with pruningOptions

      You can use pruneSchema from @graphql-tools/utils to prune the schema instead.

      stitchSchemas no longer respect "@computed" directive if stitchingDirectivesTransformer isn't applied

      Also @graphql-tools/stitch no longer exports computedDirectiveTransformer and defaultSubschemaConfigTransforms. Instead, use @graphql-tools/stitching-directives package for @computed directive. Learn more about setting it up

      computedFields has been removed from the merged type configuration

      MergeTypeConfig.computedFields setting has been removed in favor of new computed field configuration written as:

      merge: {
        MyType: {
          fields: {
            myComputedField: {
              selectionSet: '{ weight }',
              computed: true,
            }
          }
        }
      }

      A field-level selectionSet specifies field dependencies while the computed setting structures the field in a way that assures it is always selected with this data provided. The selectionSet is intentionally generic to support possible future uses. This new pattern organizes all field-level configuration (including canonical) into a single structure.

    • #4624 e3167edc Thanks @n1ru4l! - Fix CommonJS TypeScript resolution with moduleResolution node16 or nodenext

  14. 8.x
  15. 8.5.0

    27 Jun 2022
    • Support TypeScript module resolution.

  16. 8.4.20

    7 Jun 2022
    • Use caret range for the tslib dependency

  17. 8.4.19

    20 May 2022
    • wrap: Wrapped types and fields should be non null

  18. 8.4.14 – 8.4.185 releases that only update dependencies@graphql-tools/utils 8.6.11@graphql-tools/delegate 8.7.9@graphql-tools/schema 8.3.12Show each
  19. 8.4.13

    13 Apr 2022
    • Refine generic typings using extends X when appropriate

      Typescript 4.7 has stricter requirements around generics which is explained well in the related PR: #48366

      These changes resolve the errors that these packages will face when attempting to upgrade to TS 4.7 (still in beta at the time of writing this). Landing these changes now will allow other TS libraries which depend on these packages to experiment with TS 4.7 in the meantime.

  20. 8.4.7 – 8.4.126 releases that only update dependencies@graphql-tools/delegate 8.7.3@graphql-tools/utils 8.6.6@graphql-tools/schema 8.3.7Show each
  21. 8.4.6

    16 Mar 2022
    • Fix - align versions

  22. 8.4.5

    16 Mar 2022
    • Fix - align versions

  23. 8.4.4

    14 Mar 2022
    • url-loader: Get dynamic endpoint value correctly

  24. 8.4.3

    3 Mar 2022
    • wrap: RenameObjectFieldArguments transform

  25. 8.4.2

    24 Feb 2022

    Reading the note…

  26. 8.4.1

    24 Feb 2022

    Reading the note…

  27. 8.4.0

    16 Feb 2022
    • Add better type support for stitchSchemas using subschema transformations

  28. 8.3.3

    6 Jan 2022

    Reading the note…

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.