From 88d6f5e59ea7464f8601cccb10556577acdccae0 Mon Sep 17 00:00:00 2001 From: Charles Bochet Date: Tue, 5 Nov 2024 00:19:05 +0100 Subject: [PATCH] Bump to 0.32 (#8324) --- packages/twenty-emails/package.json | 2 +- packages/twenty-front/package.json | 2 +- packages/twenty-server/package.json | 2 +- packages/twenty-ui/package.json | 2 +- packages/twenty-website/package.json | 2 +- .../developers/self-hosting/upgrade-guide.mdx | 21 ++++++++++++++----- 6 files changed, 21 insertions(+), 10 deletions(-) diff --git a/packages/twenty-emails/package.json b/packages/twenty-emails/package.json index 408930ac02..02e7b81936 100644 --- a/packages/twenty-emails/package.json +++ b/packages/twenty-emails/package.json @@ -1,6 +1,6 @@ { "name": "twenty-emails", - "version": "0.32.0-canary", + "version": "0.32.0", "description": "", "author": "", "private": true, diff --git a/packages/twenty-front/package.json b/packages/twenty-front/package.json index e95bbba5e4..d1a9d196a6 100644 --- a/packages/twenty-front/package.json +++ b/packages/twenty-front/package.json @@ -1,6 +1,6 @@ { "name": "twenty-front", - "version": "0.32.0-canary", + "version": "0.32.0", "private": true, "type": "module", "scripts": { diff --git a/packages/twenty-server/package.json b/packages/twenty-server/package.json index 82fca3b04d..967b960fd0 100644 --- a/packages/twenty-server/package.json +++ b/packages/twenty-server/package.json @@ -1,6 +1,6 @@ { "name": "twenty-server", - "version": "0.32.0-canary", + "version": "0.32.0", "description": "", "author": "", "private": true, diff --git a/packages/twenty-ui/package.json b/packages/twenty-ui/package.json index 70a25e04f3..781098f85f 100644 --- a/packages/twenty-ui/package.json +++ b/packages/twenty-ui/package.json @@ -1,6 +1,6 @@ { "name": "twenty-ui", - "version": "0.32.0-canary", + "version": "0.32.0", "type": "module", "main": "./src/index.ts", "exports": { diff --git a/packages/twenty-website/package.json b/packages/twenty-website/package.json index 9f5104a776..d6789f61d4 100644 --- a/packages/twenty-website/package.json +++ b/packages/twenty-website/package.json @@ -1,6 +1,6 @@ { "name": "twenty-website", - "version": "0.32.0-canary", + "version": "0.32.0", "private": true, "scripts": { "nx": "NX_DEFAULT_PROJECT=twenty-website node ../../node_modules/nx/bin/nx.js", diff --git a/packages/twenty-website/src/content/developers/self-hosting/upgrade-guide.mdx b/packages/twenty-website/src/content/developers/self-hosting/upgrade-guide.mdx index 2b8182cb53..0c153739b1 100644 --- a/packages/twenty-website/src/content/developers/self-hosting/upgrade-guide.mdx +++ b/packages/twenty-website/src/content/developers/self-hosting/upgrade-guide.mdx @@ -64,7 +64,7 @@ yarn command:prod upgrade-0.24 The `yarn database:migrate:prod` command will apply the migrations to the database structure (core and metadata schemas) The `yarn command:prod upgrade-0.24` takes care of the data migration of all workspaces. -# v0.24.0 to v0.30.0 +## v0.24.0 to v0.30.0 Upgrade your Twenty instance to use v0.30.0 image @@ -86,7 +86,7 @@ yarn command:prod upgrade-0.30 The `yarn database:migrate:prod` command will apply the migrations to the database structure (core and metadata schemas) The `yarn command:prod upgrade-0.30` takes care of the data migration of all workspaces. -# v0.30.0 to v0.31.0 +## v0.30.0 to v0.31.0 Upgrade your Twenty instance to use v0.31.0 image @@ -99,7 +99,18 @@ yarn command:prod upgrade-0.31 The `yarn database:migrate:prod` command will apply the migrations to the database structure (core and metadata schemas) The `yarn command:prod upgrade-0.31` takes care of the data migration of all workspaces. -# v0.31.0 to v0.32.0 +## v0.31.0 to v0.32.0 + +Upgrade your Twenty instance to use v0.32.0 image + +**Schema and data migration**: +``` +yarn database:migrate:prod +yarn command:prod upgrade-0.32 +``` + +The `yarn database:migrate:prod` command will apply the migrations to the database structure (core and metadata schemas) +The `yarn command:prod upgrade-0.32` takes care of the data migration of all workspaces. ### Environment Variables @@ -110,11 +121,11 @@ We have updated the way we handle the Redis connection. Update your `.env` file to use the new `REDIS_URL` variable instead of the individual Redis connection parameters. - - We have also simplifed the way we handle the JWT tokens. - Removed: `ACCESS_TOKEN_SECRET`, `LOGIN_TOKEN_SECRET`, `REFRESH_TOKEN_SECRET`, `FILE_TOKEN_SECRET` - Added: `APP_SECRET` Update your `.env` file to use the new `APP_SECRET` variable instead of the individual tokens secrets (you can use the same secret as before or generate a new random string) + + \ No newline at end of file