Skip to content

Releases: mikro-orm/nestjs

v7.0.1

Choose a tag to compare

@B4nan B4nan released this 12 Mar 09:11

What's Changed

  • fix: check for driver option when using useFactory by @vkouk in #244
  • fix: resolve custom repositories for defineEntity classes by @vkouk in #246

Full Changelog: v7.0.0...v7.0.1

v7.0.0

Choose a tag to compare

@B4nan B4nan released this 11 Mar 15:59

Full Changelog: v6.1.2...v7.0.0

v6.1.2

Choose a tag to compare

@B4nan B4nan released this 11 Mar 10:35

What's Changed

  • Fix incorrect package name @mikro-orm/mongo (#217)
  • Fix false positive warning in some edge cases (#225)
  • Don't use Utils.isString() as the method will be removed in v7
  • Default useContext: true when forking EM with request scope (#239)

Full Changelog: v6.1.1...v6.1.2

v6.1.1

Choose a tag to compare

@B4nan B4nan released this 16 Feb 21:46

What's Changed

  • feat: allow MikroORM v7 dev versions in peer dependency constraints by @B4nan in #209
  • fix: use named wildcards in middleware route in nest v11 by @B4nan in #210

Full Changelog: v6.1.0...v6.1.1

v6.1.0

Choose a tag to compare

@B4nan B4nan released this 28 Jan 19:05

Features

  • expose fork options in the MikroOrmModule options configuration object by @AlexBksiad in #182
  • allow NestJS v11 in peer dependencies by @snigdha920 in #198
  • add InjectMikroORMs inject decorator by @tsangste in #192
  • allow passing an array of options into forRoot by @B4nan in #203
  • add driver option to get around issues with useFactory and inject by @B4nan in #204

Bug Fixes

  • resolve issue with ordering of middleware being applied by @tsangste in #189

New Contributors

Full Changelog: v6.0.2...v6.1.0

v6.0.2

Choose a tag to compare

@B4nan B4nan released this 04 Jun 15:29

Bug Fixes

  • allow dev versions of @mikro-orm/core (685d7e7)
  • register MongoMikroORM provider even if we fail to infer driver from config and there is mongo installed (7e73205)

Full Changelog: v6.0.1...v6.0.2

v6.0.1

Choose a tag to compare

@B4nan B4nan released this 19 May 19:57

6.0.1 (2024-05-19)

Bug Fixes

  • reuse single MikroORM instance (3656eaf)
  • improve support for driver specific imports (a71c354)

v6.0.0

Choose a tag to compare

@B4nan B4nan released this 19 May 18:02

6.0.0 (2024-05-19)

Features

Bug Fixes

  • await useFactory resolution when registering MikroORM with forRootAsync (#166) (ae637bd)

BREAKING CHANGES

v5.2.3

Choose a tag to compare

@B4nan B4nan released this 24 Dec 09:47

What's Changed

  • fix: defer automatic clear call on autoLoadEntities cache done on shutdown 8b670e

Full Changelog: v5.2.2...v5.2.3

v5.2.2

Choose a tag to compare

@B4nan B4nan released this 23 Sep 07:46

Full Changelog: v5.2.1...v5.2.2

Features

  • clear the autoLoadEntities cache automatically on app shutdown (#4733) (aca7c01)