Skip to main content
Version: 5.9

Changelog

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

6.4.0 (2024-11-11)

Note: Version bump only for package @mikro-orm/mariadb

6.3.13 (2024-10-06)

Note: Version bump only for package @mikro-orm/mariadb

6.3.12 (2024-10-01)

Note: Version bump only for package @mikro-orm/mariadb

6.3.11 (2024-09-26)

Note: Version bump only for package @mikro-orm/mariadb

6.3.10 (2024-09-15)

Note: Version bump only for package @mikro-orm/mariadb

6.3.9 (2024-09-09)

Note: Version bump only for package @mikro-orm/mariadb

6.3.8 (2024-09-04)

Note: Version bump only for package @mikro-orm/mariadb

6.3.7 (2024-08-28)

Note: Version bump only for package @mikro-orm/mariadb

6.3.6 (2024-08-14)

Note: Version bump only for package @mikro-orm/mariadb

6.3.5 (2024-08-11)

Note: Version bump only for package @mikro-orm/mariadb

6.3.4 (2024-08-06)

Note: Version bump only for package @mikro-orm/mariadb

6.3.3 (2024-08-03)

Note: Version bump only for package @mikro-orm/mariadb

6.3.2 (2024-08-01)

Note: Version bump only for package @mikro-orm/mariadb

6.3.1 (2024-07-25)

Note: Version bump only for package @mikro-orm/mariadb

6.3.0 (2024-07-18)

