Packages

@envelop/instrumentation

2.0.1 · 12 Nov 2026MIT13.1M / weekRepositoryHomepagenpmAtom feed

Your version

2.0.0

major22 Oct 2026Where it was published

2.0.1 is the newest release of 2.x.

In short

4 breaking

  • Breaking

    Node: minimum supported version is now Node 22. Node 18 and 20 are no longer supported. Future releases will only support Node >=22.

  • Breaking

    GraphQL: minimum supported version is now GraphQL 16. GraphQL 14 and 15 are no longer supported.

  • Breaking

    If you're on Node 18/20, upgrade to Node 22 or later before upgrading this package.

  • Breaking

    If you're on graphql 14/15, upgrade to graphql 16 or 17 first.

Release note

Major Changes

  • Breaking

    #4574
    79b0e8b
    Thanks @egoodwinx! - ### Breaking Changes

    • Node: minimum supported version is now Node 22. Node 18 and 20 are no longer supported.
      Future releases will only support Node >=22.

    • GraphQL: minimum supported version is now GraphQL 16. GraphQL 14 and 15 are no longer
      supported.

    • Request body parsing: Yoga now limits request bodies to 25,000,000 bytes by default.
      Enforcing this limit streams the body through a byte counter, making POST body parsing
      asynchronous even for an in-memory body. As a result, yoga.fetch() can return a Promise where
      it previously returned a synchronous Response, even when all resolvers and plugins are
      synchronous.

Migration

  • Breaking

    If you're on Node 18/20, upgrade to Node 22 or later before upgrading this package.

  • Breaking

    If you're on graphql 14/15, upgrade to graphql 16 or 17 first.

  • Breaking

    Await yoga.fetch() and response body parsing instead of relying on synchronous results. Set
    maxRequestBodySize: false in createYoga to disable the body-size limit and preserve
    synchronous parsing for in-memory bodies, but only if you enforce an appropriate request-body
    limit elsewhere.

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.