mikro-orm/mikro-orm
v7.2.8Curated database / backend repository (mikro-orm/mikro-orm) tracked via conditional GitHub .atom polling.
MikroORM is a TypeScript-first Object-Relational Mapper (ORM) based on the Data Mapper and Unit of Work patterns for SQL and NoSQL databases. It eliminates the manual work of writing raw queries and synchronizing database changes by tracking entity state transitions automatically. This enables backend engineers to write clean, maintainable domain models without coupling business logic to underlying storage drivers.
Fixes query caching keys, default ordering, and driver dialect bugs. Safe drop-in upgrade. Migration: None.
Key Release Highlights (v7.2.8)
- Applies configured entity default
orderBydefinitions automatically duringem.stream()andem.findOne()operations. - Fixes query cache and dataloader key generation to safely serialize regex patterns, raw SQL fragments, and non-JSON values.
- Improves entity serialization performance by isolating context propagation solely to the serialized object path.
- Corrects SQL dialect edge cases, including table partitioning persistence in schema snapshots and composite relation sorting in paginated queries.
Verified safe drop-in upgrade for @mikro-orm/core in package.json.
npm install @mikro-orm/core@7.2.8 @mikro-orm/cli@7.2.8Ecosystem Compatibility Matrix & Verified Graph Warnings
$re regex conversions in $elemMatch and fixes inverse M:N populate limits.Zero-Noise Historical Release Timeline (2)
Format: [Core Change] + [Required Action] + [Migration Effort]Fixes query caching keys, default ordering, and driver dialect bugs. Safe drop-in upgrade. Migration: None.
core: don't convert a sub-query value with the property's. Drop-in upgrade. Migration: None.
Upgrade & Migration Q&A (mikro-orm/mikro-orm v7.2.8)
Direct Answers for Engineers & AI AgentsIs mikro-orm/mikro-orm v7.2.8 safe to upgrade in production?
mikro-orm/mikro-orm v7.2.8 is classified as COMPATIBLE (PATCH release). Fixes query caching keys, default ordering, and driver dialect bugs. Safe drop-in upgrade. Migration: None.
What breaking changes or compatibility risks exist in mikro-orm/mikro-orm v7.2.8?
No breaking API changes or peer dependency conflicts are recorded for mikro-orm/mikro-orm v7.2.8 in the RepoSense compatibility graph.
What is the bundle size impact of @mikro-orm/core v7.2.8?
Measured bundle size telemetry is currently unavailable for @mikro-orm/core v7.2.8; verify build output locally before deploying.
How do I upgrade @mikro-orm/core to v7.2.8?
Upgrade @mikro-orm/core to v7.2.8 by running "npm install @mikro-orm/core@7.2.8" and applying the migration steps: npm install @mikro-orm/core@7.2.8 @mikro-orm/cli@7.2.8