You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add degraded status for health indicator (1cfb8af)
add responseTime to the HealthCheckResult (a0434ae)
@nestjs/terminus no longer has runtime dependencies
BREAKING CHANGES
the package is now ESM-only and requires Node ^20.19.0 || ^22.12.0 || >=24.0.0.
the deprecated HealthIndicator base class and its getStatus() have been
removed. Migrate custom indicators to HealthIndicatorService: super.getStatus(key, isHealthy, data) becomes this.healthIndicatorService.check(key).up(data) / .down(data).
the deprecated error classes are no longer exported: HealthCheckError, ConnectionNotFoundError, TimeoutError, StorageExceededError, UnhealthyResponseCodeError, MongoConnectionError.
throwing inside a health indicator no longer produces a 503. In v11, a thrown HealthCheckError was unwrapped into the health check result; now any thrown
error is treated as an unexpected failure (500) and only a returned down
result marks the check unhealthy (503).