drizzle-kit@0.29.0

drizzle-team/drizzle-ormdrizzle-kit@0.29.0Dec 3, 2024by github-actions[bot]

AI Summary

This release introduces two significant additions to Drizzle: support for the SingleStore database dialect (MySQL-compatible) and a new SQLite Durable Objects driver. Both additions come with configuration examples and links to getting started guides.

Key Highlights

  • SingleStore dialect is now available in Drizzle (MySQL-compatible)
  • SQLite Durable Objects driver is now available for querying SQLite Durable Objects
  • Both new integrations include configuration examples and getting started documentation

New Features

  • SingleStore database dialect support with dedicated configuration (dialect: 'singlestore')
  • SQLite Durable Objects driver support (driver: 'durable-sqlite')

Full Release Notes

# New Dialects

### 🎉 `SingleStore` dialect is now available in Drizzle

Thanks to the SingleStore team for creating a PR with all the necessary changes to support the MySQL-compatible part of SingleStore. You can already start using it with Drizzle. The SingleStore team will also help us iterate through updates and make more SingleStore-specific features available in Drizzle

```ts
import 'dotenv/config';
import { defineConfig } from 'drizzle-kit';

export default defineConfig({
  dialect: 'singlestore',
  out: './drizzle',
  schema: './src/db/schema.ts',
  dbCredentials: {
    url: process.env.DATABASE_URL!,
  },
});
```

You can check out our [Getting started guides](https://orm.drizzle.team/docs/get-started/singlestore-new) to try SingleStore!

# New Drivers

### 🎉 `SQLite Durable Objects` driver is now available in Drizzle

You can now query SQLite Durable Objects in Drizzle!

For the full example, please check our [Get Started](https://orm.drizzle.team/docs/get-started/do-new) Section

```ts
import 'dotenv/config';
import { defineConfig } from 'drizzle-kit';
export default defineConfig({
  out: './drizzle',
  schema: './src/db/schema.ts',
  dialect: 'sqlite',
  driver: 'durable-sqlite',
});
```