Skip to content

Releases: mikro-orm/mikro-orm

v5.9.3

06 Nov 23:55

Choose a tag to compare

5.9.3 (2023-11-06)

Bug Fixes

  • core: only check the same entity type when detecting early update/delete (fef7a1b), closes #4895
  • core: return DriverException from em.upsertMany() (1ebfbdd), closes #4897
  • core: fix populating relations with cycles via select-in strategy (d0b35da), closes #4899

v5.9.2

02 Nov 19:15

Choose a tag to compare

5.9.2 (2023-11-02)

Bug Fixes

  • core: fix partial loading of embedded properties with joined strategy (f887e77)
  • core: ignore limit, offset and order in em.count on virtual entity (03a7b86)
  • mongo: fix support for ignoreUndefinedInQuery (cef26c5), closes #4891

v5.9.1

31 Oct 21:43

Choose a tag to compare

5.9.1 (2023-10-31)

Bug Fixes

  • core: propagate to owning side of 1:1 relation even if not initialized (9b2c9fe), closes #4879
  • postgres: fix hydrating of serial properties via returning statement (620309c)

v5.9.0

24 Oct 20:08

Choose a tag to compare

5.9.0 (2023-10-24)

Bug Fixes

  • core: apply convertToJSValueSQL on composite FKs too (41425cb), closes #4843
  • core: clean up removed entities from relations in identity map (1e3bb0e), closes #4863
  • core: infer property type from columnType for non-inferrable types (e.g. unions with null) (6bc116a), closes #4833
  • core: remove some computed properties from metadata cache (eb138ad)
  • core: use write connection for fetching changes after upsert/upsertMany (#4872) (6b444ed), closes #4868
  • query-builder: do not alias formula expressions used in qb.groupBy() (e27e4b9), closes #2929
  • query-builder: respect preferReadReplicas in QueryBuilder (22e140e), closes #4847
  • serialization: run custom serializer on getters (#4860) (e76836e), closes #4859

Features

v5.8.10

18 Oct 18:10

Choose a tag to compare

5.8.10 (2023-10-18)

Bug Fixes

  • knex: fix populating M:N from inverse side with joined strategy (9f82e95)
  • reflection: ensure complete stripping of relative paths with multiple leading slashes (#4844) (8a635c7)

v5.8.9

15 Oct 21:40

Choose a tag to compare

5.8.9 (2023-10-15)

Bug Fixes

  • core: ignore SQL convertor methods on object embeddables (92e1d6f), closes #4824
  • core: respect database name in clientUrl of read replicas (015d4f4), closes #4813
  • query-builder: merge raw join results in qb.execute() (#4825) (5a28e9b), closes #4816 #4741
  • schema: skip changes of enum items on enum arrays (9accdf6), closes #476

v5.8.8

11 Oct 18:01

Choose a tag to compare

5.8.8 (2023-10-11)

Bug Fixes

  • core: do not rehydrate values provided to constructor (8ff3f65), closes #4790
  • core: hydrate relations with mapToPk as scalars to support custom types (4118076), closes #4803
  • postgres: escape array literal values containing backslash (#4797) (20179ec), closes #4796

Performance Improvements

  • core: fix duplicate processing of collection items when flushing (a8a1021), closes #4807

v5.8.7

05 Oct 19:48

Choose a tag to compare

5.8.7 (2023-10-05)

Bug Fixes

  • core: ensure virtual relation properties have no effect on commit order (606d633), closes #4781
  • core: fix conditions in em.upsertMany with composite keys (2f58556), closes #4786
  • core: fix extra updates when nullable embedded properties contain FK (77ffa4f), closes #4788
  • core: improve handling of nullable embedded properties (eae7e38), closes #4787
  • schema: respect length of default value of datetime columns (cbc0c50), closes #4782

v5.8.6

02 Oct 19:29

Choose a tag to compare

5.8.6 (2023-10-02)

Bug Fixes

  • core: alias joins on non persistent properties (d70d323), closes #4773
  • core: respect disableContextResolution option when forking (5964e52), closes #4717 #3338
  • migrations: allow running migrations outside of main transaction (e0dfb0c), closes #4775

v5.8.5

30 Sep 10:11

Choose a tag to compare

5.8.5 (2023-09-30)

Bug Fixes

  • core: allow joining a formula property (1200e5b), closes #4759
  • core: map virtual properties that shadow a regular property from joined results (d0b3698), closes #3820
  • core: pin all internal dependencies (f4868ed), closes #4764
  • core: support overlapping composite FKs with different nullability (208fbaa), closes #4478
  • mongo: fix querying object embedded JSON properties (b38a327), closes #4755
  • reflection: detect JSON properties defined with Record or Dictionary types (62740d1), closes #4755