Skip to content

Releases: nestjs/terminus

Release 10.2.3

18 Feb 15:57
Compare
Choose a tag to compare

10.2.3 (2024-02-18)

Bug Fixes

Release 10.2.2

07 Feb 21:34
Compare
Choose a tag to compare

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 of type: '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

31 Jan 15:34
Compare
Choose a tag to compare
Release 10.2.2-beta.0 Pre-release
Pre-release

10.2.2-beta.0 (2024-01-31)

Bug Fixes

Release 10.2.1

26 Jan 17:23
Compare
Choose a tag to compare

10.2.1 (2024-01-26)

Bug Fixes

Dependencies

  • deps: update dependency @grpc/grpc-js to v1.9.14 (#2455) (6ba52e5)
  • deps: update dependency mysql2 to v3.9.0 (#2443) (2f0c978)

Release 10.2.0

27 Nov 13:19
Compare
Choose a tag to compare

10.2.0 (2023-11-27)

Bug Fixes

Features

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

27 Nov 13:13
Compare
Choose a tag to compare
Release 10.2.0-beta.0 Pre-release
Pre-release

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

14 Sep 21:18
Compare
Choose a tag to compare

10.1.1 (2023-09-14)

Bug Fixes

  • Accidentially added @nestjs/microservices as direct dependency in v10.1.0 (acfdfb3)

Release 10.1.0

14 Sep 20:57
Compare
Choose a tag to compare

10.1.0 (2023-09-14)

Bug Fixes

Features

  • Do not cache health checks per default (262c808), closes #2328

Release 10.0.1

17 Jun 12:32
Compare
Choose a tag to compare

10.0.1 (2023-06-17)

Bug Fixes

  • prisma: add @Injectable decorator (25893bd)

Release 10.0.0

17 Jun 00:05
Compare
Choose a tag to compare

Diff

⚠️ Node v12 is no longer supported (>= v16 is required).

Features

Get started with Prisma & Terminus
  1. Install Prisma
  2. Install the latest version of Terminus
npm i @nestjs/terminus@10
  1. 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),
    ]);
  }
}

Checkout the Prisma sample app here

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)