Releases: drizzle-team/drizzle-orm
Releases · drizzle-team/drizzle-orm
0.25.1
- 🐛 Fix package.json
exports
field
0.25.0
ESM support
- 🎉 Added ESM support! You can now use
drizzle-orm
in both ESM and CJS environments. - 🎉 Added code minification and source maps.
- ❗ Removed several nested import paths. Most notably, everything from
drizzle-orm/sql
anddrizzle-orm/expressions
should now be imported fromdrizzle-orm
instead.
0.24.5
- Add possibility to have placeholders in
.limit()
and.offset()
const stmt = db
.select({
id: usersTable.id,
name: usersTable.name,
})
.from(usersTable)
.limit(placeholder('limit'))
.offset(placeholder('offset'))
.prepare('stmt');
const result = await stmt.execute({ limit: 1, offset: 1 });
0.24.4
0.24.3
- 🐛 Fixed query generation when selecting from alias
0.24.2
- 🐛 Pool connections opened for transactions are now closed after the transaction is committed or rolled back
0.24.1
0.24.0
0.23.13
- 🎉 All enum and text enum columns now have a properly typed
enumValues
property
0.23.12
- 🐛 Fixed multi-level join results (e.g. joining a subquery with a nested join)