unstale

npm / @nestjs/terminus

@nestjs/terminus

What changed in @nestjs/terminus 11 to 12, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-21.

13 breaking5 new APIs and options2 behavior and defaults3 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.1 on npm

@nestjs/terminus 1222 changes

Breaking changes 13

  • ConnectionNotFoundError is no longer exported.

    12.0.0release notes

  • The deprecated getStatus() method has been removed; use HealthIndicatorService.check(key).up(data) or .down(data).

    12.0.0release notes

  • Throwing inside a health indicator now causes an unexpected failure (500); only a returned down result marks the check unhealthy (503).

    12.0.0release notes

  • HealthCheckError is no longer exported.

    12.0.0release notes

  • The deprecated HealthIndicator base class has been removed; custom indicators should migrate to HealthIndicatorService.

    12.0.0release notes

  • MongoConnectionError is no longer exported.

    12.0.0release notes

  • The Mongoose health check pings the database instead of checking readyState.

    12.0.0release notes

  • The package is now ESM-only, so projects must use it as an ESM package.

    12.0.0release notes

  • The package requires Node ^20.19.0 || ^22.12.0 || >=24.0.0.

    12.0.0release notes

  • @nestjs/terminus no longer has runtime dependencies.

    12.0.0release notes

  • StorageExceededError is no longer exported.

    12.0.0release notes

  • TimeoutError is no longer exported.

    12.0.0release notes

  • UnhealthyResponseCodeError is no longer exported.

    12.0.0release notes

New APIs and options 4

  • Accepts a URL object in HttpHealthIndicator.pingCheck.

    12.1.0release notes

  • A new attempt() function is available.

    12.0.0release notes

  • Health indicators can now report a degraded status.

    12.0.0release notes

  • HealthCheckResult now includes responseTime.

    12.0.0release notes

Behavior and default changes 2

  • A dedicated HttpService is created instead of resolving HttpService from DI.

    12.0.0release notes

  • RMQ pingCheck no longer asserts a queue per probe.

    12.0.0release notes

Fixes and other changes 3

  • Fixes a memory leak in attempt().withTimeout() caused by AbortSignal.any().

    12.1.0release notes

  • shutting_down is set before awaiting the graceful shutdown timeout.

    12.0.0release notes

  • The microservice client is closed when the ping fails.

    12.0.0release notes

@nestjs/terminus 111 changes

New APIs and options 1

  • Custom loggers are provided through dependency injection.

    11.1.1release notes