Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

Release 0.58 (#1488)

Ivan Starkova25f0da9b9dd
diff --git a/apps/builder/package.json b/apps/builder/package.json
index b64fb9665e..fa2f833537 100644
--- a/apps/builder/package.json
+++ b/apps/builder/package.json
@@ -1,6 +1,6 @@
{
"name": "@webstudio-is/builder",
- "version": "0.57.0",
+ "version": "0.58.0",
"private": true,
"description": "Webstudio Builder UI as a service",
"scripts": {
diff --git a/packages/asset-uploader/package.json b/packages/asset-uploader/package.json
index d3beee8697..9ba32d6ce4 100644
--- a/packages/asset-uploader/package.json
+++ b/packages/asset-uploader/package.json
@@ -1,6 +1,6 @@
{
"name": "@webstudio-is/asset-uploader",
- "version": "0.57.0",
+ "version": "0.58.0",
"description": "Webstudio Asset Uploader",
"author": "Webstudio <[email protected]>",
"homepage": "https://webstudio.is",
diff --git a/packages/authorization-token/package.json b/packages/authorization-token/package.json
index 859a992a1c..2ee5086411 100644
--- a/packages/authorization-token/package.json
+++ b/packages/authorization-token/package.json
@@ -1,6 +1,6 @@
{
"name": "@webstudio-is/authorization-token",
- "version": "0.57.0",
+ "version": "0.58.0",
"description": "Webstudio Authorization Token",
"author": "Webstudio <[email protected]>",
"homepage": "https://webstudio.is",
diff --git a/packages/css-data/package.json b/packages/css-data/package.json
index 0ca1fef0e8..65a98d673f 100644
--- a/packages/css-data/package.json
+++ b/packages/css-data/package.json
@@ -1,6 +1,6 @@
{
"name": "@webstudio-is/css-data",
- "version": "0.57.0",
+ "version": "0.58.0",
"description": "CSS Data",
"author": "Webstudio <[email protected]>",
"homepage": "https://webstudio.is",
diff --git a/packages/css-engine/package.json b/packages/css-engine/package.json
index c9a1f91c54..7b6b6abb4b 100644
--- a/packages/css-engine/package.json
+++ b/packages/css-engine/package.json
@@ -1,6 +1,6 @@
{
"name": "@webstudio-is/css-engine",
- "version": "0.57.0",
+ "version": "0.58.0",
"description": "CSS Renderer for Webstudio",
"author": "Webstudio <[email protected]>",
"homepage": "https://webstudio.is",
diff --git a/packages/css-vars/package.json b/packages/css-vars/package.json
index cc0e44893a..0a9dde4419 100644
--- a/packages/css-vars/package.json
+++ b/packages/css-vars/package.json
@@ -1,6 +1,6 @@
{
"name": "@webstudio-is/css-vars",
- "version": "0.57.0",
+ "version": "0.58.0",
"description": "CSS vars utility",
"author": "Webstudio <[email protected]>",
"homepage": "https://webstudio.is",
diff --git a/packages/dashboard/package.json b/packages/dashboard/package.json
index 23c22bc55e..1706379927 100644
--- a/packages/dashboard/package.json
+++ b/packages/dashboard/package.json
@@ -1,6 +1,6 @@
{
"name": "@webstudio-is/dashboard",
- "version": "0.57.0",
+ "version": "0.58.0",
"description": "Webstudio Dashboard",
"author": "Webstudio <[email protected]>",
"homepage": "https://webstudio.is",
diff --git a/packages/design-system/package.json b/packages/design-system/package.json
index 6238f963a9..415c7ce4f4 100644
--- a/packages/design-system/package.json
+++ b/packages/design-system/package.json
@@ -1,6 +1,6 @@
{
"name": "@webstudio-is/design-system",
- "version": "0.57.0",
+ "version": "0.58.0",
"description": "Webstudio Design System",
"author": "Webstudio <[email protected]>",
"homepage": "https://webstudio.is",
diff --git a/packages/eslint-config-custom/package.json b/packages/eslint-config-custom/package.json
index b628fa67d2..76a2e71ca5 100644
--- a/packages/eslint-config-custom/package.json
+++ b/packages/eslint-config-custom/package.json
@@ -1,6 +1,6 @@
{
"name": "@webstudio-is/eslint-config-custom",
- "version": "1.0.4",
+ "version": "1.0.5",
"main": "index.js",
"license": "MIT",
"dependencies": {
diff --git a/packages/fonts/package.json b/packages/fonts/package.json
index a12840bca1..6b645d11ec 100644
--- a/packages/fonts/package.json
+++ b/packages/fonts/package.json
@@ -1,6 +1,6 @@
{
"name": "@webstudio-is/fonts",
- "version": "0.57.0",
+ "version": "0.58.0",
"description": "Fonts utils",
"author": "Webstudio <[email protected]>",
"homepage": "https://webstudio.is",
diff --git a/packages/generate-arg-types/package.json b/packages/generate-arg-types/package.json
index 48f23588dd..ad07704fee 100644
--- a/packages/generate-arg-types/package.json
+++ b/packages/generate-arg-types/package.json
@@ -1,6 +1,6 @@
{
"name": "@webstudio-is/generate-arg-types",
- "version": "0.57.0",
+ "version": "0.58.0",
"description": "Generate components property types",
"author": "Webstudio <[email protected]>",
"homepage": "https://webstudio.is",
diff --git a/packages/http-client/package.json b/packages/http-client/package.json
index edc560c212..4084663c02 100644
--- a/packages/http-client/package.json
+++ b/packages/http-client/package.json
@@ -1,6 +1,6 @@
{
"name": "@webstudio-is/http-client",
- "version": "0.57.0",
+ "version": "0.58.0",
"description": "Webstudio HTTP Client",
"author": "Webstudio <[email protected]>",
"homepage": "https://webstudio.is",
diff --git a/packages/icons/package.json b/packages/icons/package.json
index df93d6b66c..6890530dfe 100644
--- a/packages/icons/package.json
+++ b/packages/icons/package.json
@@ -1,6 +1,6 @@
{
"name": "@webstudio-is/icons",
- "version": "0.57.0",
+ "version": "0.58.0",
"description": "Webstudio Icons",
"author": "Webstudio <[email protected]>",
"homepage": "https://webstudio.is",
diff --git a/packages/image/package.json b/packages/image/package.json
index 9e0d4baf65..c3820991b2 100644
--- a/packages/image/package.json
+++ b/packages/image/package.json
@@ -1,6 +1,6 @@
{
"name": "@webstudio-is/image",
- "version": "0.57.0",
+ "version": "0.58.0",
"description": "Image optimization",
"author": "Webstudio <[email protected]>",
"homepage": "https://webstudio.is",
diff --git a/packages/jest-config/package.json b/packages/jest-config/package.json
index 063d820788..72ccdb32df 100644
--- a/packages/jest-config/package.json
+++ b/packages/jest-config/package.json
@@ -1,6 +1,6 @@
{
"name": "@webstudio-is/jest-config",
- "version": "1.0.4",
+ "version": "1.0.5",
"license": "MIT",
"dependencies": {
"@jest/types": "^29.3.1",
diff --git a/packages/prisma-client/package.json b/packages/prisma-client/package.json
index 4ef0415b24..a076311191 100644
--- a/packages/prisma-client/package.json
+++ b/packages/prisma-client/package.json
@@ -1,6 +1,6 @@
{
"name": "@webstudio-is/prisma-client",
- "version": "0.57.0",
+ "version": "0.58.0",
"description": "Webstudio Prisma layer",
"author": "Webstudio <[email protected]>",
"homepage": "https://webstudio.is",
diff --git a/packages/prisma-client/src/prisma.ts b/packages/prisma-client/src/prisma.ts
index ccaf6860fe..36fa92e5ed 100644
--- a/packages/prisma-client/src/prisma.ts
+++ b/packages/prisma-client/src/prisma.ts
@@ -17,9 +17,40 @@ declare global {
// this fixes the issue with `warn(prisma-client) There are already 10 instances of Prisma Client actively running.`
// explanation here
// https://www.prisma.io/docs/guides/database/troubleshooting-orm/help-articles/nextjs-prisma-client-dev-practices
-export const prisma = global.prisma || new PrismaClient({ log: ["query"] });
+export const prisma =
+ global.prisma ||
+ new PrismaClient({
+ log: [
+ { emit: "event", level: "query" },
+
+ {
+ emit: "stdout",
+ level: "error",
+ },
+ {
+ emit: "stdout",
+ level: "info",
+ },
+ {
+ emit: "stdout",
+ level: "warn",
+ },
+ ],
+ });
prisma.$on("query", (e) => {
+ // Try to minify the query as vercel/new relic log size is limited
+ // eslint-disable-next-line no-console
+ console.log(
+ "Query: " +
+ e.query
+ .replace(/"public"\./g, "")
+ .replace(/"Project"\./g, "")
+ .replace(/"Build"\./g, "")
+ .replace(/"AuthorizationToken"\./g, "")
+ .replace(/"Asset"\./g, "")
+ );
+
// eslint-disable-next-line no-console
console.log("Params: " + e.params);
// eslint-disable-next-line no-console
diff --git a/packages/project-build/package.json b/packages/project-build/package.json
index f0bd2d17e6..415eb39f11 100644
--- a/packages/project-build/package.json
+++ b/packages/project-build/package.json
@@ -1,6 +1,6 @@
{
"name": "@webstudio-is/project-build",
- "version": "0.57.0",
+ "version": "0.58.0",
"description": "Webstudio Project Build",
"author": "Webstudio <[email protected]>",
"homepage": "https://webstudio.is",
diff --git a/packages/project/package.json b/packages/project/package.json
index bbc06250bc..43fd6d536f 100644
--- a/packages/project/package.json
+++ b/packages/project/package.json
@@ -1,6 +1,6 @@
{
"name": "@webstudio-is/project",
- "version": "0.57.0",
+ "version": "0.58.0",
"description": "Webstudio Project",
"author": "Webstudio <[email protected]>",
"homepage": "https://webstudio.is",
diff --git a/packages/react-sdk/package.json b/packages/react-sdk/package.json
index 2feb8a75e5..edfdae8be8 100644
--- a/packages/react-sdk/package.json
+++ b/packages/react-sdk/package.json
@@ -1,6 +1,6 @@
{
"name": "@webstudio-is/react-sdk",
- "version": "0.57.0",
+ "version": "0.58.0",
"description": "Webstudio JavaScript / TypeScript API",
"author": "Webstudio <[email protected]>",
"homepage": "https://webstudio.is",
diff --git a/packages/trpc-interface/package.json b/packages/trpc-interface/package.json
index 54842119cd..568294f34f 100644
--- a/packages/trpc-interface/package.json
+++ b/packages/trpc-interface/package.json
@@ -1,6 +1,6 @@
{
"name": "@webstudio-is/trpc-interface",
- "version": "0.57.0",
+ "version": "0.58.0",
"description": "Webstudio TRPC Interface",
"author": "Webstudio <[email protected]>",
"homepage": "https://webstudio.is",
diff --git a/packages/tsconfig/package.json b/packages/tsconfig/package.json
index a6f8c93c10..6fa1369a5d 100644
--- a/packages/tsconfig/package.json
+++ b/packages/tsconfig/package.json
@@ -1,6 +1,6 @@
{
"name": "@webstudio-is/tsconfig",
- "version": "1.0.4",
+ "version": "1.0.5",
"private": false,
"main": "index.js",
"files": [