What are the recent major improvement / changes in the drizzle-orm repo
- User
What are the recent major improvement / changes in the drizzle-orm repo
Assistant
Based on the provided changelog files from the drizzle-orm repository, here are the major recent improvements and changes:
- New Package:
drizzle-seed(v0.36.4)
- A new package for seeding databases with test data
- Allows creating entities with random data
- Configurable options for count and seed values
- Only works with drizzle-orm@0.36.4 or higher
- Row-Level Security (RLS) Support (v0.36.0)
- Full support for PostgreSQL Row-Level Security
- Ability to enable RLS on tables and views
- Support for creating and managing roles and policies
- Special integrations with Neon and Supabase providers
- Built-in predefined roles and functions for both providers
- Major SQL Feature Additions (v0.36.3)
- Support for
UPDATE ... FROMin PostgreSQL and SQLite - Support for
INSERT INTO ... SELECTacross all dialects - Multiple ways to use select inside insert statements including query builders, callbacks, and SQL template tags
- Other Notable Improvements:
- Added
OVERRIDING SYSTEM VALUEAPI to db.insert() (v0.36.4) - Added
.$withAuth()API for Neon HTTP driver (v0.36.4) - Support for more types in like, notLike, ilike and notIlike expressions (v0.36.2)
- Various Bug Fixes:
- Fixed issues with BigInt types with Bun
- Fixed generated behavior with non-strict tsconfig
- Fixed Drizzle ORM for expo-sqlite
- Fixed schema name handling in SQL
- Multiple fixes for placeholder handling and dynamic queries
These changes show a focus on expanding database functionality, improving security features, and enhancing compatibility with various database providers and platforms.
- New Package:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.