chore(deps): update dependency drizzle-kit to ^0.31.0 #20
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.28.0→^0.31.0Release Notes
drizzle-team/drizzle-orm (drizzle-kit)
v0.31.9Compare Source
v0.31.8Compare Source
Bug fixes
algorythm=>algorithmtypo.v0.31.7: [email protected]Compare Source
Bug fixes
v0.31.6Compare Source
Bug fixes
v0.31.5Compare Source
v0.31.4Compare Source
halfvec,bitandsparsevectype generation bug in drizzle-kitv0.31.3Compare Source
databaseNameandpackageNameproperties for Studiov0.31.2Compare Source
Bug fixes
v0.31.1Compare Source
Fixed
drizzle-kit pullbugs when using Gel extensions.Because Gel extensions create schema names containing
::(for example,ext::auth), Drizzle previously handled these names incorrectly. Starting with this release, you can use Gel extensions without any problems. Here’s what you should do:drizzle.config.tsRun
drizzle-kit pullDone!
v0.31.0Compare Source
Features and improvements
Enum DDL improvements
For situations where you drop an
enumvalue or reorder values in anenum, there is no native way to do this in PostgreSQL. To handle these cases,drizzle-kitused to:However, there were a few scenarios that weren’t covered:
PostgreSQLwasn’t updating default expressions for columns when their data types changedTherefore, for cases where you either change a column’s data type from an
enumto some other type, drop anenumvalue, or reorderenumvalues, we now do the following:esbuildversion upgradeFor
drizzle-kitwe upgraded the version to latest (0.25.2), thanks @paulmarsicloudBug fixes
v0.30.6Compare Source
Bug fixes
v0.30.5Compare Source
New Features
Added
Geldialect support andgel-jsclient supportDrizzle is getting a new
Geldialect with its own types and Gel-specific logic. In this first iteration, almost all query-building features have been copied from thePostgreSQLdialect 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.Drizzle + Gel integration will work only through
drizzle-kit pull. Drizzle won't supportgenerate,migrate, orpushfeatures in this case. Instead, drizzle-kit is used solely to pull the Drizzle schema from the Gel database, which can then be used in yourdrizzle-ormqueries.The Gel + Drizzle workflow:
gelCLI to manage your schema.gelCLI to generate and apply migrations to the database.On the drizzle-kit side you can now use
dialect: "gel"For a complete Get Started tutorial you can use our new guides:
v0.30.4Compare Source
v0.30.3Compare Source
SingleStore
pushandgenerateimprovementsAs 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
Bug fixes
v0.30.2Compare Source
v0.30.1Compare Source
New Features
drizzle-kit exportTo make drizzle-kit integration with other migration tools, like Atlas much easier, we've prepared a new command called
export. It will translate your drizzle schema in SQL representation(DDL) statements and outputs to the consoleRunning
npx drizzle-kit exportwill output this string to console
By default, the only option for now is
--sql, so the output format will be SQL DDL statements. In the future, we will support additional output formats to accommodate more migration toolsnpx drizzle-kit export --sqlv0.30.0Compare Source
Starting from this update, the PostgreSQL dialect will align with the behavior of all other dialects. It will no longer include
IF NOT EXISTS,$DO, or similar statements, which could cause incorrect DDL statements to not fail when an object already exists in the database and should actually fail.This change marks our first step toward several major upgrades we are preparing:
v0.29.1Compare Source
v0.29.0Compare Source
New Dialects
🎉
SingleStoredialect is now available in DrizzleThanks to the SingleStore team for creating a PR with all the necessary changes to support the MySQL-compatible part of SingleStore. You can already start using it with Drizzle. The SingleStore team will also help us iterate through updates and make more SingleStore-specific features available in Drizzle
You can check out our Getting started guides to try SingleStore!
New Drivers
🎉
SQLite Durable Objectsdriver is now available in DrizzleYou can now query SQLite Durable Objects in Drizzle!
For the full example, please check our Get Started Section
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.