Packages

@graphql-tools/wrap

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

Upgrading @graphql-tools/wrap From 6.2.4 to 7.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 6.2.4Latest11.2.6
  1. 6.2.4yours
  2. 7.0.0target
25
changes to make
0
advisories fixed
0
new
1
fix

Before you upgrade

Tick each one off as you go
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0

Release by release

  1. 7.0.0

    Migration needed23 Oct 20201 fix
    • Breaking
    • Breaking

      Resolver validation options should now be set to error, warn or ignore rather than true or false. In previous versions, some of the validators caused errors to be thrown, while some issued warnings. This changes brings consistency to validator behavior.

    • Breaking

      The allowResolversNotInSchema has been renamed to requireResolversToMatchSchema, to harmonize the naming convention of all the validators. The default setting of requireResolversToMatchSchema is error, matching the previous behavior.

    • Breaking

      The delegateToSchema return value has matured and been formalized as an ExternalObject, in which all errors are integrated into the GraphQL response, preserving their initial path. Those advanced users accessing the result directly will note the change in error handling. This also allows for the deprecation of unnecessary helper functions including slicedError, getErrors, getErrorsByPathSegment functions. Only external errors with missing or invalid paths must still be preserved by annotating the remote object with special properties. The new getUnpathedErrors function is therefore necessary for retrieving only these errors. Note also the new annotateExternalObject and mergeExternalObjects functions, as well as the renaming of handleResult to resolveExternalValue.

4 other lines we could not sort, mostly version bumps
  • Proxy all the errors

    7.0.0
  • Better error handling for merges #2016, #2062

    7.0.0
  • Disable implicit schema pruning #1817

    7.0.0
  • Mocks not working for functions #1807

    7.0.0

1 internal line (docs, tests, tooling) left out.

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.