0.45.3

drizzle-team/drizzle-orm0.45.3Sep 21, 2026by github-actions[bot]

Upgrading?

AI Summary

Introduces a new Netlify DB driver allowing seamless integration with Drizzle ORM. Users can connect using environment variables, a connection URL, or an explicit client object, with the driver maintained by the Netlify team.

Key Highlights

  • New @netlify/db driver integration
  • Supports environment variables, connection URLs, or explicit client control
  • Usage examples provided for different connection methods
  • Driver maintained by the Netlify team

New Features

  • Support for Netlify DB via drizzle-orm/netlify-db

Full Release Notes

## New Netlify DB Driver

> Note: The Netlify DB driver is developed and maintained by the Netlify team.

**Installation:**
```bash
npm i @netlify/db
```

**Usage example:**
```typescript
import { drizzle } from 'drizzle-orm/netlify-db';

// reads NETLIFY_DB_URL and NETLIFY_DB_DRIVER env vars
const db = drizzle();

const result = await db.execute('select 1');
```

```typescript
import { drizzle } from 'drizzle-orm/netlify-db';

const db = drizzle(process.env.DATABASE_URL);

const result = await db.execute('select 1');
```

```typescript
import { drizzle } from 'drizzle-orm/netlify-db';

// Explicit client — consumer controls the driver
const db = drizzle({ client: netlifyDbClient });

const result = await db.execute('select 1');
```

Related Repositories