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:
4.20241022.0
->4.20250129.0
1.0.14
->1.0.18
22.8.7
->22.12.0
11.5.0
->11.8.1
0.37.103
->0.37.118
16.4.5
->16.4.7
0.27.1
->0.30.4
0.36.0
->0.39.1
0.24.0
->0.24.2
4.6.8
->4.6.19
3.20241022.0
->3.20250124.1
8.0.1
->8.1.0
9.12.3
->9.15.4
3.3.3
->3.4.2
9.3.0
->9.4.2
8.3.5
->8.3.6
5.6.3
->5.7.3
6.20.0
->6.21.0
3.0.2
->3.0.4
3.84.1
->3.107.0
Release Notes
cloudflare/workerd (@cloudflare/workers-types)
v4.20250129.0
Compare Source
v4.20250124.3
Compare Source
v4.20250121.0
Compare Source
v4.20250109.0
Compare Source
v4.20241230.0
Compare Source
v4.20241224.0
Compare Source
v4.20241218.0
Compare Source
v4.20241216.0
Compare Source
v4.20241214.0
Compare Source
v4.20241205.0
Compare Source
v4.20241202.0
Compare Source
v4.20241127.0
Compare Source
v4.20241112.0
Compare Source
v4.20241106.0
Compare Source
leeoniya/uFuzzy (@leeoniya/ufuzzy)
v1.0.18
Compare Source
v1.0.17
Compare Source
fixes default export
v1.0.16
Compare Source
v1.0.15
Compare Source
BUSTED RELEASE, DOES NOT WORK, DO NOT USE
WiseLibs/better-sqlite3 (better-sqlite3)
v11.8.1
Compare Source
What's Changed
SQLITE_ENABLE_UPDATE_DELETE_LIMIT
due to breaking change in SQLite core (closes https://github.com/WiseLibs/better-sqlite3/issues/1318)New Contributors
Full Changelog: WiseLibs/better-sqlite3@v11.8.0...v11.8.1
v11.8.0
Compare Source
What's Changed
Full Changelog: WiseLibs/better-sqlite3@v11.7.2...v11.8.0
v11.7.2
Compare Source
What's Changed
Full Changelog: WiseLibs/better-sqlite3@v11.7.1...v11.7.2
v11.7.0
Compare Source
What's Changed
Full Changelog: WiseLibs/better-sqlite3@v11.6.0...v11.7.0
v11.6.0
Compare Source
What's Changed
New Contributors
Full Changelog: WiseLibs/better-sqlite3@v11.5.0...v11.6.0
discordjs/discord-api-types (discord-api-types)
v0.37.118
Compare Source
Features
incidents_data
(#822) (8fe9c07)v0.37.117
Compare Source
v0.37.116
Compare Source
Features
BadRequest
(#1191) (d9b6935)v0.37.115
Compare Source
v0.37.114
Compare Source
Bug Fixes
v0.37.113
Compare Source
Bug Fixes
Features
Bluesky
andMastodon
(#1174) (61592d6)v0.37.112
Compare Source
Features
renewal_sku_ids
(#1172) (fb7c6b8)v0.37.111
Compare Source
v0.37.110
Compare Source
Features
v0.37.109
Compare Source
Features
v0.37.108
Compare Source
Features
v0.37.107
Compare Source
Bug Fixes
v0.37.106
Compare Source
v0.37.105
Compare Source
Features
v0.37.104
Compare Source
Bug Fixes
ButtonStyle.Premium
(#1135) (736479c)motdotla/dotenv (dotenv)
v16.4.7
Compare Source
Changed
.tap
folder when publishing. (oops, sorry about that everyone. - @motdotla) #848v16.4.6
Compare Source
Changed
drizzle-team/drizzle-orm (drizzle-kit)
v0.30.4
Compare Source
v0.30.3
Compare Source
SingleStore
push
andgenerate
improvementsAs 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.2
Compare Source
v0.30.1
Compare Source
New Features
drizzle-kit export
To 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 export
will 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 --sql
v0.30.0
Compare 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.1
Compare Source
Fixes
New Features/Helpers
🎉 Detailed JSDoc for all query builders in all dialects - thanks @realmikesolo
You can now access more information, hints, documentation links, etc. while developing and using JSDoc right in your IDE. Previously, we had them only for filter expressions, but now you can see them for all parts of the Drizzle query builder
🎉 New helpers for aggregate functions in SQL - thanks @L-Mario564
Here is a list of functions and equivalent using
sql
templatecount
countDistinct
avg
avgDistinct
sum
sumDistinct
max
min
New Packages
🎉 ESLint Drizzle Plugin
For cases where it's impossible to perform type checks for specific scenarios, or where it's possible but error messages would be challenging to understand, we've decided to create an ESLint package with recommended rules. This package aims to assist developers in handling crucial scenarios during development
Install
You can install those packages for typescript support in your IDE
Usage
Create a
.eslintrc.yml
file, adddrizzle
to theplugins
, and specify the rules you want to use. You can find a list of all existing rules belowAll config
This plugin exports an
all
config that makes use of all rules (except for deprecated ones).At the moment,
all
is equivalent torecommended
Rules
enforce-delete-with-where: Enforce using
delete
with the.where()
clause in the.delete()
statement. Most of the time, you don't need to delete all rows in the table and require some kind ofWHERE
statements.Error Message:
Optionally, you can define a
drizzleObjectName
in the plugin options that accept astring
orstring[]
. This is useful when you have objects or classes with a delete method that's not from Drizzle. Such adelete
method will trigger the ESLint rule. To avoid that, you can define the name of the Drizzle object that you use in your codebase (like db) so that the rule would only trigger if the delete method comes from this object:Example, config 1:
Example, config 2:
enforce-update-with-where: Enforce using
update
with the.where()
clause in the.update()
statement. Most of the time, you don't need to update all rows in the table and require some kind ofWHERE
statements.Error Message:
Optionally, you can define a
drizzleObjectName
in the plugin options that accept astring
orstring[]
. This is useful when you have objects or classes with a delete method that's not from Drizzle. Such asupdate
method will trigger the ESLint rule. To avoid that, you can define the name of the Drizzle object that you use in your codebase (like db) so that the rule would only trigger if the delete method comes from this object:Example, config 1:
Example, config 2:
v0.29.0
Compare Source
New Dialects
🎉
SingleStore
dialect 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 Objects
driver is now available in DrizzleYou can now query SQLite Durable Objects in Drizzle!
For the full example, please check our Get Started Section
v0.28.1
Compare Source
Bug fixes
v0.28.0
Compare Source
Improvements
Bug Fixes
v0.27.2
Compare Source
drizzle-orm/supabase
evanw/esbuild (esbuild)
v0.24.2
Compare Source
Fix regression with
--define
andimport.meta
(#4010, #4012, #4013)The previous change in version 0.24.1 to use a more expression-like parser for
define
values to allow quoted property names introduced a regression that removed the ability to use--define:import.meta=...
. Even thoughimport
is normally a keyword that can't be used as an identifier, ES modules special-case theimport.meta
expression to behave like an identifier anyway. This change fixes the regression.This fix was contributed by @sapphi-red.
v0.24.1
Compare Source
Allow
es2024
as a target intsconfig.json
(#4004)TypeScript recently added
es2024
as a compilation target, so esbuild now supports this in thetarget
field oftsconfig.json
files, such as in the following configuration file:As a reminder, the only thing that esbuild uses this field for is determining whether or not to use legacy TypeScript behavior for class fields. You can read more in the documentation.
This fix was contributed by @billyjanitsch.
Allow automatic semicolon insertion after
get
/set
This change fixes a grammar bug in the parser that incorrectly treated the following code as a syntax error:
The above code will be considered valid starting with this release. This change to esbuild follows a similar change to TypeScript which will allow this syntax starting with TypeScript 5.7.
Allow quoted property names in
--define
and--pure
(#4008)The
define
andpure
API options now accept identifier expressions containing quoted property names. Previously all identifiers in the identifier expression had to be bare identifiers. This change now makes--define
and--pure
consistent with--global-name
, which already supported quoted property names. For example, the following is now possible:Note that if you're passing values like this on the command line using esbuild's
--define
flag, then you'll need to know how to escape quote characters for your shell. You may find esbuild's JavaScript API more ergonomic and portable than writing shell code.Minify empty
try
/catch
/finally
blocks (#4003)With this release, esbuild will now attempt to minify empty
try
blocks:This can sometimes expose additional minification opportunities.
Include
entryPoint
metadata for thecopy
loader (#3985)Almost all entry points already include a
entryPoint
field in theoutputs
map in esbuild's build metadata. However, this wasn't the case for thecopy
loader as that loader is a special-case that doesn't behave like other loaders. This release adds theentryPoint
field in this case.Source mappings may now contain
null
entries (#3310, #3878)With this change, sources that result in an empty source map may now emit a
null
source mapping (i.e. one with a generated position but without a source index or original position). This change improves source map accuracy by fixing a problem where minified code from a source without any source mappings could potentially still be associated with a mapping from another source file earlier in the generated output on theConfiguration
📅 Schedule: Branch creation - "* 0-3 * * 1" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.