B4nan
banner
mikro-orm.io
B4nan
@mikro-orm.io
Author of MikroORM, TypeScript Data Mapper ORM for Node.js, with Unit of Work and Identity Map.

https://github.com/mikro-orm/mikro-orm
Reposted by B4nan
exciting times! 🎉

mikro-orm 🤜🤛 kysely

github.com/mikro-orm/mi...
feat: replace knex with kysely by B4nan · Pull Request #6400 · mikro-orm/mikro-orm
Closes #5646
github.com
February 9, 2025 at 1:48 PM
Reposted by B4nan
Landed module.registerHooks() in Node.js ✨

github.com/nodejs/node/...

These customization hooks are run for modules loaded by require(), import(), and functions returned by createRequire() in the same thread they are registered, which makes them easier for CJS monkey-patchers to migrate to.
December 10, 2024 at 12:48 AM
Reposted by B4nan
🎉 require(esm) has been unflaged in v22.12.0! We are also planning to unflag it on v20.x later if it goes well in v22.x.

As before please try it out and report any bugs you find. (hopefully none, but with how wild the module loading edge cases can be, one never knows!).
A new Node.js LTS Release is out! 🥳

v22.12.0 enables require(esm) by default!

Read more about that change and the rest of additions / fixes in our blog post / CHANGELOG: nodejs.org/en/blog/rele...

#nodejs #javascript
Node.js — Node v22.12.0 (LTS)
Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
nodejs.org
December 4, 2024 at 6:26 AM
Reposted by B4nan
Node v22 just unflagged require(esm) support 🎉

It was previously only available with "--experimental-require-module" option

Seems like this will now be supported by default in next release v22.12 ?

https://github.com/nodejs/node/pull/55217

November 27, 2024 at 8:12 AM
Way too many people are still downloading v5, even weirder, they don't update to the latest v5 version (which is 5.9.8) but keep using 5.9.7.

If there is something blocking you from upgrading to v6, please let us know!
December 8, 2024 at 10:24 AM
Custom domain handles, that's nice 😺

Let's see if I can find some audience here too, I got a feeling most of my twitter followers were bots 🫠
November 24, 2024 at 7:55 AM
MikroORM 6.4 is out!
- `@Transactional()` decorator
- upsert works on managed entities
- nested embeddables with `prefixMode: 'relative'`
- multi-config support
- `onQuery` hook
- improved support for shared columns in composite FKs

mikro-orm.io/blog/mikro-o...
MikroORM 6.4 | MikroORM
MikroORM v6.4 is out. This release brings lots of smaller improvements all over the board, let's talk about some of them!
mikro-orm.io
November 11, 2024 at 6:57 AM
MikroORM 6.4 is out!

- `@Transactional()` decorator
- upsert works on managed entities
- nested embeddables with `prefixMode: 'relative'`
- multi-config support
- `onQuery` hook
- improved support for shared columns in composite FKs

https://mikro-orm.io/blog/mikro-orm-6-4-released
December 8, 2024 at 10:24 AM
December 8, 2024 at 10:24 AM
December 8, 2024 at 10:24 AM
December 8, 2024 at 10:24 AM
MikroORM 6.3.8 is out!

Among other things, `disableForeignKeys` now defaults to false, this was a common source of issues, mainly for postgres users (no more `session_replication_role` queries).

https://github.com/mikro-orm/mikro-orm/releases/tag/v6.3.8
December 8, 2024 at 10:24 AM
Hmm, this poll makes me a bit sad, out of almost 600 people, only 24 suggested MikroORM. Maybe I should stop reading reddit 😭

At least we are getting it to the list of possible options, lol.

https://www.reddit.com/r/node/comments/1f3eowy/which_orm_should_be_used_polling/
December 8, 2024 at 10:24 AM
December 8, 2024 at 10:24 AM
December 8, 2024 at 10:24 AM
I've been playing a bit with @bunjavascript and @elysiaJS, need to do a few more tweaks before the release, but next version should work more natively with bun when it comes to TS support detection, e.g. the CLI works without ts-node installed.
December 8, 2024 at 10:24 AM
December 8, 2024 at 10:24 AM
MikroORM 6.3 is gonna be a pretty huge release (already around 50 bug fixes and feature commits in there and a few PRs still not merged). I hope I will have enough time to finish everything this week.
December 8, 2024 at 10:24 AM
The next version will be v6.3, there are already a few nice changes in the master you can test with the latest dev version:
- QueryBuilder supports `Loaded` type (`qb.joinAndSelect`)
- ORM extensions are loaded dynamically
- TS support enabled for CLI (no need for `useTsNode`)
December 8, 2024 at 10:24 AM
December 8, 2024 at 10:24 AM
December 8, 2024 at 10:24 AM
December 8, 2024 at 10:24 AM
The long overdue v6 of `@mikro-orm/nestjs` package is out. It brings support for importing MikroORM class from the driver package.

https://github.com/mikro-orm/nestjs/releases/tag/v6.0.0

Foll
owed quickly by v6.0.1 with additional fixes for driver imports of the EntityManager.

https://github.co...
December 8, 2024 at 10:24 AM