Packages

@mikro-orm/mariadb

7.2.11 · 20 Nov 2026MIT316.2k / weekRepositoryHomepagenpmAtom feed

Your version

5.1.3

27 Apr 2022Where it was published

5.9.8 is the newest release of 5.x.

In short

1 new1 faster15 fixed

Release note

Bug Fixes

  • core: allow replacing target entity in relations with assign (90ec83f), closes #3026

  • core: do not inline query for JSON properties that match PK names (e6005d8), closes #3054

  • core: fix serialization when using partial loading for nested relations (00be9f1), closes #3011

  • core: hydrate nullable embedded properties as null (e8490f6), closes #3063

  • core: respect mapToPk when expanding properties

  • core: try to fix FK order automatically for custom pivot entities (cc9e427), closes #3040

  • mongo: fix ensuring indexes with polymorphic embeddables (aa5e4d2), closes #3013

  • postgres: allow using special characters in string arrays (366da5f), closes #3037

  • postgres: ensure schema exists before creating migrations table (f211813), closes #3039

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

  • schema: remove FKs first when trying to dropSchema without disabled FKs (b1b5f55), closes #3004

  • seeder: explicitly flush forks when calling Seeder.call() (c8ece7c), closes #2998

  • seeder: fix type of Factory methods

  • sqlite: fix reflection of tables with FKs (389bc0d), closes #2959

  • sqlite: upgrade knex to v2 + switch back to sqlite3 (f3e4b9d), closes #3046

Features

  • core: validate decorator parameters are used properly (cb3e1dd), closes #3040

  • seeder: created shared context when calling other seeders (6fa04ae), closes #3022

Performance Improvements

  • core: do not use contextual EM where we know we are in a fork already

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.