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:
9.10.0
->9.17.0
1.12.2
->1.13.7
20.16.5
->20.17.10
16.4.5
->16.4.7
0.24.2
->0.30.1
0.33.0
->0.38.2
9.9.1
->9.17.0
15.9.0
->15.13.0
4.5.11
->4.6.14
22.8.0-slim
->22.12.0-slim
9.9.0
->9.15.0
3.4.4
->3.4.5
4.19.0
->4.19.2
8.4.0
->8.18.1
Release Notes
eslint/eslint (@eslint/js)
v9.17.0
Compare Source
Features
eed91d1
feat: add suggestions tono-unused-vars
(#18352) (Tanuj Kanti)Bug Fixes
67d683d
fix: fix crash whenmessage.fix
is nullish (#19168) (ntnyq)c618707
fix: ignore vars with non-identifier references in no-useless-assignment (#19200) (YeonJuan)Documentation
3c22d2a
docs: updateyoda
toYoda
inyoda.md
for consistency (#19230) (루밀LuMir)e0a2203
docs: add missing backticks tono-sequences
(#19233) (루밀LuMir)4cc4881
docs: Update README (GitHub Actions Bot)3db6fdf
docs: [no-await-in-loop] expand on benefits and inapplicability (#19211) (Kirk Waiblinger)bf2a4f6
docs: add missing backticks tofunc-style
(#19227) (루밀LuMir)ba098bd
docs: add missing header toprefer-spread
(#19224) (루밀LuMir)b607ae6
docs: update description ofno-param-reassign
(#19220) (루밀LuMir)1eb424d
docs: add missing backticks toprefer-destructuring
(#19223) (루밀LuMir)85998d1
docs: add missing backticks tono-unneeded-ternary
(#19222) (루밀LuMir)b75b32c
docs: add missing backticks tono-new-func
(#19219) (루밀LuMir)a7700bc
docs: add missing backticks toid-length
(#19217) (루밀LuMir)e2bb429
docs: add missing backticks tocomplexity.md
(#19214) (루밀LuMir)045d716
docs: add missing)
toid-denylist
(#19213) (루밀LuMir)7fe4114
docs: Update README (GitHub Actions Bot)c743ba6
docs: add CSS language tono-restricted-syntax
(#19208) (Milos Djermanovic)1416d70
docs: add missing backticks toeqeqeq
(#19207) (루밀LuMir)b950c1b
docs: add missing backticks toprefer-object-spread
(#19206) (루밀LuMir)8a941cb
docs: update docs anddescription
ofrequire-unicode-regexp
(#19205) (루밀LuMir)cbab228
docs: Update README (GitHub Actions Bot)f2257ce
docs: update comments anddescription
ofno-script-url
(#19203) (루밀LuMir)365f0f4
docs: add missing backtick todefault-case-last
(#19202) (루밀LuMir)e6b84f5
docs: add missing punctuation in document (#19161) (루밀LuMir)c88708e
docs: replace quote with backtick indescription
offor-direction
(#19199) (루밀LuMir)a76f233
docs: use higher contrast color tokens for code comments (#19187) (Josh Goldberg ✨)db19502
docs: Update README (GitHub Actions Bot)Chores
cc243c9
chore: upgrade to@eslint/[email protected]
(#19242) (Francesco Trotta)84c5787
chore: package.json update for @eslint/js release (Jenkins)4c4f53b
chore: add missing backticks toflags.js
(#19226) (루밀LuMir)4b3132c
chore: update dependency eslint-plugin-expect-type to ^0.6.0 (#19221) (renovate[bot])9bf2204
chore: add type definitions for theeslint-config-eslint
package (#19050) (Arya Emami)ee8c220
chore: fix incorrectname
property inintegration-tutorial-code
(#19218) (루밀LuMir)cca801d
chore: Upgrade cross-spawn to 7.0.6 (#19185) (folortin)v9.16.0
Compare Source
v9.15.0
Compare Source
v9.14.0
Compare Source
v9.13.0
Compare Source
Features
381c32b
feat: Allow languages to providedefaultLanguageOptions
(#19003) (Milos Djermanovic)bf723bd
feat: Improve eslintrc warning message (#19023) (Milos Djermanovic)1def4cd
feat: drop support for jiti v1.21 (#18996) (Francesco Trotta)f879be2
feat: exportESLint.defaultConfig
(#18983) (Nitin Kumar)Bug Fixes
78836d4
fix: update thecomplexity
rule type (#19027) (Nitin Kumar)064c8b6
fix: update rule types (#18925) (Nitin Kumar)Documentation
abdbfa8
docs: markLintMessage#nodeType
as deprecated (#19019) (Nitin Kumar)19e68d3
docs: update deprecated rules type definitions (#19018) (Nitin Kumar)7dd402d
docs: Update examples of passing multiple values to a CLI option (#19006) (Milos Djermanovic)5dcbc51
docs: Add example with side-effect imports to no-restricted-imports (#18997) (Milos Djermanovic)1ee87ca
docs: Update README (GitHub Actions Bot)2c3dbdc
docs: Use prerendered sponsors for README (#18988) (Milos Djermanovic)Chores
68d2d9d
chore: upgrade to@eslint/[email protected]
and@eslint/core@^0.7.0
(#19034) (Francesco Trotta)2211f0a
chore: package.json update for @eslint/js release (Jenkins)c7abaef
perf: using Node.js compile cache (#19012) (唯然)1d7c077
chore: add pkg.type "commonjs" (#19011) (唯然)468e3bd
test: fixESLint
tests (#19021) (Francesco Trotta)ed4635f
ci: upgrade [email protected] (#18992) (Milos Djermanovic)efad767
chore: remove unused ignore dependency (#18993) (Amaresh S M)v9.12.0
Compare Source
Features
5a6a053
feat: update tojiti
v2 (#18954) (Arya Emami)17a07fb
feat: Hooks for test cases (RuleTester) (#18771) (Anna Bocharova)2ff0e51
feat: Implement alternate config lookup (#18742) (Nicholas C. Zakas)2d17453
feat: Implement modified cyclomatic complexity (#18896) (Dmitry Pashkevich)Bug Fixes
ea380ca
fix: Upgrade retry to avoid EMFILE errors (#18986) (Nicholas C. Zakas)fdd6319
fix: Issues with type definitions (#18940) (Arya Emami)Documentation
ecbd522
docs: Mention code explorer (#18978) (Nicholas C. Zakas)7ea4ecc
docs: Clarifying the Use of Meta Objects (#18697) (Amaresh S M)d3e4b2e
docs: Clarify how to exclude.js
files (#18976) (Milos Djermanovic)57232ff
docs: Mention plugin-kit in language docs (#18973) (Nicholas C. Zakas)b80ed00
docs: Update README (GitHub Actions Bot)cb69ab3
docs: Update README (GitHub Actions Bot)7fb0d95
docs: Update README (GitHub Actions Bot)493348a
docs: Update README (GitHub Actions Bot)87a582c
docs: fix typo inid-match
rule (#18944) (Jay)Chores
555aafd
chore: upgrade to@eslint/[email protected]
(#18987) (Francesco Trotta)873ae60
chore: package.json update for @eslint/js release (Jenkins)d0a5414
refactor: replace strip-ansi with native module (#18982) (Cristopher)b827029
chore: Enable JSON5 linting (#18979) (Milos Djermanovic)8f55ca2
chore: Upgrade espree, eslint-visitor-keys, eslint-scope (#18962) (Nicholas C. Zakas)c1a2725
chore: update dependency mocha to ^10.7.3 (#18945) (Milos Djermanovic)v9.11.1
Compare Source
Bug Fixes
20fd916
fix: add@eslint/core
,@types/estree
, &@types/json-schema
deps (#18938) (Nitin Kumar)2738322
fix: add missing types forrequire-atomic-updates
rule (#18937) (Kristóf Poduszló)d71ff30
fix: add missing types forobject-shorthand
rule (#18935) (Kristóf Poduszló)561cadc
fix: add missing types forno-unsafe-negation
rule (#18932) (Kristóf Poduszló)8843656
fix: add missing types forno-underscore-dangle
rule (#18931) (Kristóf Poduszló)92cde5c
fix: add missing types forno-shadow
rule (#18930) (Kristóf Poduszló)b3cbe11
fix: add missing types forno-sequences
rule (#18929) (Kristóf Poduszló)976f77f
fix: add missing types forno-unused-expressions
rule (#18933) (Kristóf Poduszló)Documentation
3eff709
docs: replace deprecatedLinter.FlatConfig
type withLinter.Config
(#18941) (Carlos Meira)Chores
df4a859
chore: upgrade @eslint/js@9.11.1 (#18943) (Milos Djermanovic)36d8095
chore: package.json update for @eslint/js release (Jenkins)v9.11.0
Compare Source
honojs/node-server (@hono/node-server)
v1.13.7
Compare Source
What's Changed
New Contributors
Full Changelog: honojs/node-server@v1.13.6...v1.13.7
v1.13.6
Compare Source
What's Changed
Full Changelog: honojs/node-server@v1.13.5...v1.13.6
v1.13.5
Compare Source
What's Changed
Full Changelog: honojs/node-server@v1.13.4...v1.13.5
v1.13.4
Compare Source
What's Changed
New Contributors
Full Changelog: honojs/node-server@v1.13.3...v1.13.4
v1.13.3
Compare Source
What's Changed
New Contributors
Full Changelog: honojs/node-server@v1.13.2...v1.13.3
v1.13.2
Compare Source
What's Changed
New Contributors
Full Changelog: honojs/node-server@v1.13.1...v1.13.2
v1.13.1
Compare Source
What's Changed
Full Changelog: honojs/node-server@v1.13.0...v1.13.1
v1.13.0
Compare Source
What's Changed
onFound
option by @yusukebe in https://github.com/honojs/node-server/pull/198precompressed
option by @yusukebe in https://github.com/honojs/node-server/pull/199Full Changelog: honojs/node-server@v1.12.2...v1.13.0
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.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
v0.27.1
Compare Source
v0.27.0
Compare Source
Correct behavior when installed in a monorepo (multiple Drizzle instances)
Replacing all
instanceof
statements with a customis()
function allowed us to handle multiple Drizzle packages interacting properly.It also fixes one of our biggest Discord tickets:
maximum call stack exceeded
🎉You should now use
is()
instead ofinstanceof
to check if specific objects are instances of specific Drizzle types. It might be useful if you are building something on top of the Drizzle API.distinct
clause support