Skip to main content
Version: Next

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)

Bug Fixes

  • entity-generator: output inverse sides for pure pivot tables when outputted (#6196) (e4b048b), closes #6192

Features

  • entity-generator: added support for forceUndefined being false (#5849) (e0ce840)

Performance Improvements

6.3.13 (2024-10-06)

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

6.3.12 (2024-10-01)

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

6.3.11 (2024-09-26)

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

6.3.10 (2024-09-15)

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

6.3.9 (2024-09-09)

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

6.3.8 (2024-09-04)

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

6.3.7 (2024-08-28)

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

6.3.6 (2024-08-14)

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

6.3.5 (2024-08-11)

Bug Fixes

  • entity-generator: ensure columnType is emitted correctly and when necessary (#5930) (72333ad), closes #5928
  • entity-generator: unknown type defaults always use default/defaultRaw, never runtime (#5927) (dcc8227)

6.3.4 (2024-08-06)

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

6.3.3 (2024-08-03)

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

6.3.2 (2024-08-01)

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

6.3.1 (2024-07-25)

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

6.3.0 (2024-07-18)

Bug Fixes

  • entity-generator: correctly serialize string prefixes in embedded references (#5826) (7882bca)
  • entity-generator: fix handling of primary keys that are foreign keys or enums (#5673) (b10413f)
  • entity-generator: fixed default values for enums (#5765) (58d914d)
  • entity-generator: generate all bidirectional relations in case of conflicts (#5779) (af845f1), closes #5738
  • entity-generator: include all entity options in EntitySchema definitions (#5674) (94ef44e)
  • entity-generator: output all DB related info even for virtual properties (#5817) (845b75c)
  • entity-generator: support complex enum names and values (#5670) (7dcb7be)
  • entity-generator: when using esmImport, FKs are now wrapped with Rel (#5771) (c28ab16)

Features

  • core: addz Platform.getDefaultVarcharLength and optional Type.getDefaultLength (#5749) (29dcdeb)
  • entity-generator: add a coreImportsPrefix option (#5669) (b9ab69a)
  • entity-generator: added option to output pure pivot tables (#5809) (832a626)
  • entity-generator: added the ability to add extra names to be imported (#5797) (82696b3)
  • entity-generator: allow custom types for scalar relations (#5435) (a8a9126)
  • entity-generator: enable the generator to dictate import specs via extraImport (#5772) (effd9fb)
  • entity-generator: repository class reference can be added from hooks (#5785) (44a49a9)
  • entity-generator: support adding groups through metadata hooks (#5793) (a756271)

6.2.9 (2024-05-31)

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

6.2.8 (2024-05-21)

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

6.2.7 (2024-05-18)

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

6.2.6 (2024-05-14)

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

6.2.5 (2024-05-05)

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

6.2.4 (2024-05-02)

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

6.2.3 (2024-04-24)

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

6.2.2 (2024-04-20)

Features

  • entity-generator: extend filtering options for EntityGenerator (#5473) (0894ac9), closes #5469

6.2.1 (2024-04-12)

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

6.2.0 (2024-04-09)

Bug Fixes

  • entity-generator: allow arbitrary class and prop names as identifiers (#5359) (b0c0236)

6.1.12 (2024-03-24)

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

6.1.11 (2024-03-18)

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

6.1.10 (2024-03-14)

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

6.1.9 (2024-03-10)

Bug Fixes

  • entity-generator: emit missing imports in EntitySchema generated files (#5311) (f680d66)
  • entity-generator: output type import statements for type only core imports (#5317) (bd3f160)

6.1.8 (2024-03-06)

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

6.1.7 (2024-03-04)

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

6.1.6 (2024-02-28)

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

6.1.5 (2024-02-21)

Bug Fixes

  • entity-generator: fixed generation of unsigned columns (#5254) (d78da29)
  • entity-generator: optional and hidden properties get type option + string defaults (#5264) (12d3b54), closes #5260

6.1.4 (2024-02-16)

Bug Fixes

  • entity-generator: use Ref wrapper on all lazy properties (#5252) (50311cb)

Features

  • entity-generator: added support for generated columns (#5250) (d2186da)

6.1.3 (2024-02-13)

Features

  • entity-generator: support mapToPk option (#5241) (3afaa29)

6.1.2 (2024-02-11)

Features

  • entity-generator: add the ability to use custom and/or core base entity (#5232) (066dac1)

6.1.1 (2024-02-10)

Features

  • entity-generator: support functions in extension hooks (#5218) (b28321c)

6.1.0 (2024-02-04)

Features

  • entity-generator: allow post processing the metadata (#5113) (e82058f), closes #5010

6.0.7 (2024-01-30)

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

6.0.6 (2024-01-29)

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

6.0.5 (2024-01-18)

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

6.0.4 (2024-01-15)

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

6.0.3 (2024-01-13)

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

6.0.2 (2024-01-09)

Features

  • entity-generator: allow customizing entity name based on schema name (1e5afb8), closes #5084

6.0.1 (2024-01-08)

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

6.0.0 (2024-01-08)

Bug Fixes

  • core: ensure propagation and change-tracking works with useDefineForClassFields (#4730) (83f24aa), closes #4216
  • core: refactor mapping of Date properties (#4391) (3a80369), closes #4362 #4360 #1476
  • entity-generator: use index expressions for complex indexes (e.g. conditional) (64a39f8), closes #4911

Features

  • core: remove static require calls (#3814) (b58f476), closes #3743
  • entity-generator: added ability to output type option in decorator (#4935) (2d1936a)
  • entity-generator: allow generating scalar properties for FKs (#4892) (abad6ca), closes #4898
  • entity-generator: allow local and global configuration of all options (#4965) (2876b8a)
  • entity-generator: allow overriding generated entity file name (4ebc8e3), closes #5026
  • entity-generator: detect more ManyToMany relations (#4974) (d0e3ac9)
  • entity-generator: generate OptionalProps and other symbols for EntitySchema (00f0a34)

5.9.2 (2023-11-02)

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

5.9.1 (2023-10-31)

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

5.9.0 (2023-10-24)

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

5.8.10 (2023-10-18)

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

5.8.9 (2023-10-15)

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

5.8.8 (2023-10-11)

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

5.8.7 (2023-10-05)

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

5.8.6 (2023-10-02)

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

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/entity-generator

5.8.3 (2023-09-24)

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

5.8.2 (2023-09-20)

Features

  • entity-generator: generate PrimaryKeyProp and PrimaryKeyType symbols (605446a)

5.8.1 (2023-09-12)

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

5.8.0 (2023-09-10)

Bug Fixes

  • entity-generator: respect precision and scale in numeric column type (3a52c39)

Features

  • entity-generator: allow skipping some tables or columns (e603108), closes #4584

5.7.14 (2023-07-27)

Bug Fixes

  • entity-generator: use ref instead of wrappedReference (#4559) (be02aa4)

5.7.13 (2023-07-16)

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

5.7.12 (2023-06-10)

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

5.7.11 (2023-06-01)

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

5.7.10 (2023-05-23)

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

5.7.9 (2023-05-22)

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

5.7.8 (2023-05-21)

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

5.7.7 (2023-05-14)

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

5.7.6 (2023-05-13)

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

5.7.5 (2023-05-09)

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

5.7.4 (2023-05-01)

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

5.7.3 (2023-04-28)

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

5.7.2 (2023-04-25)

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

5.7.1 (2023-04-25)

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

5.7.0 (2023-04-23)

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

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/entity-generator

5.6.14 (2023-03-12)

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

5.6.13 (2023-03-01)

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

5.6.12 (2023-02-26)

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

5.6.11 (2023-02-17)

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

5.6.10 (2023-02-17)

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

5.6.9 (2023-02-10)

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

5.6.8 (2023-01-25)

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

5.6.7 (2023-01-13)

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

5.6.6 (2023-01-10)

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

5.6.5 (2023-01-09)

Bug Fixes

  • entity-generator: use table name instead of class name in EntitySchema (#3916) (84d9407), closes #3915

5.6.4 (2023-01-04)

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

5.6.3 (2022-12-28)

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

5.6.2 (2022-12-25)

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

5.6.1 (2022-12-20)

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

5.6.0 (2022-12-09)

Features

5.5.3 (2022-11-10)

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

5.5.2 (2022-11-07)

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

5.5.1 (2022-11-05)

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

5.5.0 (2022-10-23)

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

5.4.2 (2022-09-12)

Features

  • entity-generator: generate OptionalProps symbols (#3482) (6ba3d40)

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)

Features

  • entity-generator: add import extension for referenced entities (#3420) (f80809a)

5.3.1 (2022-08-04)

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

5.3.0 (2022-08-01)

Bug Fixes

  • entity-generator: ensure stable order of generated entities (06e0e05)

Features

  • core: add support for virtual entities (#3351) (dcd62ac)
  • entity-generator: allow defining entities with EntitySchema instead of decorators (b423c10)

5.2.4 (2022-07-25)

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

5.2.3 (2022-07-08)

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

5.2.2 (2022-07-03)

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

5.2.1 (2022-06-21)

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

5.2.0 (2022-06-10)

Bug Fixes

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

Features

  • entity-generator: allow generating bidirectional relations (8b93400), closes #3181
  • entity-generator: allow generating identified references (1fbf5ac)

5.1.5 (2022-05-29)

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

5.1.4 (2022-05-19)

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

5.1.3 (2022-04-27)

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

5.1.2 (2022-04-10)

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

5.1.1 (2022-03-20)

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

5.1.0 (2022-03-13)

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

5.0.5 (2022-02-27)

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

5.0.4 (2022-02-22)

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

5.0.3 (2022-02-20)

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

5.0.2 (2022-02-16)

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

5.0.1 (2022-02-13)

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

5.0.0 (2022-02-06)

Bug Fixes

  • entity-generator: do not infer cascade value based on update/delete rules (372f4a0), closes #1857
  • entity-generator: fix boolean default values (908a638), closes #1917

Features

4.5.10 (2021-12-26)

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

4.5.9 (2021-08-24)

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

4.5.8 (2021-08-24)

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

4.5.7 (2021-06-30)

Bug Fixes

  • entity-generator: fix boolean default values (219fc0c), closes #1917

4.5.6 (2021-06-06)

Bug Fixes

  • entity-generator: do not infer cascade value based on update/delete rules (dca4f21), closes #1857

4.5.5 (2021-05-17)

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

4.5.4 (2021-04-26)

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

4.5.3 (2021-04-09)

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

4.5.2 (2021-04-06)

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

4.5.1 (2021-03-27)

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

4.5.0 (2021-03-21)

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

4.4.4 (2021-02-21)

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

4.4.3 (2021-02-14)

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

4.4.2 (2021-02-04)

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

4.4.1 (2021-02-01)

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

4.4.0 (2021-01-24)

Bug Fixes

  • entity-generator: emit collection name in decorator (#1338) (33574e8), closes #1328

4.3.4 (2020-12-11)

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

4.3.3 (2020-12-04)

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

4.3.2 (2020-11-24)

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

4.3.1 (2020-11-20)

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

4.3.0 (2020-11-13)

Bug Fixes

4.2.3 (2020-10-24)

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

4.2.2 (2020-10-22)

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

4.2.1 (2020-10-20)

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

4.2.0 (2020-10-18)

Features

  • core: add basic (in-memory) result caching (2f8253d)

4.1.1 (2020-10-14)

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

4.1.0 (2020-10-12)

Performance Improvements

  • core: use faster way to check number of object keys (82f3ee4), closes #732

4.0.7 (2020-09-24)

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

4.0.6 (2020-09-22)

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

4.0.5 (2020-09-21)

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

4.0.4 (2020-09-19)

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

4.0.3 (2020-09-15)

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

4.0.2 (2020-09-11)

Features

  • entity-generator: do not use ts-morph (478a7bb)

4.0.1 (2020-09-10)

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

Page Options