fix(deps): update dependencies (non-major) #891
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:
3.379.1
->3.385.0
3.379.1
->3.385.0
6.15.3
->6.16.0
5.0.0
->5.1.1
18.17.1
->18.17.3
18.2.17
->18.2.18
6.2.0
->6.2.1
6.2.0
->6.2.1
4.0.3
->4.0.4
0.33.0
->0.34.1
8.9.0
->8.10.0
8.6.10
->8.6.12
3.0.0
->3.0.1
5.0.0
->5.1.1
7.45.2
->7.45.4
1.6.1
->1.6.2
1.64.1
->1.64.2
0.33.0
->0.34.1
Release Notes
aws/aws-sdk-js-v3 (@aws-sdk/client-s3)
v3.385.0
Note: Version bump only for package @aws-sdk/client-s3
v3.383.0
Note: Version bump only for package @aws-sdk/client-s3
v3.382.0
Note: Version bump only for package @aws-sdk/client-s3
3.379.1 (2023-07-28)
Note: Version bump only for package @aws-sdk/client-s3
aws/aws-sdk-js-v3 (@aws-sdk/s3-request-presigner)
v3.385.0
Note: Version bump only for package @aws-sdk/s3-request-presigner
v3.383.0
Note: Version bump only for package @aws-sdk/s3-request-presigner
v3.382.0
Note: Version bump only for package @aws-sdk/s3-request-presigner
3.379.1 (2023-07-28)
Note: Version bump only for package @aws-sdk/s3-request-presigner
codemirror/view (@codemirror/view)
v6.16.0
Compare Source
Bug fixes
Fix an issue that made the gutter not stick in place when the editor was in a right-to-left context.
New features
The new
EditorView.coordsForChar
method returns the client rectangle for a given character in the editor.prisma/prisma (@prisma/client)
v5.1.1
Compare Source
Today, we are issuing the
5.1.1
patch release.Fixes in Prisma Client
disconnect: true
does not appear to delete the foreign key in the returned dataneeds
andcount
methodv5.1.0
Compare Source
Today, we are excited to share the
5.1.0
stable release 🎉🌟 Help us spread the word about Prisma by starring the repo ☝️ or tweeting about the release.
Highlights
After two big releases where we released Client extensions for production usage (
4.16.0
) and made Prisma faster by default (5.0.0
), we have focused on some smaller issues to make the experience with these new features even better.Community contributions
Our community has been on the roll! We appreciate everyone who helps us by opening a GitHub issue or proposing a fix via Pull Requests. In this release, we're excited to highlight multiple community contributions:
PrismaAction
type, missingfindUniqueOrThrow
andfindFirstOrThrow
https://github.com/prisma/prisma/pull/17471 by @mejiaej and missinggroupBy
https://github.com/prisma/prisma/pull/19985 by @iurylippoBetter performance: Fewer SQL queries on PostgreSQL & CockroachDB
In our continued and ongoing work to make Prisma faster, we identified some Prisma Client queries that led to multiple SQL statements being executed — although in specific databases, that was not necessary.
Hence we optimized our internal SQL generation for PostgreSQL and CockroachDB to generate more efficient SQL queries:
Simple
create
queryIn a simple
create
query,RETURNING
makes the second query and the transaction statements obsolete:Prisma Client query
Before v5.1.0
5.1.0 and later
Simple
update
queryFor a simple
update
query,RETURNING
makes both additional queries and the transaction statements obsolete:Prisma Client query
Before v5.1.0
5.1.0 and later
Simple
update
query, return with relation valueOne
SELECT
query could easily be dropped in a simpleupdate
query that should return a relation value as well:Prisma Client query
Before v5.1.0
5.1.0 and later
Empty
update
queryAn empty
update
query can be optimized to skip the transaction and the second identical query by creating specific handling for this edge case in our code:Prisma Client query
Before v5.1.0
5.1.0 and later
Simple + relation
update
query (but do not return relation value)An update of both the model and its relation, we could drop 2
SELECT
queries that we did before without ever using their return values:Prisma Client query
Before v5.1.0
5.1.0 and later
In the next releases, we will continue optimizing Prisma Client queries to only run the minimal amount of SQL queries necessary.
If you notice any Prisma Client queries that are affected right now, please check the issues under our
performance/queries
label. If you didn’t find one for what you’re seeing, please create a new issue. This will be super useful for us to understand all (edge) cases. Thank you!Prisma Studio now supports
directUrl
Our CLI command
prisma studio
that opens Prisma Studio now also can use thedirectUrl
property of thedatasource
block so you can make it talk to a different database than defined inurl
. This makes it easier to use Studio alongside the Prisma Data Proxy and Accelerate.Prisma Client: No more type clashes
We fixed (almost) all cases where using a specific term as a model name in your Prisma Schema would lead to a type clash due to Prisma’s generated typings. As a result of a type clash, it was not possible to use that model in your code (this was e.g. the case if you named a model
Model
orModelUpdate
).We also deprecated the
<ModelName>Args
type as part of that fix. Going forward,<ModelName>DefaultArgs
should be used instead.Fixes and improvements
Prisma Client
X
andXUpdate
Model
andModelUpdate
is defined in the schema@prisma/internals
(previously @prisma/sdk) uses deprecated dependencies[email protected]
viatemp-write 4.0.0
Datasource
breaks generated return typesmodel
names cause clashes in generated types$extends
TS error: "Inferred type of this node exceeds the maximum length the compiler will serialize" with"declaration": true
intsconfig
Type '"findUniqueOrThrow"' is not assignable to type 'PrismaAction'
Promise
breaks types forPrismaPromise
include
not working on models ending with...Update
with unique compound indexLogLevel
enum conflicts with built-in Prisma typePrisma.XyzFindManyArgs
breaksfindMany
typing in v4.16.0+this.$on("beforeExit")
doesn't work anymore on 5.0.0Error: Unknown value type
on nested createfindUnique
on@unique
columns that are enums<Tablename>UpsertArgs
select field does not match type fordb.<tablename>.upsert(item)
by
ingroupBy
in 5.0.0TypeError [ERR_INVALID_URL]: Invalid URL
whenHTTP(S)_PROXY
en var has is set to a URL without a protocoltsc --watch
fails withJavaScript heap out of memory
errorGetResult
Prisma Studio
directUrl
inprisma studio
Language tools (e.g. VS Code)
Credits
Huge thanks to @skyzh, @alula, @michaelpoellath, @RobertCraigie, @Gerschtli, @andyjy, @mejiaej, @iurylippo, @mrazauskas for helping!
typescript-eslint/typescript-eslint (@typescript-eslint/eslint-plugin)
v6.2.1
Compare Source
Bug Fixes
You can read about our versioning strategy and releases on our website.
typescript-eslint/typescript-eslint (@typescript-eslint/parser)
v6.2.1
Compare Source
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
vitejs/vite-plugin-react (@vitejs/plugin-react)
v4.0.4
Compare Source
vitest-dev/vitest (@vitest/coverage-v8)
v0.34.1
Compare Source
🐞 Bug Fixes
--experimental-vm-worker-memory-limit
totinypool
- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/3856 (3c67a)View changes on GitHub
v0.34.0
Compare Source
🚨 Breaking Changes
transformMode
is now moved toserver.transformMode
. This option is highly discouraged to use. If you need to change the transform mode, use the new optiontestTransformMode
instead to control the mode based on the running test, not the current file path. By default, tests withjsdom
orhappy-dom
useweb
transform mode, and tests usingnode
oredge
environment usessr
mode. If you have a custom environment, it should providetransformMode
property.coverage.reportOnFailure
by default - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/3615 (0c6f6)@vitest/coverage-c8
package - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/3614 (a90d6)@vitest/coverage-c8
is no longer supported. Please, use@vitest/coverage-v8
instead.experimentalVmThreads
pool to run your tests using VM Sandboxes environment. Make sure you understand all pitfalls of this pool before opening an issue.server
option - by @fenghan34 and @sheremet-va in https://github.com/vitest-dev/vitest/issues/3725 (dc4fa)deps.
options are now moved toserver.deps
with a deprecation warning. Please, consider usingdeps.optimizer
instead ofdeps.inline
/deps.external
. Ideally, we would like to move away from usingserver.deps.inline
altogether.vite-node index.ts --watch
, you now have to dovite-node --watch index.ts
.deps.optimizer
is now enabled by default. This means that Vitest will bundle specified dependencies before running your tests. This field inherits options fromoptimizeDeps
andssr.optimizeDeps
which are populated by other plugins (like, Svelte).🚀 Features
describe.sequential
- by @fenghan34 and @dammy001 in https://github.com/vitest-dev/vitest/issues/3771 (86934)--related --watch
reruns non-affected tests if they were changed during a run - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3844 (c9aea)🐞 Bug Fixes
defineConfig
type from vite - by @sodatea in https://github.com/vitest-dev/vitest/issues/3804 (9c8e3)toStrictEqual
- by @Dunqing (52aef)istanbul-lib-instrument
to v6 to fix vulnerable dependency - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/3814 (f3bd9)🏎 Performance
deps.optimizer.web
instead. If you test Node.js applications, consider adding external packages toserver.deps.inline
.View changes on GitHub
prettier/eslint-config-prettier (eslint-config-prettier)
v8.10.0
Compare Source
pnpm/pnpm (pnpm)
v8.6.12
Compare Source
Patch Changes
pnpm patch
should work correctly whenshared-workspace-file
is set tofalse
#6885.pnpm env use
should retry deleting the previous Node.js executable #6587.pnpm dlx
should not print an error stack when the underlying script execution fails #6698.pnpm install --frozen-lockfile --lockfile-only
should fail if the lockfile is not up to date with thepackage.json
files #6913.Our Gold Sponsors
Our Silver Sponsors
v8.6.11
Compare Source
Patch Changes
ENAMETOOLONG
errors from happening #6842.--lockfile-only
.pnpm-lock.yaml
file of the installed dependency is not up-to-date #6865.dedupe-peer-dependents
tofalse
, when running installation during deploy #6858.Our Gold Sponsors
Our Silver Sponsors
prettier/prettier (prettier)
v3.0.1
Compare Source
diff
Fix cursor positioning for a special case (#14812 by @fisker)
Fix plugins/estree.d.ts to make it a module (#15018 by @kingyue737)
Add
export {}
inplugins/estree.d.ts
to fix the "File is not a module" errorAdd parenthesis around leading multiline comment in return statement (#15037 by @auvred)