Skip to main content

· 17 min read
Martin Adámek

MikroORM v7.2 is out. The headline is native PostgreSQL row level security — policies as entity metadata, managed by the schema generator, with per-request session context pushed down to the connection. Next to that: a new through option for to-one relations resolved via subquery, a rework of cursor pagination for custom types and nullable sort keys, a new sql.js driver that brought a live playground to the docs, named parameters in em.execute(), string normalization, native client access, await using support, and a handful of smaller things. Let's go through the highlights.

· 22 min read
Martin Adámek

MikroORM v7.1 is out. The first minor on top of v7 is a feature-packed one — a new relation flavor, per-parent collection limiting, database triggers, PostgreSQL partitioning, union-target polymorphic M:N, server-side row cloning, query cancellation via AbortSignal, stored procedures and functions, a new PGlite driver, typed Kysely across DI-driven projects, and a lot more. Let's go through the highlights.

· 36 min read
Martin Adámek

After a year and a half of active development, I am thrilled to announce that MikroORM v7 is finally stable. This is the biggest release yet, and the subtitle says it all - Unchained. We broke free from knex, dropped all core dependencies to zero, shipped native ESM, removed the hard coupling to Node.js, and added a bunch of new features on top. Let's dive in!