🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
chore: upgrade prisma to 5.22.0 (#4308)
Steffen Schmitz3cbe56861f17
diff --git a/packages/shared/package.json b/packages/shared/package.jsonindex d114ffbd15..ccda4115be 100644--- a/packages/shared/package.json+++ b/packages/shared/package.json@@ -65,7 +65,7 @@"@langchain/core": "^0.3.9","@langchain/openai": "^0.3.0","@opentelemetry/api": ">=1.0.0 <1.10.0",- "@prisma/client": "^5.20.0",+ "@prisma/client": "^5.22.0","@react-email/components": "^0.0.19","@react-email/render": "^0.0.15","@types/bcryptjs": "^2.4.6",@@ -103,7 +103,7 @@"kysely-codegen": "^0.16.8","nodemon": "^3.1.7","prettier": "^3.3.3",- "prisma": "^5.20.0",+ "prisma": "^5.22.0","prisma-erd-generator": "^1.11.2","prisma-kysely": "^1.8.0","ts-node": "^10.9.2",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex abf6dc3d84..ba19a24cc3 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -156,8 +156,8 @@ importers:specifier: '>=1.0.0 <1.10.0'version: 1.9.0'@prisma/client':- specifier: ^5.20.0- version: 5.20.0([email protected])+ specifier: ^5.22.0+ version: 5.22.0([email protected])'@react-email/components':specifier: ^0.0.19version: 0.0.19(@types/[email protected])([email protected])@@ -208,7 +208,7 @@ importers:version: 6.9.15prisma-extension-kysely:specifier: ^2.1.0- version: 2.1.0(@prisma/[email protected]([email protected]))+ version: 2.1.0(@prisma/[email protected]([email protected]))react:specifier: ~18.2.0version: 18.2.0@@ -271,11 +271,11 @@ importers:specifier: ^3.3.3version: 3.3.3prisma:- specifier: ^5.20.0- version: 5.20.0+ specifier: ^5.22.0+ version: 5.22.0prisma-erd-generator:specifier: ^1.11.2prisma-kysely:specifier: ^1.8.0version: 1.8.0@@ -359,7 +359,7 @@ importers:version: 7.19.0(@emotion/[email protected](@types/[email protected])([email protected]))(@emotion/[email protected](@emotion/[email protected](@types/[email protected])([email protected]))(@types/[email protected])([email protected]))(@mui/[email protected](@emotion/[email protected](@types/[email protected])([email protected]))(@emotion/[email protected](@emotion/[email protected](@types/[email protected])([email protected]))(@types/[email protected])([email protected]))(@types/[email protected])([email protected]([email protected]))([email protected]))(@mui/[email protected](@emotion/[email protected](@types/[email protected])([email protected]))(@emotion/[email protected](@emotion/[email protected](@types/[email protected])([email protected]))(@types/[email protected])([email protected]))(@types/[email protected])([email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@next-auth/prisma-adapter':specifier: ^1.0.7- version: 1.0.7(@prisma/[email protected]([email protected]))([email protected]([email protected](@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected]))+ version: 1.0.7(@prisma/[email protected]([email protected]))([email protected]([email protected](@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected]))'@opentelemetry/api':specifier: ^1.9.0version: 1.9.0@@ -403,8 +403,8 @@ importers:specifier: ^1.26.0version: 1.26.0(@opentelemetry/[email protected])'@prisma/instrumentation':- specifier: ^5.20.0- version: 5.20.0+ specifier: ^5.22.0+ version: 5.22.0'@radix-ui/react-accordion':specifier: ^1.2.1version: 1.2.1(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])@@ -601,8 +601,8 @@ importers:specifier: ^2.2.0version: 2.2.0prisma:- specifier: ^5.20.0- version: 5.20.0+ specifier: ^5.22.0+ version: 5.22.0rate-limiter-flexible:specifier: ^5.0.3version: 5.0.3@@ -831,8 +831,8 @@ importers:specifier: ^0.53.0version: 0.53.0(@opentelemetry/[email protected])'@prisma/instrumentation':- specifier: ^5.20.0- version: 5.20.0+ specifier: ^5.22.0+ version: 5.22.0backoff:specifier: ^2.5.0version: 2.5.0@@ -3063,8 +3063,8 @@ packages:'@popperjs/[email protected]':resolution: {integrity: sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==}- '@prisma/[email protected]':- resolution: {integrity: sha512-CLv55ZuMuUawMsxoqxGtLT3bEZoa2W8L3Qnp6rDIFWy+ZBrUcOFKdoeGPSnbBqxc3SkdxJrF+D1veN/WNynZYA==}+ '@prisma/[email protected]':+ resolution: {integrity: sha512-M0SVXfyHnQREBKxCgyo7sffrKttwE6R8PMq330MIUF0pTwjUhLbW84pFDlf06B27XyCR++VtjugEnIHdr07SVA==}engines: {node: '>=16.13'}peerDependencies:prisma: '*'@@ -3072,23 +3072,23 @@ packages:prisma:optional: true- '@prisma/[email protected]':- resolution: {integrity: sha512-oCx79MJ4HSujokA8S1g0xgZUGybD4SyIOydoHMngFYiwEwYDQ5tBQkK5XoEHuwOYDKUOKRn/J0MEymckc4IgsQ==}+ '@prisma/[email protected]':+ resolution: {integrity: sha512-AUt44v3YJeggO2ZU5BkXI7M4hu9BF2zzH2iF2V5pyXT/lRTyWiElZ7It+bRH1EshoMRxHgpYg4VB6rCM+mG5jQ==}'@prisma/[email protected]':resolution: {integrity: sha512-eYrxqslEKf+wpMFIIHgbcNYuZBXUdiJLA85Or3TwOhgPIN1ZoXT9CwJph3ynW8H1Xg0LkdYLwVmuULCwiMoU5A==}- '@prisma/engines-version@5.20.0-12.06fc58a368dc7be9fbbbe894adf8d445d208c284':- resolution: {integrity: sha512-Lg8AS5lpi0auZe2Mn4gjuCg081UZf88k3cn0RCwHgR+6cyHHpttPZBElJTHf83ZGsRNAmVCZCfUGA57WB4u4JA==}+ '@prisma/engines-version@5.22.0-44.605197351a3c8bdd595af2d2a9bc3025bca48ea2':+ resolution: {integrity: sha512-2PTmxFR2yHW/eB3uqWtcgRcgAbG1rwG9ZriSvQw+nnb7c4uCr3RAcGMb6/zfE88SKlC1Nj2ziUvc96Z379mHgQ==}- '@prisma/[email protected]':- resolution: {integrity: sha512-DtqkP+hcZvPEbj8t8dK5df2b7d3B8GNauKqaddRRqQBBlgkbdhJkxhoJTrOowlS3vaRt2iMCkU0+CSNn0KhqAQ==}+ '@prisma/[email protected]':+ resolution: {integrity: sha512-UNjfslWhAt06kVL3CjkuYpHAWSO6L4kDCVPegV6itt7nD1kSJavd3vhgAEhjglLJJKEdJ7oIqDJ+yHk6qO8gPA==}'@prisma/[email protected]':resolution: {integrity: sha512-6QkILNyfeeN67BNEPEtkgh3Xo2tm6D7V+UhrkBbRHqKw9CTaz/vvTP/ROwYSP/3JT2MtIutZm/EnhxUiuOPVDA==}- '@prisma/[email protected]':- resolution: {integrity: sha512-JVcaPXC940wOGpCOwuqQRTz6I9SaBK0c1BAyC1pcz9xBi+dzFgUu3G/p9GV1FhFs9OKpfSpIhQfUJE9y00zhqw==}+ '@prisma/[email protected]':+ resolution: {integrity: sha512-bkrD/Mc2fSvkQBV5EpoFcZ87AvOgDxbG99488a5cexp5Ccny+UM6MAe/UFkUC0wLYD9+9befNOqGiIJhhq+HbA==}'@prisma/[email protected]':resolution: {integrity: sha512-w1yk1YiK8N82Pobdq58b85l6e8akyrkxuzwV9DoiUTRf3gpsuhJJesHc4Yi0WzUC9/3znizl1UfCsI6dhkj3Vw==}@@ -3096,8 +3096,8 @@ packages:'@prisma/[email protected]':resolution: {integrity: sha512-zrYS0iHLgPlOJjYnd5KvVMMvSS+ktOL39EwooS5EnyvfzwfzxlKCeOUgxTfiKYs0WUWqzEvyNAYtramYgSknsQ==}- '@prisma/[email protected]':- resolution: {integrity: sha512-8/+CehTZZNzJlvuryRgc77hZCWrUDYd/PmlZ7p2yNXtmf2Una4BWnTbak3us6WVdqoz5wmptk6IhsXdG2v5fmA==}+ '@prisma/[email protected]':+ resolution: {integrity: sha512-pHhpQdr1UPFpt+zFfnPazhulaZYCUqeIcPpJViYoq9R+D/yw4fjE+CtnsnKzPYm0ddUbeXUzjGVGIRVgPDCk4Q==}'@prisma/[email protected]':resolution: {integrity: sha512-3IiZY2BUjKnAuZ0569zppZE6/rZbVAM09//c2nvPbbkGG9MqrirA8fbhhF7tfVmhyVfdmVCHnf/ujWPHJ8B46Q==}@@ -3105,8 +3105,8 @@ packages:'@prisma/[email protected]':resolution: {integrity: sha512-VLnzMQq7CWroL5AeaW0Py2huiNKeoMfCH3SUxstdzPrlWQi6UQ9UrfcbUkNHlVFqOMacqy8X/8YtE0kuKDpD9w==}- '@prisma/[email protected]':- resolution: {integrity: sha512-SHaI+3F4mu879fuD19qXKZGv+scgUOnFjX29/KFVwURpjz7trq3yfz91rwZaFuN4IAqUKJNcqEt4UOzoFHWklw==}+ '@prisma/[email protected]':+ resolution: {integrity: sha512-LxccF392NN37ISGxIurUljZSh1YWnphO34V5a0+T7FVQG2u9bhAXRTJpgmQ3483woVhkraQZFF7cbRrpbw/F4Q==}'@prisma/[email protected]':resolution: {integrity: sha512-zkW73hPHHNrMD21PeYgCTBfMu71vzJf+WtfydtJbS0JVJKyLfOel0iWSQg7wjNeQfccKp+NdHJ/5rTJ4NEUzgA==}@@ -9565,8 +9565,8 @@ packages:resolution: {integrity: sha512-VpNpolZ8RXRgfU+j4R+fPZmX8EE95w3vJ2tt7+FwuiQc0leNTfLK5QLf3KbbPDes2rfjh3g20AjDxefQIo5GIA==}hasBin: true- resolution: {integrity: sha512-6obb3ucKgAnsGS9x9gLOe8qa51XxvJ3vLQtmyf52CTey1Qcez3A6W6ROH5HIz5Q5bW+0VpmZb8WBohieMFGpig==}+ resolution: {integrity: sha512-vtpjW3XuYCSnMsNVBjLMNkTj6OZbudcPPTPYHqX0CJfpcdWciI1dM8uHETwmDxxiqEwCIE6WvXucWUetJgfu/A==}engines: {node: '>=16.13'}hasBin: true@@ -13992,9 +13992,9 @@ snapshots:transitivePeerDependencies:- '@types/react'- '@next-auth/[email protected](@prisma/[email protected]([email protected]))([email protected]([email protected](@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected]))':+ '@next-auth/[email protected](@prisma/[email protected]([email protected]))([email protected]([email protected](@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected]))':dependencies:- '@prisma/client': 5.20.0([email protected])+ '@prisma/client': 5.22.0([email protected])next-auth: 4.24.7([email protected](@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])'@next/[email protected]': {}@@ -14600,11 +14600,11 @@ snapshots:'@popperjs/[email protected]': {}- '@prisma/[email protected]([email protected])':+ '@prisma/[email protected]([email protected])':optionalDependencies:- prisma: 5.20.0+ prisma: 5.22.0- '@prisma/[email protected]': {}+ '@prisma/[email protected]': {}'@prisma/[email protected]':dependencies:@@ -14614,22 +14614,22 @@ snapshots:transitivePeerDependencies:- supports-color- '@prisma/engines-version@5.20.0-12.06fc58a368dc7be9fbbbe894adf8d445d208c284': {}+ '@prisma/engines-version@5.22.0-44.605197351a3c8bdd595af2d2a9bc3025bca48ea2': {}- '@prisma/[email protected]':+ '@prisma/[email protected]':dependencies:- '@prisma/debug': 5.20.0- '@prisma/engines-version': 5.20.0-12.06fc58a368dc7be9fbbbe894adf8d445d208c284- '@prisma/fetch-engine': 5.20.0- '@prisma/get-platform': 5.20.0+ '@prisma/debug': 5.22.0+ '@prisma/engines-version': 5.22.0-44.605197351a3c8bdd595af2d2a9bc3025bca48ea2+ '@prisma/fetch-engine': 5.22.0+ '@prisma/get-platform': 5.22.0'@prisma/[email protected]': {}- '@prisma/[email protected]':+ '@prisma/[email protected]':dependencies:- '@prisma/debug': 5.20.0- '@prisma/engines-version': 5.20.0-12.06fc58a368dc7be9fbbbe894adf8d445d208c284- '@prisma/get-platform': 5.20.0+ '@prisma/debug': 5.22.0+ '@prisma/engines-version': 5.22.0-44.605197351a3c8bdd595af2d2a9bc3025bca48ea2+ '@prisma/get-platform': 5.22.0'@prisma/[email protected]':dependencies:@@ -14663,9 +14663,9 @@ snapshots:transitivePeerDependencies:- supports-color- '@prisma/[email protected]':+ '@prisma/[email protected]':dependencies:- '@prisma/debug': 5.20.0+ '@prisma/debug': 5.22.0'@prisma/[email protected]':dependencies:@@ -14690,7 +14690,7 @@ snapshots:transitivePeerDependencies:- supports-color- '@prisma/[email protected]':+ '@prisma/[email protected]':dependencies:'@opentelemetry/api': 1.9.0'@opentelemetry/instrumentation': 0.53.0(@opentelemetry/[email protected])@@ -22465,10 +22465,10 @@ snapshots:dependencies:'@mermaid-js/mermaid-cli': 10.8.0([email protected])- '@prisma/client': 5.20.0([email protected])+ '@prisma/client': 5.22.0([email protected])'@prisma/generator-helper': 5.3.1dotenv: 16.4.5transitivePeerDependencies:@@ -22478,9 +22478,9 @@ snapshots:- typescript- utf-8-validatedependencies:- '@prisma/client': 5.20.0([email protected])+ '@prisma/client': 5.22.0([email protected])dependencies:@@ -22493,9 +22493,9 @@ snapshots:- encoding- supports-colordependencies:- '@prisma/engines': 5.20.0+ '@prisma/engines': 5.22.0optionalDependencies:fsevents: 2.3.3diff --git a/web/Dockerfile b/web/Dockerfileindex b93fc64f21..5b52896866 100644--- a/web/Dockerfile+++ b/web/Dockerfile@@ -106,7 +106,7 @@ RUN apk add --no-cache dumb-init tzdataRUN addgroup --system --gid 1001 nodejsRUN adduser --system --uid 1001 nextjs-RUN npm install -g --no-package-lock --no-save [email protected]+RUN npm install -g --no-package-lock --no-save [email protected]RUN MIGRATE_TARGET_ARCH=$(echo ${TARGETPLATFORM:-linux/amd64} | sed 's/\//-/g') && \wget -q -O- https://github.com/golang-migrate/migrate/releases/download/v4.18.0/migrate.$MIGRATE_TARGET_ARCH.tar.gz | tar xvz && \diff --git a/web/package.json b/web/package.jsonindex 79c59866d9..03e2ca9540 100644--- a/web/package.json+++ b/web/package.json@@ -57,7 +57,7 @@"@opentelemetry/sdk-node": "^0.53.0","@opentelemetry/sdk-trace-base": "^1.26.0","@opentelemetry/sdk-trace-node": "^1.26.0",- "@prisma/instrumentation": "^5.20.0",+ "@prisma/instrumentation": "^5.22.0","@radix-ui/react-accordion": "^1.2.1","@radix-ui/react-alert-dialog": "^1.1.2","@radix-ui/react-avatar": "^1.1.1",@@ -123,7 +123,7 @@"posthog-js": "^1.176.0","posthog-node": "^3.6.3","prexit": "^2.2.0",- "prisma": "^5.20.0",+ "prisma": "^5.22.0","rate-limiter-flexible": "^5.0.3","react": "18.2.0","react-day-picker": "^8.10.1",diff --git a/worker/package.json b/worker/package.jsonindex 1c8d89558e..edb7dffbf9 100644--- a/worker/package.json+++ b/worker/package.json@@ -34,7 +34,7 @@"@opentelemetry/resource-detector-container": "^0.4.2","@opentelemetry/resources": "^1.26.0","@opentelemetry/sdk-node": "^0.53.0",- "@prisma/instrumentation": "^5.20.0",+ "@prisma/instrumentation": "^5.22.0","backoff": "^2.5.0","bullmq": "^5.12.10","cors": "^2.8.5",