0.39.1
drizzle-team/drizzle-orm0.39.1Jan 29, 2025by github-actions[bot]
AI Summary
This release fixes two SQL builder issues and introduces view support for aliased tables. The most notable fix resolves an issue where SQLite onConflict clauses were being overwritten instead of stacked, which could cause data integrity problems in upsert operations.
Key Highlights
- Fixed SQLite onConflict clauses being overwritten instead of stacked (issue #2276)
- Added view support to aliasedTable() for improved query flexibility
- Fixed SQL builder incorrectly prefixing aliased views and tables with their schema
New Features
- View support added to aliasedTable() - allows creating aliases for views in queries
Full Release Notes
- Fixed SQLite onConflict clauses being overwritten instead of stacked - [#2276](https://github.com/drizzle-team/drizzle-orm/issues/2276) - Added view support to `aliasedTable()` - Fixed sql builder prefixing aliased views and tables with their schema