Releases: nestjs/terminus
Releases · nestjs/terminus
Release 10.2.3
Release 10.2.2
10.2.2 (2024-02-07)
Bug Fixes
MikroOrmHealthIndicators
indicates as up even when disconnected (#2509) (#2511) (069b998), closes #2460- Swagger schema for health check result additional props set to
type: 'object'
instead oftype: 'string'
, (44c06f6), closes #2516 - mark
result
as required in the Swagger Schema for the health check result (01ce13b), @srdanielillo
Dependencies
- deps: update dependency reflect-metadata to v0.2.1 (e2420bd)
- deps: update prisma monorepo to v5.9.1 (d88770c)
- deps: update dependency class-validator to v0.14.1 (#2479) (a8585ce)
- deps: update dependency typeorm to v0.3.20 (#2480) (72e7f7a)
- deps: update mikro-orm monorepo to v5.9.7 (#2481) (1eaa605)
- deps: update nest monorepo (#2482) (3c555e0)
Release 10.2.2-beta.0
10.2.2-beta.0 (2024-01-31)
Bug Fixes
- deps: update dependency class-validator to v0.14.1 (#2479) (a8585ce)
- deps: update dependency typeorm to v0.3.20 (#2480) (72e7f7a)
- deps: update mikro-orm monorepo to v5.9.7 (#2481) (1eaa605)
- deps: update nest monorepo (#2482) (3c555e0)
- mikroorm is indicated as up even when disconnected (#2509) (#2511) (069b998), closes #2460
Release 10.2.1
Release 10.2.0
10.2.0 (2023-11-27)
Bug Fixes
- Fixed typeorm mongodb health check fails with mongodb>=5.0 (#2399) (b6026c2) @supaflyENJOY
Features
- Add graceful shutdown timeout configuration option, read more here (#2422) (cc3d402) @Lp-Francois
Dependencies
- deps: update dependency @grpc/grpc-js to v1.9.11 (8b9477e)
- deps: update dependency @grpc/grpc-js to v1.9.3 (8205d8e)
- deps: update dependency @grpc/proto-loader to v0.7.10 (#2398) (c16da49)
- deps: update dependency @mikro-orm/nestjs to v5.2.2 (0c72183)
- deps: update dependency @nestjs/axios to v3 (6f1d4bb)
- deps: update dependency @nestjs/axios to v3.0.1 (#2438) (7239bb0)
- deps: update dependency @nestjs/mongoose to v10.0.1 (9c4baef)
- deps: update dependency @nestjs/mongoose to v10.0.2 (8e70686)
- deps: update dependency @nestjs/sequelize to v10 (100d8fa)
- deps: update dependency @nestjs/typeorm to v10 (77972fe)
- deps: update dependency @nestjs/typeorm to v10.0.1 (3cf5c15)
- deps: update dependency mongoose to v7.6.4 (51cb375)
- deps: update dependency mongoose to v7.6.5 (af11baf)
- deps: update dependency redis to v4.6.8 (5c35747)
- deps: update dependency rimraf to v5 (46cd5be)
- deps: update dependency sequelize to v6.33.0 (b362509)
- deps: update dependency typeorm to v0.3.17 (d07b83a)
- deps: update mikro-orm monorepo to v5.8.1 (2a0d68a)
- deps: update nest monorepo (c25b594)
- deps: update prisma monorepo to v4.16.2 (3933016)
Release 10.2.0-beta.0
10.2.0-beta.0 (2023-11-27)
Bug Fixes
- deps: update dependency @grpc/grpc-js to v1.9.11 (8b9477e)
- deps: update dependency @grpc/grpc-js to v1.9.3 (8205d8e)
- deps: update dependency @grpc/proto-loader to v0.7.10 (#2398) (c16da49)
- deps: update dependency @mikro-orm/nestjs to v5.2.2 (0c72183)
- deps: update dependency @nestjs/axios to v3 (6f1d4bb)
- deps: update dependency @nestjs/axios to v3.0.1 (#2438) (7239bb0)
- deps: update dependency @nestjs/mongoose to v10.0.1 (9c4baef)
- deps: update dependency @nestjs/mongoose to v10.0.2 (8e70686)
- deps: update dependency @nestjs/sequelize to v10 (100d8fa)
- deps: update dependency @nestjs/typeorm to v10 (77972fe)
- deps: update dependency @nestjs/typeorm to v10.0.1 (3cf5c15)
- deps: update dependency mongoose to v7.6.4 (51cb375)
- deps: update dependency mongoose to v7.6.5 (af11baf)
- deps: update dependency redis to v4.6.8 (5c35747)
- deps: update dependency rimraf to v5 (46cd5be)
- deps: update dependency sequelize to v6.33.0 (b362509)
- deps: update dependency typeorm to v0.3.17 (d07b83a)
- deps: update mikro-orm monorepo to v5.8.1 (2a0d68a)
- deps: update nest monorepo (c25b594)
- deps: update prisma monorepo to v4.16.2 (3933016)
- Fixed typeorm mongodb health check fails with mongodb>=5.0 (#2399) (b6026c2)
Features
Release 10.1.1
Release 10.1.0
10.1.0 (2023-09-14)
Bug Fixes
- deps: update dependencies
- fails if unexpected error type thrown (b641d2e), closes #2256
- grpc: Memory leak due to open channel references (781c00e), closes #2329, @SophiaH67
- microservice: connect to kafka with
producerOnlyMode
per default (c6d8f7c), closes #1690 - mikroorm: mikro-orm connection
type
is deprecated (1c0eff9), closes #2259 , @StefanPrintezis
Features
Release 10.0.1
Release 10.0.0
Features
Get started with Prisma & Terminus
- Install Prisma
- Install the latest version of Terminus
npm i @nestjs/terminus@10
- Update your
health.controller.ts
:
@Controller()
export class HealthController {
constructor(
private readonly health: HealthCheckService,
private readonly prisma: PrismaHealthIndicator,
private readonly prismaService: PrismaService,
) {}
@Get('/health')
healthCheck() {
return this.health.check([
() => this.prisma.pingCheck('prisma', this.prismaService),
]);
}
}
Dependencies
- deps: update dependency @grpc/grpc-js to v1.8.14 (#2262) (86152cc)
- deps: update dependency @grpc/grpc-js to v1.8.15 (#2280) (6ecdc1f)
- deps: update dependency @grpc/proto-loader to v0.7.6 (#2263) (638a7cd)
- deps: update dependency @grpc/proto-loader to v0.7.7 (#2268) (48d2d8d)
- deps: update dependency @mikro-orm/nestjs to v5.1.8 (#2265) (4bdb17d)
- deps: update dependency @nestjs/mongoose to v9.2.2 (#2267) (d97deb7)
- deps: update dependency @nestjs/sequelize to v9.0.2 (#2269) (3de1168)
- deps: update dependency ioredis to v5.3.2 (#2281) (3b58611)
- deps: update dependency mysql2 to v3.2.4 (#2216) (38c9593)