Skip to content

Releases: remcostoeten/drizzleasy

v0.14.0 - Enhanced Schema Loading & Documentation

11 Oct 14:32

Choose a tag to compare

What's New in v0.14.0

🔍 Enhanced Schema Auto-Loading

  • Parent directory search: Automatically searches up to 5 parent directories for `drizzle.config.ts`
  • Monorepo support: Works seamlessly in monorepos and nested project structures
  • Better error messages: Actionable error messages show exactly where the system searched

✅ Schema Validation

  • Automatic validation: Detects invalid or empty schemas before runtime
  • Helpful guidance: Clear error messages explain how to fix schema issues
  • Type checking: Validates that exports are actual Drizzle table definitions

🛠️ Manual Schema Override

  • Bypass auto-loading: Pass schema directly for Next.js 15/Turbopack compatibility
  • Flexible configuration: `initializeConnection(url, { schema })`
  • Perfect for edge cases: Solves module resolution issues in complex bundling scenarios

📚 Documentation Overhaul

  • Bun-exclusive: All commands updated to use `bun add` instead of npm/yarn
  • Import clarity: Consistent `/server` and `/client` import paths throughout
  • New FAQs: Added 3 new FAQs covering schema loading errors
  • Better examples: All code examples follow project conventions

Breaking Changes

None! This release is fully backward compatible.

Migration Guide

No migration needed. New features are opt-in:

```typescript
// New manual schema override (optional)
import * as schema from './schema'
const db = await initializeConnection(process.env.DATABASE_URL!, { schema })
```

Full Changelog

See CHANGELOG.md for complete details.

Installation

```bash
bun add @remcostoeten/drizzleasy drizzle-orm
```

Links

v0.13.1

27 Sep 15:02

Choose a tag to compare

Full Changelog: v0.13.0...v0.13.1

v0.12.0

20 Sep 14:42

Choose a tag to compare

Full Changelog: v0.12.0...v0.12.0

v0.11.1

19 Sep 00:21

Choose a tag to compare

What's Changed

Full Changelog: v0.1.0...v0.11.1

🎉 drizzleasy v0.1.0 - First Stable Release

18 Sep 18:45

Choose a tag to compare

🎉 First stable release of drizzleasy!

✨ Features

  • Ultra-simple CRUD operations with natural syntax
  • Full TypeScript support with maximum IntelliSense
  • Auto-detection for PostgreSQL, SQLite, and Turso databases
  • Chainable WHERE clauses with smart operators like { age: '>18' } and { name: '*john*' }
  • Factory functions for reusable typed operations
  • React hooks for optimistic updates
  • Comprehensive error handling with consistent result format

🐛 Critical Fixes

  • Fixed method chaining issue in read operations
  • Enhanced type definitions for better LSP support
  • Cleaned up package exports and documentation
  • Fixed README typos and inconsistencies

📦 Package Quality

  • 21/21 tests passing
  • Clean build with no warnings ✅
  • Comprehensive TypeScript definitions
  • Proper peer dependency configuration

🚀 Installation

npm install @remcostoeten/drizzleasy

📖 Quick Start

import { initializeConnection, readFn, createFn } from '@remcostoeten/drizzleasy'

// Auto-configure database

// Create typed functions
const read = readFn<User>()
const create = createFn<User>()

// Use CRUD operations
const { data: users } = await read('users')()
const { data: newUser } = await create('users')({ name: 'John' })

Full documentation: https://github.com/remcostoeten/drizzleasy#readme
npm package: https://www.npmjs.com/package/@remcostoeten/drizzleasy