Skip to content
This repository was archived by the owner on Nov 12, 2021. It is now read-only.

Latest commit

 

History

History
35 lines (30 loc) · 886 Bytes

CHANGELOG.md

File metadata and controls

35 lines (30 loc) · 886 Bytes

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

[5.2.0] - 2019-06-06

Added

  • Multiple database connections.

Changed

  • BREAKING CHANGE: models are no long spread for forFeature. For example: Before:
@Module({
  imports: [TypegooseModule.forFeature(Cat, OtherModel)],
  controllers: [CatsController],
  providers: [CatsService]
})
export class CatsModule {}

After:

@Module({
  imports: [TypegooseModule.forFeature([Cat, OtherModel])],
  controllers: [CatsController],
  providers: [CatsService]
})
export class CatsModule {}

Fixed

  • TypegooseModule will disconnect from the monodb server on module destruction.