---
title: "@graphql-yoga/nestjs 5.1.0: release notes, upgrades and advisories"
description: "@graphql-yoga/nestjs 5.1.0: release notes, breaking changes by major version and no known security advisory."
url: https://inlinr.com/packages/@graphql-yoga/nestjs
lang: en
---

[Packages](https://inlinr.com/packages)

# @graphql-yoga/nestjs

5.1.0 · 12 Nov 2026 MIT 67.5k / week [Repository](https://github.com/graphql-hive/graphql-yoga) [Homepage](https://github.com/graphql-hive/graphql-yoga/tree/main/packages/nestjs#readme) [npm](https://www.npmjs.com/package/@graphql-yoga/nestjs) [Atom feed](https://inlinr.com/packages/feed/@graphql-yoga/nestjs)

Your version 

## Where each line stands

[Plan an upgrade](https://inlinr.com/packages/@graphql-yoga/nestjs/upgrade)

LineNewestSecurity

- 5.x 5.1.0 No known advisory Latest line
- 4.x 4.0.4 No known advisory [To 5.1.0](https://inlinr.com/packages/@graphql-yoga/nestjs/upgrade/4.0.4-5.1.0)
- 3.x 3.25.1 No known advisory [To 5.1.0](https://inlinr.com/packages/@graphql-yoga/nestjs/upgrade/3.25.1-5.1.0)
- 2.x 2.1.1 No known advisory [To 5.1.0](https://inlinr.com/packages/@graphql-yoga/nestjs/upgrade/2.1.1-5.1.0)
- 1.x 1.1.1 No known advisory [To 5.1.0](https://inlinr.com/packages/@graphql-yoga/nestjs/upgrade/1.1.1-5.1.0)
- 0.x 0.3.1 No known advisory [To 5.1.0](https://inlinr.com/packages/@graphql-yoga/nestjs/upgrade/0.3.1-5.1.0)

## Latest releases

[All 88 releases](https://inlinr.com/packages/@graphql-yoga/nestjs/releases)

1. 5.x · latest line
2. ### [5.1.0](https://inlinr.com/packages/@graphql-yoga/nestjs/releases/5.1.0 "Open this release") [](https://github.com/graphql-hive/graphql-yoga/releases/tag/%40graphql-yoga/nestjs%405.1.0 "Read this release where it was published")  
12 Nov 2026

  - [#4644](https://github.com/graphql-hive/graphql-yoga/pull/4644 "https://github.com/graphql-hive/graphql-yoga/pull/4644")  
  [50712e4](https://github.com/graphql-hive/graphql-yoga/commit/50712e41d7e3f8c195237b62169c1913de880f82 "https://github.com/graphql-hive/graphql-yoga/commit/50712e41d7e3f8c195237b62169c1913de880f82")  
  Thanks [@jfairley](https://github.com/jfairley "https://github.com/jfairley")! - Support the [@nestjs/platform-node](https://inlinr.com/packages/@nestjs/platform-node) HTTP  
  adapter (`'node'` platform)
3. ### [5.0.1](https://inlinr.com/packages/@graphql-yoga/nestjs/releases/5.0.1 "Open this release") [](https://github.com/graphql-hive/graphql-yoga/releases/tag/%40graphql-yoga/nestjs%405.0.1 "Read this release where it was published")  
23 Oct 2026  
Only updates a dependency: [graphql-yoga 6.0.1](https://inlinr.com/packages/graphql-yoga)
4. ### [5.0.0](https://inlinr.com/packages/@graphql-yoga/nestjs/releases/5.0.0 "Open this release") [](https://github.com/graphql-hive/graphql-yoga/releases/tag/%40graphql-yoga/nestjs%405.0.0 "Read this release where it was published")  
22 Oct 2026

  - Breaking  
  [#4575](https://github.com/graphql-hive/graphql-yoga/pull/4575 "https://github.com/graphql-hive/graphql-yoga/pull/4575")  
  [862447a](https://github.com/graphql-hive/graphql-yoga/commit/862447ad622be3cf945fe943b506add460eaf674 "https://github.com/graphql-hive/graphql-yoga/commit/862447ad622be3cf945fe943b506add460eaf674")  
  Thanks [@egoodwinx](https://github.com/egoodwinx "https://github.com/egoodwinx")! - Use  
  [@graphql-hive/logger](https://github.com/graphql-hive/logger "https://github.com/graphql-hive/logger") and add correlated, per-request  
  logging (closes [#4048](https://github.com/graphql-hive/graphql-yoga/issues/4048))  
  Every request now gets its own logger, available as `context.log` (and `serverContext.log` in  
  plugin hooks), tagged with a `requestId`. Everything logged while handling a request can be  
  correlated by that id.  
  The request id is taken from the host integration if it already assigned one (e.g. Fastify's  
  `request.id`), otherwise from the incoming `x-request-id` header, otherwise generated. It is also  
  sent back in the `x-request-id` response header. Configure it with the new `requestId` option:  
  ```
  createYoga({
    requestId: {
      // don't trust the incoming header, recommended when clients can reach the server directly
      trustHeader: false,
      headerName: 'x-correlation-id',
      generateRequestId: () => myId()
    }
  })
  ```
  Pass `requestId: false` to disable it.  
  At the `info` level, a single "Request processed" line is logged per request with the method,  
  path, operation name and type, response status, error count and duration. At the `debug` level,  
  more details about request processing are logged.  
  Masked errors are now logged with the request's logger, so they can be traced back to the request  
  that caused them. Custom `maskError` functions receive the request's context as an optional fourth  
  argument.  
  The [@envelop/newrelic](https://inlinr.com/packages/@envelop/newrelic), [@envelop/auth0](https://inlinr.com/packages/@envelop/auth0), [@envelop/resource-limitations](https://inlinr.com/packages/@envelop/resource-limitations), [@envelop/statsd](https://inlinr.com/packages/@envelop/statsd),  
  [@envelop/graphql-jit](https://inlinr.com/packages/@envelop/graphql-jit), [@envelop/response-cache](https://inlinr.com/packages/@envelop/response-cache) and [@envelop/response-cache-cloudflare-kv](https://inlinr.com/packages/@envelop/response-cache-cloudflare-kv)  
  plugins accept a new `log` option for their own messages, instead of always writing to the  
  console.  
  [@envelop/response-cache](https://inlinr.com/packages/@envelop/response-cache)'s `shouldCacheResult` now also receives the GraphQL `context`.
  - Breaking  
  The [@graphql-yoga/logger](https://inlinr.com/packages/@graphql-yoga/logger) package has been removed. `graphql-yoga` re-exports `Logger`,  
  `MemoryLogWriter` and `LogLevel` from [@graphql-hive/logger](https://inlinr.com/packages/@graphql-hive/logger) instead.
  - Breaking  
  `createLogger` and the `YogaLogger` type are no longer exported. Use `new Logger(options)`  
  instead.

Dependency tracking

## Know when your own dependencies move

@graphql-yoga/nestjs shipped 2 new majors in the last 12 months, among 22 releases. inlinr shows which of your projects are behind, and what the upgrade breaks.

- Advisories reach you  
An email when a critical or high advisory affects a project, before the next install.
- Upgrades checked first  
Peer ranges, Node, ESM-only and types changes read before you bump.
- Only what matters  
Majors and breaking notes stay; patches and sibling bumps fold into one line.

[How dependency tracking works](https://inlinr.com/dependencies)

## Security

No known security advisory.

## Health

[Details](https://inlinr.com/packages/@graphql-yoga/nestjs/security#signals)

- **Provenance**:
- **Publisher**:
- **Maintainers**:
- **Scorecard**:
- **Size**:

## Weekly downloads

## Works with

- [graphql](https://inlinr.com/packages/graphql)
- [@nestjs/core](https://inlinr.com/packages/@nestjs/core)
- [graphql-yoga](https://inlinr.com/packages/graphql-yoga)
- [@nestjs/common](https://inlinr.com/packages/@nestjs/common)
- [@nestjs/graphql](https://inlinr.com/packages/@nestjs/graphql)

## Same family

- [@envelop/instrumentation 13.1M/wk](https://inlinr.com/packages/@envelop/instrumentation)
- [@envelop/core 12.6M/wk](https://inlinr.com/packages/@envelop/core)
- [graphql-yoga 3.3M/wk](https://inlinr.com/packages/graphql-yoga)
- [@graphql-yoga/logger 2.9M/wk](https://inlinr.com/packages/@graphql-yoga/logger)
- [@envelop/response-cache 152.6k/wk](https://inlinr.com/packages/@envelop/response-cache)
- [@envelop/graphql-jit 61.2k/wk](https://inlinr.com/packages/@envelop/graphql-jit)
- [@envelop/newrelic 47.8k/wk](https://inlinr.com/packages/@envelop/newrelic)
- [@envelop/statsd 27.4k/wk](https://inlinr.com/packages/@envelop/statsd)

Reading releases, release notes and advisories…

Registry facts last checked 20 Nov 2026\. Releases and advisories last read 20 Nov 2026.

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
