npm drizzle-orm 0.17.0

latest releases: 0.36.3-442f74d, 0.36.3, 0.36.2-44b6c8a...
22 months ago

❗ All ORM packages are now merged into drizzle-orm

Starting from release 0.17.0 and onwards, all dialect-specific packages are merged into drizzle-orm. Legacy ORM packages will be archived.

Import paths changes

PostgreSQL

  • import { ... } from 'drizzle-orm-pg' -> import { ... } from 'drizzle-orm/pg-core'
  • import { ... } from 'drizzle-orm-pg/node' -> import { ... } from 'drizzle-orm/node-postgres'
  • import { ... } from 'drizzle-orm-pg/neondb' -> import { ... } from 'drizzle-orm/neon'
  • import { ... } from 'drizzle-orm-pg/postgres.js' -> import { ... } from 'drizzle-orm/postgres.js'

MySQL

  • import { ... } from 'drizzle-orm-mysql' -> import { ... } from 'drizzle-orm/mysql-core'
  • import { ... } from 'drizzle-orm-mysql/mysql2' -> import { ... } from 'drizzle-orm/mysql2'

SQLite

  • import { ... } from 'drizzle-orm-sqlite' -> import { ... } from 'drizzle-orm/sqlite-core'
  • import { ... } from 'drizzle-orm-sqlite/better-sqlite3' -> import { ... } from 'drizzle-orm/better-sqlite3'
  • import { ... } from 'drizzle-orm-sqlite/d1' -> import { ... } from 'drizzle-orm/d1'
  • import { ... } from 'drizzle-orm-sqlite/bun' -> import { ... } from 'drizzle-orm/bun-sqlite'
  • import { ... } from 'drizzle-orm-sqlite/sql.js' -> import { ... } from 'drizzle-orm/sql.js'

Don't miss a new drizzle-orm release

NewReleases is sending notifications on new releases.