chore(deps): update all non-major dependencies
This PR contains the following updates:
Release Notes
babel/babel (@babel/generator)
v7.25.6
:bug: Bug Fix
-
babel-generator- #16783 Properly print inner comments in TS array types (@nicolo-ribaudo)
- #16775 fix: jsx whitespace is not properly preserved when retainLines (@liuxingbaoyu)
-
babel-traverse-
#16727 fix:
path.getAssignmentIdentifiersmay beundefined(@liuxingbaoyu)
-
#16727 fix:
-
babel-parser -
babel-helpers,babel-plugin-transform-optional-chaining,babel-runtime-corejs3-
#16769 Only wrap functions in
superPropertyGethelper (@nicolo-ribaudo)
-
#16769 Only wrap functions in
:nail_care: Polish
-
babel-generator,babel-plugin-transform-async-to-generator,babel-plugin-transform-block-scoping,babel-plugin-transform-class-properties,babel-plugin-transform-classes,babel-plugin-transform-duplicate-named-capturing-groups-regex,babel-plugin-transform-named-capturing-groups-regex,babel-plugin-transform-react-jsx-development,babel-plugin-transform-react-jsx,babel-plugin-transform-react-pure-annotations,babel-plugin-transform-regenerator,babel-plugin-transform-runtime,babel-preset-env-
#16780 Do not enforce printing space between
(and comments (@nicolo-ribaudo)
-
#16780 Do not enforce printing space between
-
babel-plugin-syntax-import-assertions,babel-plugin-syntax-import-attributes- #16781 Don't throw when enabling both syntax-import-{assertions,attributes} (@nicolo-ribaudo)
-
babel-generator- #16782 TS union/intersection nested in union does not need parens (@nicolo-ribaudo)
:house: Internal
-
babel-generator-
#16777 Remove unused
parentparams in the generator (@nicolo-ribaudo)
-
#16777 Remove unused
v7.25.5
:bug: Bug Fix
-
babel-generator,babel-traverse- #16764 fix: Generate parentheses correctly (@liuxingbaoyu)
:nail_care: Polish
-
babel-generator-
#16738 Only force-parenthesize
satisfies's LHS if it has newlines (@nicolo-ribaudo)
-
#16738 Only force-parenthesize
v7.25.4
:bug: Bug Fix
-
babel-traverse- #16756 fix: Skip computed key when renaming (@liuxingbaoyu)
-
babel-helper-create-class-features-plugin,babel-plugin-proposal-decorators- #16755 fix: Decorator 2018-09 may throw an exception (@liuxingbaoyu)
-
babel-types- #16710 Visit AST fields nodes according to their syntactical order (@nicolo-ribaudo)
-
babel-generator-
#16709 Print semicolon after TS
export namespace as A(@nicolo-ribaudo)
-
#16709 Print semicolon after TS
:nail_care: Polish
-
babel-generator,babel-plugin-proposal-decorators,babel-plugin-proposal-destructuring-private,babel-plugin-proposal-pipeline-operator,babel-plugin-transform-class-properties,babel-plugin-transform-destructuring,babel-plugin-transform-optional-chaining,babel-plugin-transform-private-methods,babel-plugin-transform-private-property-in-object,babel-plugin-transform-typescript,babel-runtime-corejs2,babel-runtime,babel-traverse- #16722 Avoid unnecessary parens around sequence expressions (@nicolo-ribaudo)
-
babel-generator,babel-plugin-transform-class-properties- #16714 Avoid unnecessary parens around exported arrow functions (@nicolo-ribaudo)
-
babel-generator,babel-plugin-proposal-decorators,babel-plugin-proposal-destructuring-private,babel-plugin-transform-object-rest-spread- #16712 Avoid printing unnecessary parens around object destructuring (@nicolo-ribaudo)
:microscope: Output optimization
-
babel-generator- #16740 Avoid extra spaces between comments/regexps in compact mode (@nicolo-ribaudo)
babel/babel (@babel/parser)
v7.25.6
v7.25.4
v7.25.4 (2024-08-22)
:bug: Bug Fix
-
babel-traverse- #16756 fix: Skip computed key when renaming (@liuxingbaoyu)
-
babel-helper-create-class-features-plugin,babel-plugin-proposal-decorators- #16755 fix: Decorator 2018-09 may throw an exception (@liuxingbaoyu)
-
babel-types- #16710 Visit AST fields nodes according to their syntactical order (@nicolo-ribaudo)
-
babel-generator-
#16709 Print semicolon after TS
export namespace as A(@nicolo-ribaudo)
-
#16709 Print semicolon after TS
:nail_care: Polish
-
babel-generator,babel-plugin-proposal-decorators,babel-plugin-proposal-destructuring-private,babel-plugin-proposal-pipeline-operator,babel-plugin-transform-class-properties,babel-plugin-transform-destructuring,babel-plugin-transform-optional-chaining,babel-plugin-transform-private-methods,babel-plugin-transform-private-property-in-object,babel-plugin-transform-typescript,babel-runtime-corejs2,babel-runtime,babel-traverse- #16722 Avoid unnecessary parens around sequence expressions (@nicolo-ribaudo)
-
babel-generator,babel-plugin-transform-class-properties- #16714 Avoid unnecessary parens around exported arrow functions (@nicolo-ribaudo)
-
babel-generator,babel-plugin-proposal-decorators,babel-plugin-proposal-destructuring-private,babel-plugin-transform-object-rest-spread- #16712 Avoid printing unnecessary parens around object destructuring (@nicolo-ribaudo)
:microscope: Output optimization
-
babel-generator- #16740 Avoid extra spaces between comments/regexps in compact mode (@nicolo-ribaudo)
Committers: 4
- Babel Bot (@babel-bot)
- Huáng Jùnliàng (@JLHwung)
- Nicolò Ribaudo (@nicolo-ribaudo)
- @liuxingbaoyu
clerk/javascript (@clerk/tanstack-start)
v0.3.2
Patch Changes
- Updated dependencies [
c1389492d]:- @clerk/types@4.16.0
- @clerk/backend@1.8.3
- @clerk/clerk-react@5.4.5
- @clerk/shared@2.5.5
v0.3.1
Patch Changes
-
Fix a bug when using the
getAuthfunction multiple times (#4019) by @octoper -
Updated dependencies [
0158c774a,8be1a7abc]:- @clerk/types@4.15.1
- @clerk/backend@1.8.2
- @clerk/clerk-react@5.4.4
- @clerk/shared@2.5.4
v0.3.0
Minor Changes
Patch Changes
- Updated dependencies [
96234ce3d,247b3fd75]:- @clerk/clerk-react@5.4.3
- @clerk/types@4.15.0
- @clerk/backend@1.8.1
- @clerk/shared@2.5.3
v0.3.0-snapshot.vf6cf34f
v0.3.0-snapshot.vdf05802
prisma/prisma (@prisma/client)
v5.19.0
Today, we are excited to share the 5.19.0 stable release 🎉
🌟 Help us spread the word about Prisma by starring the repo or posting on X about the release. 🌟
Highlights
Introducing TypedSQL
TypedSQL is a brand new way to interact with your database from Prisma Client. After enabling the typedSql Preview feature, you’re able to write SQL queries in a new sql subdirectory of your prisma directory. These queries are then checked by Prisma during using the new --sql flag of prisma generate and added to your client for use in your code.
To get started with TypedSQL:
-
Make sure that you have the latest version of
prismaand@prisma/clientinstalled:npm install -D prisma@latest npm install @​prisma/client@latest -
Enable the
typedSqlPreview feature in your Prisma Schema.generator client { provider = "prisma-client-js" previewFeatures = ["typedSql"] } -
Create a
sqlsubdirectory of yourprismadirectory.mkdir -p prisma/sql -
You can now add
.sqlfiles to thesqldirectory! Each file can contain one sql query and the name must be a valid JS identifier. For this example, say you had the filegetUsersWithPosts.sqlwith the following contents:SELECT u.id, u.name, COUNT(p.id) as "postCount" FROM "User" u LEFT JOIN "Post" p ON u.id = p."authorId" GROUP BY u.id, u.name -
Import your SQL query into your code with the
@prisma/client/sqlimport:import { PrismaClient } from '@​prisma/client' import { getUsersWithPosts } from '@​prisma/client/sql' const prisma = new PrismaClient() const usersWithPostCounts = await prisma.$queryRawTyped(getUsersWithPosts) console.log(usersWithPostCounts)
There’s a lot more to talk about with TypedSQL. We think that the combination of the high-level Prisma Client API and the low-level TypedSQL will make for a great developer experience for all of our users.
To learn more about behind the “why” of TypedSQL be sure to check out our announcement blog post.
For docs, check out our new TypedSQL section.
Bug fixes
Driver adapters and D1
A few issues with our driverAdapters Preview feature and Cloudflare D1 support were resolved via https://github.com/prisma/prisma-engines/pull/4970 and https://github.com/prisma/prisma/pull/24922
- Mathematic operations such as
max,min,eq, etc in queries when using Cloudflare D1. - Resolved issues when comparing
BigIntIDs whenrelationMode="prisma"was enabled and Cloudflare D1 was being used.
Joins
-
https://github.com/prisma/prisma/issues/23742 fixes Prisma Client not supporting deeply nested
someclauses when therelationJoinsPreview feature was enabled.
Join us
Looking to make an impact on Prisma in a big way? We're now hiring engineers for the ORM team!
- Senior Engineer (TypeScript): This person will be primarily working on the TypeScript side and evolving our Prisma client. Rust knowledge (or desire to learn Rust) is a plus.
-
Senior Engineer (Rust): This person will be focused on the
prisma-enginesRust codebase. TypeScript knowledge (or, again, a desire to learn) is a plus.
Credits
Huge thanks to @mcuelenaere, @pagewang0, @Druue, @key-moon, @Jolg42, @pranayat, @ospfranco, @yubrot, @skyzh for helping!
v5.18.0
🌟 Help us spread the word about Prisma by starring the repo or tweeting about the release. 🌟
Highlights
Native support for UUIDv7
Previous to this release, the Prisma Schema function uuid() did not accept any arguments and created a UUIDv4 ID. While sufficient in many cases, UUIDv4 has a few drawbacks, namely that it is not temporally sortable.
UUIDv7 attempts to resolve this issue, making it easy to temporally sort your database rows by ID!
To support this, we’ve updated the uuid() function in Prisma Schema to accept an optional, integer argument. Right now, the only valid values are 4 and 7, with 4 being the default.
model User {
id String @​id @​default(uuid()) // defaults to 4
name String
}
model User {
id String @​id @​default(uuid(4)) // same as above, but explicit
name String
}
model User {
id String @​id @​default(uuid(7)) // will use UUIDv7 instead of UUIDv4
name String
}
Bug squashing
We’ve squashed a number of bugs this release, special thanks to everyone who helped us! A few select highlights are:
-
SQLite db will now be created and read from the correct location when using
prismaSchemaFolder. -
Empty
Json[]fields will now return[]instead ofnullwhen accessed through a join using therelationJoinsPreview feature.
Fixes and improvements
Prisma
Language tools (e.g. VS Code)
Credits
Huge thanks to @mcuelenaere, @pagewang0, @Druue, @key-moon, @Jolg42, @pranayat, @ospfranco, @yubrot, @skyzh, @haaawk for helping!
swc-project/swc (@swc/core)
v1.7.21
Bug Fixes
v1.7.19
Bug Fixes
Features
Miscellaneous Tasks
Refactor
v1.7.18
v1.7.14
[Compar
Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (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.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
☁️ Nx Cloud Report
CI is running/has finished running commands for commit c36b9e98171e751ff40b428958f54303bee6ce9e. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.
📂 See all runs for this CI Pipeline Execution
✅ Successfully ran 2 targets
Sent with 💌 from NxCloud.
More templates
- tanstack-router-react-example-authenticated-routes
- tanstack-router-react-example-basic
- tanstack-router-react-example-basic-default-search-params
- tanstack-router-react-example-basic-file-based
- tanstack-router-react-example-basic-file-based-codesplitting
- tanstack-router-react-example-react-query
- tanstack-router-react-example-basic-react-query-file-based
- tanstack-router-react-example-basic-ssr-file-based
- tanstack-router-react-example-basic-ssr-streaming-file-based
- tanstack-router-react-example-basic-virtual-file-based
- tanstack-router-react-example-basic-virtual-inside-file-based
- tanstack-router-react-example-deferred-data
- tanstack-router-react-example-kitchen-sink
- tanstack-router-react-example-kitchen-sink-file-based
- tanstack-router-react-example-kitchen-sink-react-query
- tanstack-router-react-example-kitchen-sink-react-query-file-based
- tanstack-router-react-example-large-file-based
- tanstack-router-react-example-location-masking
- tanstack-router-react-example-navigation-blocking
- tanstack-router-react-example-quickstart
- tanstack-router-react-example-quickstart-file-based
- tanstack-router-react-example-quickstart-rspack-file-based
- tanstack-router-react-example-scroll-restoration
- tanstack-router-react-example-quickstart-webpack-file-based
- tanstack-router-search-validator-adapters
- tanstack-router-example-react-start-basic
- tanstack-router-example-react-start-basic-counter
- tanstack-router-example-react-start-basic-auth
- tanstack-router-example-react-start-basic-rsc
- tanstack-router-example-react-start-basic-react-query
- tanstack-router-example-react-start-trello-trellaux
- tanstack-router-example-react-start-clerk-basic
- tanstack-router-example-react-start-trellaux
- tanstack-router-example-react-start-supabase-basic
- tanstack-router-react-example-with-framer-motion
- tanstack-router-react-example-with-trpc
- tanstack-router-react-example-with-trpc-react-query
@tanstack/create-router
pnpm add https://pkg.pr.new/@tanstack/create-router@2217
@tanstack/history
pnpm add https://pkg.pr.new/@tanstack/history@2217
@tanstack/react-cross-context
pnpm add https://pkg.pr.new/@tanstack/react-cross-context@2217
@tanstack/react-router
pnpm add https://pkg.pr.new/@tanstack/react-router@2217
@tanstack/react-router-with-query
pnpm add https://pkg.pr.new/@tanstack/react-router-with-query@2217
@tanstack/router-arktype-adapter
pnpm add https://pkg.pr.new/@tanstack/router-arktype-adapter@2217
@tanstack/router-cli
pnpm add https://pkg.pr.new/@tanstack/router-cli@2217
@tanstack/router-devtools
pnpm add https://pkg.pr.new/@tanstack/router-devtools@2217
@tanstack/router-generator
pnpm add https://pkg.pr.new/@tanstack/router-generator@2217
@tanstack/router-valibot-adapter
pnpm add https://pkg.pr.new/@tanstack/router-valibot-adapter@2217
@tanstack/router-plugin
pnpm add https://pkg.pr.new/@tanstack/router-plugin@2217
@tanstack/router-vite-plugin
pnpm add https://pkg.pr.new/@tanstack/router-vite-plugin@2217
@tanstack/router-zod-adapter
pnpm add https://pkg.pr.new/@tanstack/router-zod-adapter@2217
@tanstack/start
pnpm add https://pkg.pr.new/@tanstack/start@2217
@tanstack/start-vite-plugin
pnpm add https://pkg.pr.new/@tanstack/start-vite-plugin@2217
@tanstack/virtual-file-routes
pnpm add https://pkg.pr.new/@tanstack/virtual-file-routes@2217
commit: c36b9e9