chore(deps): update npm non-major dependencies #389
Merged
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.15.0->9.16.00.7.0->0.7.116.4.5->16.4.7^0.28.0->^0.29.0^0.36.0->^0.37.09.15.0->9.16.03.6.3->3.7.015.12.0->15.13.05.37.2->5.39.1^0.461.0->^0.464.03.3.3->3.4.29.4.0->9.4.15.1.0->5.2.03.4.15->3.4.168.16.0->8.17.02.1.5->2.1.8Release Notes
eslint/eslint (@eslint/js)
v9.16.0Compare Source
joe-bell/cva (class-variance-authority)
v0.7.1Compare Source
What's Changed
New Contributors
Full Changelog: joe-bell/cva@v0.7.0...v0.7.1
motdotla/dotenv (dotenv)
v16.4.7Compare Source
Changed
.tapfolder when publishing. (oops, sorry about that everyone. - @motdotla) #848v16.4.6Compare Source
Changed
drizzle-team/drizzle-orm (drizzle-kit)
v0.29.0Compare Source
New Features
🎉 MySQL
unsignedoption for bigintYou can now specify
bigint unsignedtypeRead more in docs
🎉 Improved query builder types
Starting from
0.29.0by default, as all the query builders in Drizzle try to conform to SQL as much as possible, you can only invoke most of the methods once. For example, in a SELECT statement there might only be one WHERE clause, so you can only invoke .where() once:This behavior is useful for conventional query building, i.e. when you create the whole query at once. However, it becomes a problem when you want to build a query dynamically, i.e. if you have a shared function that takes a query builder and enhances it. To solve this problem, Drizzle provides a special 'dynamic' mode for query builders, which removes the restriction of invoking methods only once. To enable it, you need to call .$dynamic() on a query builder.
Let's see how it works by implementing a simple withPagination function that adds LIMIT and OFFSET clauses to a query based on the provided page number and an optional page size:
Note that the withPagination function is generic, which allows you to modify the result type of the query builder inside it, for example by adding a join:
Read more in docs
🎉 Possibility to specify name for primary keys and foreign keys
There is an issue when constraint names exceed the 64-character limit of the database. This causes the database engine to truncate the name, potentially leading to issues. Starting from
0.29.0, you have the option to specify custom names for bothprimaryKey()andforeignKey(). We have also deprecated the oldprimaryKey()syntax, which can still be used but will be removed in future releasesRead more in docs
🎉 Read Replicas Support
You can now use the Drizzle
withReplicafunction to specify different database connections for read replicas and the main instance for write operations. By default,withReplicaswill use a random read replica for read operations and the main instance for all other data modification operations. You can also specify custom logic for choosing which read replica connection to use. You have the freedom to make any weighted, custom decision for that. Here are some usage examples:Implementation example of custom logic for selecting read replicas, where the first replica has a 70% chance of being chosen, and the second replica has a 30% chance of being chosen. Note that you can implement any type of random selection for read replicas
withReplicasfunction is available for all dialects in Drizzle ORMRead more in docs
🎉 Set operators support (UNION, UNION ALL, INTERSECT, INTERSECT ALL, EXCEPT, EXCEPT ALL)
Huge thanks to @Angelelz for the significant contribution he made, from API discussions to proper type checks and runtime logic, along with an extensive set of tests. This greatly assisted us in delivering this feature in this release
Usage examples:
All set operators can be used in a two ways:
import approachorbuilder approachImport approach
Builder approach
Read more in docs
🎉 New MySQL Proxy Driver
A new driver has been released, allowing you to create your own implementation for an HTTP driver using a MySQL database. You can find usage examples in the
./examples/mysql-proxyfolderYou need to implement two endpoints on your server that will be used for queries and migrations(Migrate endpoint is optional and only if you want to use drizzle migrations). Both the server and driver implementation are up to you, so you are not restricted in any way. You can add custom mappings, logging, and much more
You can find both server and driver implementation examples in the
./examples/mysql-proxyfolder🎉 New PostgreSQL Proxy Driver
Same as MySQL you can now implement your own http driver for PostgreSQL database. You can find usage examples in the
./examples/pg-proxyfolderYou need to implement two endpoints on your server that will be used for queries and migrations (Migrate endpoint is optional and only if you want to use drizzle migrations). Both the server and driver implementation are up to you, so you are not restricted in any way. You can add custom mappings, logging, and much more
You can find both server and driver implementation examples in the
./examples/pg-proxyfolder🎉
D1Batch API supportReference: https://developers.cloudflare.com/d1/platform/client-api/#dbbatch
Batch API usage example:
Type for
batchResponsein this example would be:All possible builders that can be used inside
db.batch:More usage examples here: integration-tests/tests/d1-batch.test.ts and in docs
Drizzle Kit 0.20.0
defineConfigfunctionbigint unsignedsupportprimaryKeysandforeignKeysnow can have custom namesYou can read more about drizzle-kit updates here
eslint/eslint (eslint)
v9.16.0Compare Source
Features
8f70eb1feat: AddignoreComputedKeysoption insort-keysrule (#19162) (Milos Djermanovic)Documentation
9eefc8fdocs: fix typos inuse-isnan(#19190) (루밀LuMir)0c8cea8docs: switch the order of words inno-unreachable(#19189) (루밀LuMir)0c19417docs: add missing backtick tono-async-promise-executor(#19188) (루밀LuMir)8df9276docs: add backtick in-0indescriptionofno-compare-neg-zero(#19186) (루밀LuMir)7e16e3fdocs: fixcaseSensitiveoption's title ofsort-keys(#19183) (Tanuj Kanti)0c6b842docs: fix typos inmigration-guide.md(#19180) (루밀LuMir)353266edocs: fix a typo indebug.md(#19179) (루밀LuMir)5ff318adocs: delete unnecessary horizontal rule(---) innodejs-api(#19175) (루밀LuMir)576bcc5docs: mark more rules as handled by TypeScript (#19164) (Tanuj Kanti)742d054docs: note thatno-restricted-syntaxcan be used with any language (#19148) (Milos Djermanovic)Chores
feb703bchore: upgrade to@eslint/[email protected](#19195) (Francesco Trotta)df9bf95chore: package.json update for @eslint/js release (Jenkins)f831893chore: add type forignoreComputedKeysoption ofsort-keys(#19184) (Tanuj Kanti)3afb8a1chore: update dependency @eslint/json to ^0.8.0 (#19177) (Milos Djermanovic)1f77c53chore: addrepository.directoryproperty topackage.json(#19165) (루밀LuMir)d460594chore: update dependency @arethetypeswrong/cli to ^0.17.0 (#19147) (renovate[bot])45cd4earefactor: update default options in rules (#19136) (Milos Djermanovic)import-js/eslint-import-resolver-typescript (eslint-import-resolver-typescript)
v3.7.0Compare Source
Minor Changes
#326
93ea130Thanks @SukkaW! - This version has implemented theeslint-plugin-import-x's v3 resolver interface. This allows you to use import/require to referenceeslint-import-resolver-typescriptdirectly in your ESLint flat config:Previously
Now
Note that this only works with
eslint-plugin-import-x@>=4.5.0. You can't usecreateTypeScriptImportResolverwith the older versions ofeslint-plugin-import-xor any existing versions ofeslint-plugin-import.sindresorhus/globals (globals)
v15.13.0Compare Source
webpro-nl/knip (knip)
v5.39.1Compare Source
d6dab3d)v5.39.0Compare Source
v5.38.4Compare Source
v5.38.3Compare Source
90d1f5c)204ce6d)v5.38.2Compare Source
5242ddd)v5.38.1Compare Source
b8379de)v5.38.0Compare Source
lucide-icons/lucide (lucide-react)
v0.464.0: New icons 0.464.0Compare Source
Modified Icons 🔨
paperclip(#2482) by @jguddaspicture-in-picture(#2481) by @jguddasv0.463.0: New icons 0.463.0Compare Source
Modified Icons 🔨
layers(#2596) by @jguddasv0.462.0: New icons 0.462.0Compare Source
New icons 🎨
image-upscale(#2462) by @jguddasModified Icons 🔨
grid-2x2(#2628) by @jguddasship(#2548) by @jguddasshuffle(#2478) by @jguddasvenetian-mask(#1950) by @jguddasprettier/prettier (prettier)
v3.4.2Compare Source
diff
Treat U+30A0 & U+30FB in Katakana Block as CJK (#16796 by @tats-u)
Prettier doesn't treat U+30A0 & U+30FB as Japanese. U+30FB is commonly used in Japanese to represent the delimitation of first and last names of non-Japanese people or “and”. The following “C言語・C++・Go・Rust” means “C language & C++ & Go & Rust” in Japanese.
U+30A0 can be used as the replacement of the
-in non-Japanese names (e.g. “Saint-Saëns” (Charles Camille Saint-Saëns) can be represented as “サン゠サーンス” in Japanese), but substituted by ASCII hyphen (U+002D) or U+FF1D (full width hyphen) in many cases (e.g. “サン=サーンス” or “サン=サーンス”).Fix comments print on class methods with decorators (#16891 by @fisker)
Fix non-idempotent formatting (#16899 by @seiyab)
This bug fix is not language-specific. You may see similar change in any languages. This fixes regression in 3.4.0 so change caused by it should yield same formatting as 3.3.3.
v3.4.1Compare Source
diff
Remove unnecessary parentheses around assignment in
v-on(#16887 by @fisker)v3.4.0Compare Source
diff
🔗 Release Notes
gpbl/react-day-picker (react-day-picker)
v9.4.1Compare Source
This release improves support for screen readers and fixes a VoiceOver issue when navigating the calendar.
What's Changed
roleandaria-labelprops by @gpbl in https://github.com/gpbl/react-day-picker/pull/2609Full Changelog: gpbl/react-day-picker@v9.4.0...v9.4.1
ValentinH/react-easy-crop (react-easy-crop)
v5.2.0Compare Source
🎉 This release contains work from a new contributor! 🎉
Thank you, null@IanSymplectic, for all your work!
🚀 Enhancement
Authors: 1
tailwindlabs/tailwindcss (tailwindcss)
v3.4.16Compare Source
Fixed
PluginsConfigallowundefinedvalues (#14668)Changed
typescript-eslint/typescript-eslint (typescript-eslint)
v8.17.0Compare Source
This was a version bump only for typescript-eslint to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
vitest-dev/vitest (vitest)
v2.1.8Compare Source
🐞 Bug Fixes
View changes on GitHub
v2.1.7Compare Source
🐞 Bug Fixes
pnpm.overridesor yarn resolutions to override theviteversion in thevitestpackage - the APIs are compatible.View changes on GitHub
v2.1.6Compare Source
🚀 Features
View changes on GitHub
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.