Change8

0.40.0

📦 drizzle-orm
5 features🔧 8 symbols

Summary

This release introduces support for the Gel dialect, allowing users to query Gel databases using Drizzle ORM and pull schemas via Drizzle Kit while relying on the Gel CLI for migrations.

Migration Steps

  1. Install the 'gel' package to use the Gel client.
  2. Update drizzle.config.ts to use 'dialect: "gel"'.
  3. Use the Gel CLI to manage schema and migrations, then use 'drizzle-kit pull' to sync the Drizzle schema.
  4. Update database connection logic to use 'drizzle({ client: gelClient })' from 'drizzle-orm/gel'.

✨ New Features

  • Added support for Gel dialect (formerly EdgeDB) with specific types and logic.
  • Introduced 'drizzle-orm/gel' entry point for Gel-js client integration.
  • Added 'drizzle-kit pull' support for Gel to generate Drizzle schemas from existing Gel databases.
  • Added Gel-specific core types including gelTable, uuid, smallint, and text in 'drizzle-orm/gel-core'.
  • Added 'dialect: "gel"' support in drizzle-kit configuration.

🔧 Affected Symbols

drizzle-orm/geldrizzle-orm/gel-coregelTableuniqueIndexuuidsmallinttextdrizzle-kit