From b8504052d20be5ee6b80583d4dfd6759fcf1195a Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Tue, 28 Jan 2025 06:56:25 +0000
Subject: [PATCH] chore(deps): Bump @nestjs/terminus from 10.2.3 to 11.0.0
(#1177)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[//]: # (dependabot-start)
⚠️ **Dependabot is rebasing this PR** ⚠️
Rebasing might not happen immediately, so don't worry if this takes some
time.
Note: if you make any changes to this PR yourself, they will take
precedence over the rebase.
---
[//]: # (dependabot-end)
Bumps [@nestjs/terminus](https://github.com/nestjs/terminus) from 10.2.3
to 11.0.0.
Sourced from For users who have implemented a custom health indicator, an enhanced
API is now available. However, the existing API will continue to
function as-is without requiring any changes. The new and improved Please note that the async isHealthy(key: string) {
const indicator = this.healthIndicatorService.check(key); }
}
Release notes
@nestjs/terminus
's
releases.
Release 11.0.0
11.0.0
(2025-01-25)
Features
BREAKING CHANGES
HealthIndicatorService
provides a
streamlined way to indicate whether a health indicator is up or
down.HealthIndicator
and
HealthCheckError
classes have been marked as deprecated and
are scheduled for removal in the next major release, version 12.0.0.@Injectable()
export class DogHealthIndicator {
constructor(
private readonly dogService: DogService,
private readonly healthIndicatorService: HealthIndicatorService,
) {}
const dogs = await this.dogService.getDogs();
const badboys = dogs.filter((dog) => dog.state ===
DogState.BAD_BOY);
const isHealthy = badboys.length === 0;
if (!isHealthy) {
return indicator.down({
badboys: badboys.length,
});
}
return indicator.up();
... (truncated)
Sourced from @nestjs/terminus
's
changelog.
11.0.0 (2025-01-25)
11.0.0-beta.1 (2025-01-25)
Bug Fixes
- deps: update dependency
@grpc/proto-loader
to v0.7.13 (bf08ece)- deps: update dependency
@nestjs/typeorm
to v10.0.2 (8430d1f)- deps: update dependency mysql2 to v3.9.8 [security] (eae8679)
- deps: update dependency reflect-metadata to v0.2.2 (004d971)
Features
- update dependencies (969bfd7)
11.0.0-beta.0 (2025-01-23)
Features
BREAKING CHANGES
- Drop support for Node 16 / 18
10.3.0 (2025-01-23)
10.3.0-beta.0 (2024-07-16)
Features
eb59375
chore(): release v11.0.0077f3de
chore: update pnpm-lock.yaml15ec9d0
chore: update jsdocf9252d1
chore(): release v11.0.0-beta.1c7c247c
Merge pull request #2567
from nestjs/renovate/amqplib-0.x9119f57
chore(deps): update dependency amqplib to v0.10.5088c406
Merge pull request #2578
from nestjs/renovate/reflect-metadata-0.x004d971
fix(deps): update dependency reflect-metadata to v0.2.2c1868b9
Merge pull request #2577
from nestjs/renovate/nestjs-typeorm-10.xf7908f7
Merge pull request #2544
from nestjs/renovate/npm-mysql2-vulnerability