Skip to content

v2.0.0-beta

Compare
Choose a tag to compare
@HugoRCD HugoRCD released this 20 Nov 15:13
· 46 commits to main since this release

🚀 We're excited to announce Shelve v2.0.0-beta, a major update that brings significant improvements to performance, type safety, and team collaboration.

Major Changes

🔄 Migration to DrizzleORM

We've completely transitioned from Prisma to DrizzleORM, bringing:

  • Enhanced performance and lighter bundle size
  • 100% end-to-end type safety
  • Zod validation across all endpoints
  • Improved server-side architecture

👥 New Team System

The team system has been completely redesigned:

  • Team-based access model for all entities
  • Default team assignment for users
  • Ability to switch between teams
  • Improved permission management
  • Simple admin user definition

📦 New Utils Package

Introducing @shelve/utils:

  • Shared utility functions
  • Seamless synchronization between app and CLI
  • Enhanced developer experience

✨ Quality of Life Improvements

  • Cleaner .env handling (removes comments and spaces on copy/paste)
  • Improved error messages
  • Better type inference

Breaking Changes

This is a major version update with breaking changes:

  • Complete ORM migration (Prisma → DrizzleORM)
  • New team-based data structure
  • Updated API endpoints to support team context

What's Next

We're working on:

  • Documentation
  • CLI improvements for team support
  • Additional team management features

Try it out:

bun i -d @shelve/cli