Packages

@mikro-orm/postgresql

7.2.11 · 20 Nov 2026MIT1.3M / weekRepositoryHomepagenpmAtom feed

Your version

6.2.9

31 May 2024Where it was published

6.6.19 is the newest release of 6.x.

In short

2 new15 fixed

Release note

Bug Fixes

  • cli: use module: 'nodenext' when registering ts-node (#5514) (8695524), closes #5427

  • core: detect path from decorator for each class only once

  • core: improve support for clientUrl with additional query parameters (1472705), closes #5608

  • core: improve support for sharing columns in composite PK and FK (#5623) (7190879), closes #5622

  • core: improve validation for missing dbName when clientUrl is provided

  • core: respect ignoreNestedTransactions from upper context (eab4df6), closes #5585

  • core: use explicit NoInfer type helper to support TS<5.4 (c38b366), closes #5613

  • knex: explicitly declare all the extended drivers as optional peer dependencies

  • mssql: account for quotes in table names

  • mssql: fix creating migrations due to a missing helper method (#5644) (90e27c2), closes #5633

  • mssql: fix creating schema for migrations table (fe1be6f), closes #5644

  • mssql: fix ensuring the database exists on older SQL Server versions (f0a5790), closes #5638

  • postgres: respect deferMode option in 1:1 relations

  • reflection: detect complex runtime types and don't use them as column types (0c8a587), closes #5601

  • reflection: support entities compiled by babel (#5628) (26f627e), closes #5610

  • schema: fix diffing renamed indexes and columns when the names are not lowercase (4019dc3), closes #5617

  • sql: implement batching of M:N collection update queries (d97979b), closes #5627

Features

  • core: allow overriding the --config argument name

Performance Improvements

  • sql: optimize diffing M:N collection state (f46e7c8), closes #5627

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.