|
| 1 | +2025-03: |
| 2 | + - | |
| 3 | + <b>ORM <a href='https://github.com/drizzle-team/drizzle-orm/releases/tag/0.41.0'>v0.41.0</a> release</b> |
| 4 | +
|
| 5 | + <ul> |
| 6 | + <li>`bigint`, `number` modes for `SQLite`, `MySQL`, `PostgreSQL`, `SingleStore` `decimal` & `numeric` column types</li> |
| 7 | + <li>Changed behavior of `sql-js` query preparation</li> |
| 8 | + <li>Fixed `MySQL`, `SingleStore` `varchar` allowing not specifying `length` in config</li> |
| 9 | + <li>Fixed `MySQL`, `SingleStore` `binary`, `varbinary` data\\type mismatches</li> |
| 10 | + <li>Fixed `numeric`\\`decimal` data\\type mismatches</li> |
| 11 | + <li>Fixed `drizzle-studio` + `AWS Data Api` connection issue</li> |
| 12 | + <li>Fixed `isConfig` utility function checking types of wrong fields</li> |
| 13 | + <li>Enabled `supportBigNumbers` in auto-created `mysql2` driver instances</li> |
| 14 | + <li>Fixed custom schema tables querying in RQBv1</li> |
| 15 | + <li>Removed in-driver mapping for postgres types</li> |
| 16 | + <li>Fixed `SQLite` `buffer`-mode `blob` sometimes returning `number[]`</li> |
| 17 | + </ul> |
| 18 | + - | |
| 19 | + <b>Drizzle Studio updates:</b> |
| 20 | +
|
| 21 | + <ul> |
| 22 | + <li>Added new setting option for expanding subviews.</li> |
| 23 | + <li>Added date and time pickers.</li> |
| 24 | + <li>New settings option for pagination by page or limit offset.</li> |
| 25 | + <li>Improved error handling for INSERT/UPDATE/DELETE statements in data table.</li> |
| 26 | + <li>Added column type to header cell.</li> |
| 27 | + <li>Added export in xlsx format.</li> |
| 28 | + <li>Added callback on bug report button click.</li> |
| 29 | + <li>Added ability to customize the error page.</li> |
| 30 | + <li>Added css variable for run query button color.</li> |
| 31 | + <li>Fixed issues with rowid.</li> |
| 32 | + <li>Improved SQL console with snippet system.</li> |
| 33 | + </ul> |
| 34 | + - | |
| 35 | + <b>ORM <a href='https://github.com/drizzle-team/drizzle-orm/releases/tag/0.40.1'>v0.40.1</a> release</b> |
| 36 | +
|
| 37 | + <ul> |
| 38 | + <li>Updates to neon-http for @neondatabase/[email protected]. Starting from this version, drizzle-orm will be compatible with both @neondatabase/serverless <1.0 and >1.0</li> |
| 39 | + </ul> |
| 40 | +
|
| 41 | +2025-02: |
| 42 | + - | |
| 43 | + <b>Drizzle Studio updates:</b> |
| 44 | +
|
| 45 | + <ul> |
| 46 | + <li>Added the ability to create/alter tables.</li> |
| 47 | + <li>Added the ability to create/alter views.</li> |
| 48 | + <li>Added the ability to refresh db schema.</li> |
| 49 | + <li>Improved dropdowns.</li> |
| 50 | + <li>Improved style customization.</li> |
| 51 | + <li>Added filter by entity type (table/view).</li> |
| 52 | + <li>Revised dependency tree and reduced bundle size.</li> |
| 53 | + <li>Added database metadata to bug report.</li> |
| 54 | + <li>Added range selection with copy/paste capability.</li> |
| 55 | + </ul> |
| 56 | + - | |
| 57 | + <b>ORM <a href='https://github.com/drizzle-team/drizzle-orm/releases/tag/0.40.0'>v0.40.0</a> release</b> |
| 58 | +
|
| 59 | + <ul> |
| 60 | + <li>Drizzle is getting a new Gel dialect with its own types and Gel-specific logic. In this first iteration, almost all query-building features have been copied from the PostgreSQL dialect since Gel is fully PostgreSQL-compatible. The only change in this iteration is the data types. The Gel dialect has a different set of available data types, and all mappings for these types have been designed to avoid any extra conversions on Drizzle's side. This means you will insert and select exactly the same data as supported by the Gel protocol.</li> |
| 61 | + </ul> |
| 62 | + - | |
| 63 | + <b>Kit <a href='https://github.com/drizzle-team/drizzle-orm/releases/tag/drizzle-kit%400.30.5'>v0.30.5</a> release</b> |
| 64 | +
|
| 65 | + <ul> |
| 66 | + <li>Drizzle is getting a new Gel dialect with its own types and Gel-specific logic. Kit is getting new "gel" dialect option</li> |
| 67 | + </ul> |
| 68 | +
|
| 69 | +2025-01: |
| 70 | + - | |
| 71 | + <b>ORM <a href='https://github.com/drizzle-team/drizzle-orm/releases/tag/0.39.1'>v0.39.1</a> release</b> |
| 72 | +
|
| 73 | + <ul> |
| 74 | + <li>Fixed SQLite onConflict clauses being overwritten instead of stacked</li> |
| 75 | + <li>Added view support to aliasedTable()</li> |
| 76 | + <li>Fixed sql builder prefixing aliased views and tables with their schema</li> |
| 77 | + </ul> |
| 78 | + - | |
| 79 | + <b>Kit <a href='https://github.com/drizzle-team/drizzle-orm/releases/tag/drizzle-kit%400.30.4'>v0.30.4</a> release</b> |
| 80 | +
|
| 81 | + <ul> |
| 82 | + <li>Fix bug that generates incorrect syntax when introspect in mysql</li> |
| 83 | + <li>Fix a bug that caused incorrect syntax output when introspect in unsigned columns</li> |
| 84 | + </ul> |
| 85 | + - | |
| 86 | + <ul> |
| 87 | + <b>Bug Fixes</b> |
| 88 | + <li>Allow INSERT in CTEs (WITH clauses)]</li> |
| 89 | + <li>Support Raw SQL in CTE Query Builder]</li> |
| 90 | + <li>Include pre-defined database objects related to Neon Identity in drizzle-orm]</li> |
| 91 | + <li>$count is undefined on withReplicas]</li> |
| 92 | + <li>get[Materialized]ViewName, ie getTableName but for (materialized) views.]</li> |
| 93 | + <li>$count API error with vercel-postgres]</li> |
| 94 | + <li>Cannot use schema.coerce on refining drizzle-zod types]</li> |
| 95 | + <li>Type Coercion in drizzle-zod]</li> |
| 96 | + <li>The inferred type of X cannot be named without a reference ... </li> |
| 97 | + <li>drizzle-zod excessively deep and possibly infinite types]</li> |
| 98 | + </ul> |
| 99 | + - | |
| 100 | + <b>ORM <a href='https://github.com/drizzle-team/drizzle-orm/releases/tag/0.39.0'>v0.39.0</a> release</b> |
| 101 | +
|
| 102 | + <ul> |
| 103 | + <li>You can now use the new Bun SQL driver released in Bun v1.2.0 with Drizzle</li> |
| 104 | + <li>WITH now supports INSERT, UPDATE, DELETE and raw sql template</li> |
| 105 | + <li>New tables in /neon import</li> |
| 106 | + <li>Added getViewName util function</li> |
| 107 | + </ul> |
| 108 | + - | |
| 109 | + <b>Kit <a href='https://github.com/drizzle-team/drizzle-orm/releases/tag/drizzle-kit%400.30.3'>v0.30.3</a> release</b> |
| 110 | +
|
| 111 | + <ul> |
| 112 | + <li>As SingleStore did not support certain DDL statements before this release, you might encounter an error indicating that some schema changes cannot be applied due to a database issue. Starting from this version, drizzle-kit will detect such cases and initiate table recreation with data transfer between the tables</li> |
| 113 | + </ul> |
| 114 | +
|
1 | 115 | 2024-12:
|
| 116 | + - | |
| 117 | + <b>drizzle-seed <a href='https://github.com/drizzle-team/drizzle-orm/blob/main/changelogs/drizzle-seed/0.3.0.md'>v0.3.0</a> release</b> |
| 118 | +
|
| 119 | + <ul> |
| 120 | + <li>The seed function can now accept Drizzle Relations objects and treat them as foreign key constraints</li> |
| 121 | + </ul> |
| 122 | + - | |
| 123 | + <b>ORM <a href='https://github.com/drizzle-team/drizzle-orm/releases/tag/0.38.3'>v0.38.3</a> release</b> |
| 124 | +
|
| 125 | + <ul> |
| 126 | + <li>Fix incorrect deprecation detection for table declarations</li> |
| 127 | + <li>SingleStore dialect support for all validator packages</li> |
| 128 | + </ul> |
| 129 | + - | |
| 130 | + <b>drizzle-seed <a href='https://github.com/drizzle-team/drizzle-orm/blob/main/changelogs/drizzle-seed/0.2.1.md'>v0.2.1</a> release</b> |
| 131 | +
|
| 132 | + <ul> |
| 133 | + <li>We are introducing a new parameter, version, to the seed function options. This parameter, which controls generator versioning, has been added to make it easier to update deterministic generators in the future.</li> |
| 134 | + <li>interval unique generator was changed and upgraded to v2</li> |
| 135 | + <li>string generators were changed and upgraded to v2</li> |
| 136 | + </ul> |
| 137 | + - | |
| 138 | + <b>ORM <a href='https://github.com/drizzle-team/drizzle-orm/releases/tag/0.38.2'>v0.38.2</a> release</b> |
| 139 | +
|
| 140 | + <ul> |
| 141 | + <li>New features for MySQL users: USE INDEX, FORCE INDEX and IGNORE INDEX for MySQL</li> |
| 142 | + </ul> |
| 143 | + - | |
| 144 | + <b>Kit <a href='https://github.com/drizzle-team/drizzle-orm/releases/tag/drizzle-kit%400.30.1'>v0.30.1</a> release</b> |
| 145 | +
|
| 146 | + <ul> |
| 147 | + <li>New command: drizzle-kit export</li> |
| 148 | + </ul> |
| 149 | + - | |
| 150 | + <b>drizzle-seed <a href='https://github.com/drizzle-team/drizzle-orm/blob/main/changelogs/drizzle-seed/0.1.3.md'>v0.1.3</a> release</b> |
| 151 | +
|
| 152 | + <ul> |
| 153 | + <li>Added support for postgres uuid columns</li> |
| 154 | + <li>Added support for postgres array columns</li> |
| 155 | + <li>Added support for cyclic tables. You can now seed tables with cyclic relations.</li> |
| 156 | + </ul> |
| 157 | +
|
| 158 | + <ul> |
| 159 | + <b>Bug Fixes</b> |
| 160 | + <li>[BUG]: reset fails with a syntax error if using a - in pgTableCreator to prefix tables</li> |
| 161 | + <li>seeding a table with columns that have .default(sql``) will result in an error</li> |
| 162 | + </ul> |
| 163 | + - | |
| 164 | + ORM bug fixes |
| 165 | +
|
| 166 | + <ul> |
| 167 | + <li>[FEATURE]: publish packages un-minified</li> |
| 168 | + <li>Don't allow unknown keys in drizzle-zod refinement</li> |
| 169 | + <li>[BUG]:drizzle-zod not working with pgSchema</li> |
| 170 | + <li>Add createUpdateSchema to drizzle-zod</li> |
| 171 | + <li>[BUG]:drizzle-zod produces wrong type</li> |
| 172 | + <li>[BUG]:Drizzle-zod:Boolean and Serial types from Schema are defined as enum<unknown> when using CreateInsertSchema and CreateSelectSchema</li> |
| 173 | + <li>[BUG]: Drizzle typebox enum array wrong schema and type</li> |
| 174 | + <li>[BUG]:drizzle-zod not working with pgSchema</li> |
| 175 | + <li>[BUG]: drizzle-zod not parsing arrays correctly</li> |
| 176 | + <li>[BUG]: Drizzle typebox not supporting array</li> |
| 177 | + <li>[FEATURE]: Export factory functions from drizzle-zod to allow usage with extended Zod classes</li> |
| 178 | + <li>[FEATURE]: Add support for new pipe syntax for drizzle-valibot</li> |
| 179 | + <li>[BUG]: drizzle-zod's createInsertSchema() can't handle column of type vector</li> |
| 180 | + <li>[BUG]: drizzle-typebox fails to map geometry column to type-box schema</li> |
| 181 | + <li>[BUG]: drizzle-valibot does not provide types for returned schemas</li> |
| 182 | + <li>[BUG]: Drizzle-typebox types SQLite real field to string</li> |
| 183 | + <li>[BUG]: drizzle-zod: documented usage generates type error with exactOptionalPropertyTypes</li> |
| 184 | + <li>[BUG]: drizzle-zod does not respect/count db type range</li> |
| 185 | + <li>[BUG]: drizzle-zod not overriding optional</li> |
| 186 | + <li>[BUG]:drizzle-zod doesn't accept custom id value</li> |
| 187 | + <li>[FEATURE]: Support for Database Views in Drizzle Zod</li> |
| 188 | + <li>[BUG]: drizzle-valibot return type any</li> |
| 189 | + <li>[BUG]: drizzle-zod Type generation results in undefined types</li> |
| 190 | + <li>[BUG]: GeneratedAlwaysAs</li> |
| 191 | + <li>[FEATURE]: $inferSelect on a view</li> |
| 192 | + <li>[BUG]:Can't infer props from view in schema</li> |
| 193 | + </ul> |
| 194 | + - | |
| 195 | + <b>ORM <a href='https://github.com/drizzle-team/drizzle-orm/releases/tag/0.38.0'>v0.38.0</a> release</b> |
| 196 | +
|
| 197 | + <ul> |
| 198 | + <li>Added new function getViewSelectedFields</li> |
| 199 | + <li>Added $inferSelect function to views</li> |
| 200 | + <li>Added InferSelectViewModel type for views</li> |
| 201 | + <li>Added isView function</li> |
| 202 | + </ul> |
| 203 | + - | |
| 204 | + <b>Kit <a href='https://github.com/drizzle-team/drizzle-orm/releases/tag/drizzle-kit%400.30.0'>v0.30.0</a> release</b> |
| 205 | +
|
| 206 | + Starting from this update, the PostgreSQL dialect will align with the behavior of all other dialects. |
| 207 | + It will no longer include IF NOT EXISTS, $DO, or similar statements, which could cause |
| 208 | + incorrect DDL statements to not fail when an object already exists in the database and should actually fail. |
2 | 209 | - |
|
3 | 210 | <b>Kit <a href='https://github.com/drizzle-team/drizzle-orm/releases/tag/drizzle-kit%400.29.0'>v0.29.0</a> release</b>
|
4 | 211 | and <b>ORM <a href='https://github.com/drizzle-team/drizzle-orm/releases/tag/0.37.0'>v0.37.0</a> release</b>
|
|
0 commit comments