0.45.3

asheshgoplani/agent-deck0.45.3Sep 21, 2026by github-actions[bot]

Upgrading?

AI Summary

Introduces a new official driver for the Netlify database, allowing seamless integration with the `drizzle-orm` library.

Key Highlights

  • New `@netlify/db` driver for `drizzle-orm`
  • Support for `NETLIFY_DB_URL` and `NETLIFY_DB_DRIVER` environment variables
  • Explicit client control for the consumer

New Features

  • Netlify DB driver support
  • Support for reading NETLIFY_DB_URL
  • Support for explicit client configuration

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