Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Mar 3, 2025

Bumps @nestjs/terminus from 10.2.3 to 11.0.0.

Release notes

Sourced from @​nestjs/terminus's releases.

Release 11.0.0

11.0.0 (2025-01-25)

Migration Guide

Features

  • simplify custom health indicator creation (9f10a9b)
  • upgrade to nestjs v11 (c2569df), closes #2570
  • update dependencies

BREAKING CHANGES

  • Drop support for Node 16 / 18

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 HealthIndicatorService provides a streamlined way to indicate whether a health indicator is up or down.

Please note that the 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,
  ) {}
async isHealthy(key: string) {
const indicator = this.healthIndicatorService.check(key);
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();

}
}

Release 11.0.0-beta.1

... (truncated)

Changelog

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

11.0.0-beta.0 (2025-01-23)

Features

  • simplify custom health indicator creation (9f10a9b)
  • upgrade to nestjs v11 (c2569df), closes #2570

BREAKING CHANGES

  • Drop support for Node 16 / 18

10.3.0 (2025-01-23)

10.3.0-beta.0 (2024-07-16)

Features

  • typeorm: change typeorm mongodb check (2f0e97d)
  • Use nest app logger for Terminus per default (40c6ec5), closes #2547
Commits
  • eb59375 chore(): release v11.0.0
  • 077f3de chore: update pnpm-lock.yaml
  • 15ec9d0 chore: update jsdoc
  • f9252d1 chore(): release v11.0.0-beta.1
  • c7c247c Merge pull request #2567 from nestjs/renovate/amqplib-0.x
  • 9119f57 chore(deps): update dependency amqplib to v0.10.5
  • 088c406 Merge pull request #2578 from nestjs/renovate/reflect-metadata-0.x
  • 004d971 fix(deps): update dependency reflect-metadata to v0.2.2
  • c1868b9 Merge pull request #2577 from nestjs/renovate/nestjs-typeorm-10.x
  • f7908f7 Merge pull request #2544 from nestjs/renovate/npm-mysql2-vulnerability
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@nestjs/terminus](https://github.com/nestjs/terminus) from 10.2.3 to 11.0.0.
- [Release notes](https://github.com/nestjs/terminus/releases)
- [Changelog](https://github.com/nestjs/terminus/blob/master/CHANGELOG.md)
- [Commits](nestjs/terminus@10.2.3...11.0.0)

---
updated-dependencies:
- dependency-name: "@nestjs/terminus"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants