D

Drizzle ORM

D
Drizzle ORM Web v1.0.0-rc

v1.0.0-rc.4

v1.0.0-rc.4 Fixed broken View types when using Subquery in selection Fixed custom types' JSON field API not being applied when column is used as a decoder on SQL fields Fixed codecs not getting applied to SQL field when .mapWith(column) is set (fixes #5724) Fixed Subquery fields' columns' codecs not being applied to subquery Fixed broken in rc.3 db.select in bun-sql/pg driver (fixes #5779) Updated…

D
Drizzle ORM Web v1.0.0-rc

v1.0.0-rc.3

v1.0.0-rc.3 Porting all the changes that were made in PostgreSQL to other dialects. This release is about MySQL: Removed RQBv1 from mysql dialect (._query) Internal MySQL sessions refactoring and moving to a unified query preparation function Fallback to regular queries on iterators for drivers that don't support streaming instead of throwing an error for compatibility Enabled optimized non-jit ma…

D
Drizzle ORM Web v1.0.0-rc

v1.0.0-rc.2

Updates Disabled default codec type selectors for custom columns (fixes #5711) Сallback type overload for codec selector in custom pg columns (codec: (config) => config?.withTimeZone ? 'timestamptz' : 'timestamp') Extended list of postgis types for codecs (improvement for #5711) Updated codecs: geometry -> geometry(point), geometry:tuple -> geometry(point):tuple Switched PG transactions from class…

D
Drizzle ORM Web v1.0.0-rc

v1.0.0-rc.1

v1.0.0-rc.1 ⚠️ This release introduced a breaking change into our casing API(see below) and removes RQB v1 ._query for postgres JIT mappers Drizzle ORM now has an opt-in API for JIT(just in time compilated) mappers which make most expensive part of the db request pipeline(row mapping) as fast as humanly possible. const db = drizzle({ ..., jit: true }) const query = db.select().from(users).prepare(…

D
Drizzle ORM Web v1.0.0-beta

v1.0.0-beta.22

Bug fixed drizzle-kit generate fails to generate correct migrations.js file on Windows [BUG]: MSSQL real() column returns imprecise float64 values -- missing mapFromDriverValue Object key collision [BUG]:beta20 Migration to Cloudflare D1 fails [BUG]: drizzle-kit migrate: migration SQL failures exit with code 1 but print no error (MigrateProgress hides rejection) [BUG]: MS SQL Filtered Index - Driz…

D
Drizzle ORM Web v1.0.0-beta

1.0.0-beta.21

More fixes for the drizzle-kit migration process and commutativity checks Adding a value to a PostgreSQL enum will no longer be treated as commutative Enum values added in different leaves will now be merged properly

D
Drizzle ORM Web v1.0.0-beta

1.0.0-beta.20

Fixed sql.identifier(), sql.as() escaping issues. Previously all the values passed to this functions were not properly escaped causing a possible SQL Injection (CWE-89) vulnerability Thanks to @EthanKim88, @0x90sh and @wgoodall01 for reaching out to us with a reproduction and suggested fix

D
Drizzle ORM Web v0.45.2

0.45.2

Fixed sql.identifier(), sql.as() escaping issues. Previously all the values passed to this functions were not properly escaped causing a possible SQL Injection (CWE-89) vulnerability Thanks to @EthanKim88, @0x90sh and @wgoodall01 for reaching out to us with a reproduction and suggested fix

D
Drizzle ORM Web v1.0.0-beta

v1.0.0-beta.19

New Features sqlcommenter support for PostgreSQL and MySQL You can now add custom tags to the query. These tags will be appended to the end of each query, helping the database add metadata/tags to it. This will be especially useful with PlanetScale’s new Database Traffic Control feature // raw string support db.select().from().comment("key='val'"); db.select().from().comment("my_first_tag"); // de…

D
Drizzle ORM Web v1.0.0-beta

v1.0.0-beta.18

New driver support for kit and studio You can now use the node:sqlite driver to run migrations and browse Drizzle Studio. If node:sqlite is available at runtime, we will automatically detect it and use it. Fixes resolved tsconfig path aliases in drizzle-kit loader using get-tsconfig + jiti alias mapping added fixtures and tests covering wildcard and non-wildcard path aliases ensured schema load su…