Bug Fixes

  • entity-generator: output entity and prop comments (#5699) (4ef21c4)

Features

  • core: allow upserting without a unique value (#5726) (75a4706)
  • query-builder: infer Loaded hint based on joinAndSelect calls (#5482) (d18da6b)

6.2.9 (2024-05-31)

Note: Version bump only for package @mikro-orm/mariadb

6.2.8 (2024-05-21)

Note: Version bump only for package @mikro-orm/mariadb

6.2.7 (2024-05-18)

Note: Version bump only for package @mikro-orm/mariadb

6.2.6 (2024-05-14)

Note: Version bump only for package @mikro-orm/mariadb

6.2.5 (2024-05-05)

Note: Version bump only for package @mikro-orm/mariadb

6.2.4 (2024-05-02)

Note: Version bump only for package @mikro-orm/mariadb

6.2.3 (2024-04-24)

Note: Version bump only for package @mikro-orm/mariadb

6.2.2 (2024-04-20)

Bug Fixes

  • mysql: fix reading auto_increment_increment value (1da88af), closes #5460

6.2.1 (2024-04-12)

Note: Version bump only for package @mikro-orm/mariadb

6.2.0 (2024-04-09)

Bug Fixes

  • entity-generator: allow arbitrary class and prop names as identifiers (#5359) (b0c0236)
  • mariadb: rework pagination mechanism to fix extra results (a57cb19)

Features

6.1.12 (2024-03-24)

Note: Version bump only for package @mikro-orm/mariadb

6.1.11 (2024-03-18)

Note: Version bump only for package @mikro-orm/mariadb

6.1.10 (2024-03-14)

Note: Version bump only for package @mikro-orm/mariadb

6.1.9 (2024-03-10)

Note: Version bump only for package @mikro-orm/mariadb

6.1.8 (2024-03-06)

Note: Version bump only for package @mikro-orm/mariadb

6.1.7 (2024-03-04)

Note: Version bump only for package @mikro-orm/mariadb

6.1.6 (2024-02-28)

Bug Fixes

  • mysql: apply current context when fetching auto_increment_increment (#5280) (c8021da), closes #5279

6.1.5 (2024-02-21)

Bug Fixes

  • entity-generator: optional and hidden properties get type option + string defaults (#5264) (12d3b54), closes #5260

6.1.4 (2024-02-16)

Note: Version bump only for package @mikro-orm/mariadb

6.1.3 (2024-02-13)

Note: Version bump only for package @mikro-orm/mariadb

6.1.2 (2024-02-11)

Note: Version bump only for package @mikro-orm/mariadb

6.1.1 (2024-02-10)

Note: Version bump only for package @mikro-orm/mariadb

6.1.0 (2024-02-04)

Note: Version bump only for package @mikro-orm/mariadb

6.0.7 (2024-01-30)

Note: Version bump only for package @mikro-orm/mariadb

6.0.6 (2024-01-29)

Note: Version bump only for package @mikro-orm/mariadb

6.0.5 (2024-01-18)

Note: Version bump only for package @mikro-orm/mariadb

6.0.4 (2024-01-15)

Note: Version bump only for package @mikro-orm/mariadb

6.0.3 (2024-01-13)

Note: Version bump only for package @mikro-orm/mariadb

6.0.2 (2024-01-09)

Note: Version bump only for package @mikro-orm/mariadb

6.0.1 (2024-01-08)

Note: Version bump only for package @mikro-orm/mariadb

6.0.0 (2024-01-08)

Bug Fixes

Features

5.9.2 (2023-11-02)

Note: Version bump only for package @mikro-orm/mariadb

5.9.1 (2023-10-31)

Note: Version bump only for package @mikro-orm/mariadb

5.9.0 (2023-10-24)

Note: Version bump only for package @mikro-orm/mariadb

5.8.10 (2023-10-18)

Note: Version bump only for package @mikro-orm/mariadb

5.8.9 (2023-10-15)

Note: Version bump only for package @mikro-orm/mariadb

5.8.8 (2023-10-11)

Note: Version bump only for package @mikro-orm/mariadb

5.8.7 (2023-10-05)

Note: Version bump only for package @mikro-orm/mariadb

5.8.6 (2023-10-02)

Note: Version bump only for package @mikro-orm/mariadb

5.8.5 (2023-09-30)

Bug Fixes

  • core: pin all internal dependencies (f4868ed), closes #4764

5.8.4 (2023-09-27)

Note: Version bump only for package @mikro-orm/mariadb

5.8.3 (2023-09-24)

Note: Version bump only for package @mikro-orm/mariadb

5.8.2 (2023-09-20)

Note: Version bump only for package @mikro-orm/mariadb

5.8.1 (2023-09-12)

Note: Version bump only for package @mikro-orm/mariadb

5.8.0 (2023-09-10)

Note: Version bump only for package @mikro-orm/mariadb

5.7.14 (2023-07-27)

Note: Version bump only for package @mikro-orm/mariadb

5.7.13 (2023-07-16)

Note: Version bump only for package @mikro-orm/mariadb

5.7.12 (2023-06-10)

Note: Version bump only for package @mikro-orm/mariadb

5.7.11 (2023-06-01)

Note: Version bump only for package @mikro-orm/mariadb

5.7.10 (2023-05-23)

Note: Version bump only for package @mikro-orm/mariadb

5.7.9 (2023-05-22)

Note: Version bump only for package @mikro-orm/mariadb

5.7.8 (2023-05-21)

Note: Version bump only for package @mikro-orm/mariadb

5.7.7 (2023-05-14)

Note: Version bump only for package @mikro-orm/mariadb

5.7.6 (2023-05-13)

Note: Version bump only for package @mikro-orm/mariadb

5.7.5 (2023-05-09)

Note: Version bump only for package @mikro-orm/mariadb

5.7.4 (2023-05-01)

Note: Version bump only for package @mikro-orm/mariadb

5.7.3 (2023-04-28)

Note: Version bump only for package @mikro-orm/mariadb

5.7.2 (2023-04-25)

Bug Fixes

  • core: quote JSON property paths if they contain special characters (a94bbce), closes #4264

5.7.1 (2023-04-25)

Note: Version bump only for package @mikro-orm/mariadb

5.7.0 (2023-04-23)

Bug Fixes

  • core: detect JsonType based on columnType (#4252) (2e01622), closes #4229
  • mariadb: use json_extract when querying JSON fields (ca96acc)

5.6.16 (2023-04-04)

Reverts

  • Revert "chore(release): v5.6.16 [skip ci]" (49faac9)
  • Revert "chore(release): update internal dependencies to use tilde [skip ci]" (381cba1)

5.6.15 (2023-03-18)

Note: Version bump only for package @mikro-orm/mariadb

5.6.14 (2023-03-12)

Bug Fixes

  • postgres: use explicit schema in table identifier when altering comments (#4123) (60d96de), closes #4108

5.6.13 (2023-03-01)

Note: Version bump only for package @mikro-orm/mariadb

5.6.12 (2023-02-26)

Note: Version bump only for package @mikro-orm/mariadb

5.6.11 (2023-02-17)

Note: Version bump only for package @mikro-orm/mariadb

5.6.10 (2023-02-17)

Note: Version bump only for package @mikro-orm/mariadb

5.6.9 (2023-02-10)

Note: Version bump only for package @mikro-orm/mariadb

5.6.8 (2023-01-25)

Note: Version bump only for package @mikro-orm/mariadb

5.6.7 (2023-01-13)

Note: Version bump only for package @mikro-orm/mariadb

5.6.6 (2023-01-10)

Note: Version bump only for package @mikro-orm/mariadb

5.6.5 (2023-01-09)

Note: Version bump only for package @mikro-orm/mariadb

5.6.4 (2023-01-04)

Bug Fixes

  • core: improve inference of driver exported MikroORM.init() (497f274)

5.6.3 (2022-12-28)

Note: Version bump only for package @mikro-orm/mariadb

5.6.2 (2022-12-25)

Note: Version bump only for package @mikro-orm/mariadb

5.6.1 (2022-12-20)

Bug Fixes

  • mariadb: do not force date strings (8861354), closes #3853

5.6.0 (2022-12-09)

Bug Fixes

  • mysql: respect auto_increment_increment when batch inserting (516db6d), closes #3828

Features

  • core: ensure database exists automatically (#3830) (f92da01)

5.5.3 (2022-11-10)

Note: Version bump only for package @mikro-orm/mariadb

5.5.2 (2022-11-07)

Note: Version bump only for package @mikro-orm/mariadb

5.5.1 (2022-11-05)

Note: Version bump only for package @mikro-orm/mariadb

5.5.0 (2022-10-23)

Features

  • core: add defineConfig helper (#3500) (67d3c68)
  • core: add MikroORM and Options exports to each driver package (#3499) (b68ed47)

Performance Improvements

  • schema: improve schema inspection speed in SQL drivers (#3549) (74dc3b1)

5.4.2 (2022-09-12)

Note: Version bump only for package @mikro-orm/mariadb

5.4.1 (2022-09-08)

Bug Fixes

  • core: change internal dependencies to use ~ instead of ^ (fdbf67c), closes #3468

5.4.0 (2022-09-01)

Bug Fixes

  • core: update to TypeScript 4.8 and improve EntityDTO type (#3389) (f2957fb)

5.3.1 (2022-08-04)

Note: Version bump only for package @mikro-orm/mariadb

5.3.0 (2022-08-01)

Features

5.2.4 (2022-07-25)

Note: Version bump only for package @mikro-orm/mariadb

5.2.3 (2022-07-08)

Bug Fixes

  • core: ensure M:N collections are not dirty after populating of inverse side (21ba9b2), closes #3287
  • mariadb: backport some fixes from the mysql driver (9a57386)
  • mariadb: fix inference of nullable columns when generating entities (4bd606a), closes #3285

5.2.2 (2022-07-03)

Note: Version bump only for package @mikro-orm/mariadb

5.2.1 (2022-06-21)

Features

  • core: allow to adjust default type mapping (ca8ce57), closes #3066

5.2.0 (2022-06-10)

Bug Fixes

  • typing detection with typescript 4.7 node16 (#3163) (08322fa)

5.1.5 (2022-05-29)

Note: Version bump only for package @mikro-orm/mariadb

5.1.4 (2022-05-19)

Note: Version bump only for package @mikro-orm/mariadb

5.1.3 (2022-04-27)

Bug Fixes

  • schema: fix diffing of indexes with too long inferred name (01ba9ed), closes #2932

5.1.2 (2022-04-10)

Bug Fixes

  • postgres: do not ignore custom PK constraint names (#2931) (24bf10e)

Features

  • mariadb: implement check constraint support + fix json column diffing (b513b16), closes #2151

5.1.1 (2022-03-20)

Note: Version bump only for package @mikro-orm/mariadb

5.1.0 (2022-03-13)

Bug Fixes

  • core: do not alias JSON conditions on update/delete queries (5c0674e), closes #2839

Features

  • core: map check constraint failures to specific error type (ebcbdff), closes #2836

5.0.5 (2022-02-27)

Note: Version bump only for package @mikro-orm/mariadb

5.0.4 (2022-02-22)

Bug Fixes

  • schema: escape table/column comments (fff1581), closes #2805

5.0.3 (2022-02-20)

Note: Version bump only for package @mikro-orm/mariadb

5.0.2 (2022-02-16)

Note: Version bump only for package @mikro-orm/mariadb

5.0.1 (2022-02-13)

Note: Version bump only for package @mikro-orm/mariadb

5.0.0 (2022-02-06)

Bug Fixes

  • core: declare peer dependencies on driver packages (1873e8c), closes #2110
  • schema: improve diffing of default values for strings and dates (d4ac638), closes #2385

Code Refactoring

  • use options parameters in IDatabaseDriver (#2204) (9a32ac0)

Features

  • core: add support for ESM via gen-esm-wrapper (aa71065), closes #1010
  • core: validate version mismatch in ORM packages (cf70219)
  • typings: make em.create() and other methods strict (#1718) (e8b7119), closes #1456

BREAKING CHANGES

  • Most of the methods on IDatabaseDriver interface now have different signature.
  • typings: Some methods are now strictly typed, so previously fine usages might be restricted on TS level. To get around those, we might either cast as any, provide the generic T type as any, or use expr helper.
em.create(User, { someNotDefinedProp: 123 }); // throws if someNotDefinedProp not on the User
em.create(User, { [expr('someNotDefinedProp')]: 123 }); // works, using expr
em.create<any>(User, { someNotDefinedProp: 123 }); // works, using type cast
em.create(User, { someNotDefinedProp: 123 } as any); // works, using type cast

4.5.10 (2021-12-26)

Note: Version bump only for package @mikro-orm/mariadb

4.5.9 (2021-08-24)

Note: Version bump only for package @mikro-orm/mariadb

4.5.8 (2021-08-24)

Note: Version bump only for package @mikro-orm/mariadb

4.5.7 (2021-06-30)

Note: Version bump only for package @mikro-orm/mariadb

4.5.6 (2021-06-06)

Note: Version bump only for package @mikro-orm/mariadb

4.5.5 (2021-05-17)

Note: Version bump only for package @mikro-orm/mariadb

4.5.4 (2021-04-26)

Note: Version bump only for package @mikro-orm/mariadb

4.5.3 (2021-04-09)

Note: Version bump only for package @mikro-orm/mariadb

4.5.2 (2021-04-06)

Note: Version bump only for package @mikro-orm/mariadb

4.5.1 (2021-03-27)

Note: Version bump only for package @mikro-orm/mariadb

4.5.0 (2021-03-21)

Note: Version bump only for package @mikro-orm/mariadb

4.4.4 (2021-02-21)

Note: Version bump only for package @mikro-orm/mariadb

4.4.3 (2021-02-14)

Note: Version bump only for package @mikro-orm/mariadb

4.4.2 (2021-02-04)

Note: Version bump only for package @mikro-orm/mariadb

4.4.1 (2021-02-01)

Note: Version bump only for package @mikro-orm/mariadb

4.4.0 (2021-01-24)

Note: Version bump only for package @mikro-orm/mariadb

4.3.4 (2020-12-11)

Note: Version bump only for package @mikro-orm/mariadb

4.3.3 (2020-12-04)

Note: Version bump only for package @mikro-orm/mariadb

4.3.2 (2020-11-24)

Note: Version bump only for package @mikro-orm/mariadb

4.3.1 (2020-11-20)

Note: Version bump only for package @mikro-orm/mariadb

4.3.0 (2020-11-13)

Bug Fixes

4.2.3 (2020-10-24)

Note: Version bump only for package @mikro-orm/mariadb

4.2.2 (2020-10-22)

Note: Version bump only for package @mikro-orm/mariadb

4.2.1 (2020-10-20)

Note: Version bump only for package @mikro-orm/mariadb

4.2.0 (2020-10-18)

Note: Version bump only for package @mikro-orm/mariadb

4.1.1 (2020-10-14)

Note: Version bump only for package @mikro-orm/mariadb

4.1.0 (2020-10-12)

Performance Improvements

  • core: interpolate query parameters at ORM level (742b813), closes #732
  • core: use dedicated identity maps for each entity (84667f9), closes #732

4.0.7 (2020-09-24)

Note: Version bump only for package @mikro-orm/mariadb

4.0.6 (2020-09-22)

Note: Version bump only for package @mikro-orm/mariadb

4.0.5 (2020-09-21)

Note: Version bump only for package @mikro-orm/mariadb

4.0.4 (2020-09-19)

Note: Version bump only for package @mikro-orm/mariadb

4.0.3 (2020-09-15)

Note: Version bump only for package @mikro-orm/mariadb

4.0.2 (2020-09-11)

Note: Version bump only for package @mikro-orm/mariadb

4.0.1 (2020-09-10)

Note: Version bump only for package @mikro-orm/mariadb

Page Options