From 94e5ff53930fdf3f1197303dede2cc93da8d6934 Mon Sep 17 00:00:00 2001
From: "maria.nunez" <maria.nunez@mattermost.com>
Date: Mon, 10 Jun 2024 12:41:40 -0400
Subject: [PATCH] Update to version 8.0

---
 mattermost-plugin/plugin.json                 |  2 +-
 mattermost-plugin/server/manifest.go          |  2 +-
 server/model/version.go                       |  1 +
 webapp/package-lock.json                      |  2 +-
 webapp/package.json                           |  2 +-
 .../__snapshots__/globalHeader.test.tsx.snap  |  2 +-
 .../__snapshots__/sidebar.test.tsx.snap       | 20 +++++++++----------
 webapp/src/constants.ts                       |  4 ++--
 8 files changed, 18 insertions(+), 17 deletions(-)

diff --git a/mattermost-plugin/plugin.json b/mattermost-plugin/plugin.json
index 2b86d0fc7..4b27ed705 100644
--- a/mattermost-plugin/plugin.json
+++ b/mattermost-plugin/plugin.json
@@ -6,7 +6,7 @@
     "support_url": "https://github.com/mattermost/focalboard/issues",
     "release_notes_url": "https://github.com/mattermost/focalboard/releases",
     "icon_path": "assets/starter-template-icon.svg",
-    "version": "7.12.0",
+    "version": "8.0.0",
     "min_server_version": "7.2.0",
     "server": {
         "executables": {
diff --git a/mattermost-plugin/server/manifest.go b/mattermost-plugin/server/manifest.go
index 41f995486..7ffd8a430 100644
--- a/mattermost-plugin/server/manifest.go
+++ b/mattermost-plugin/server/manifest.go
@@ -20,7 +20,7 @@ const manifestStr = `
   "support_url": "https://github.com/mattermost/focalboard/issues",
   "release_notes_url": "https://github.com/mattermost/focalboard/releases",
   "icon_path": "assets/starter-template-icon.svg",
-  "version": "7.12.0",
+  "version": "8.0.0",
   "min_server_version": "7.2.0",
   "server": {
     "executables": {
diff --git a/server/model/version.go b/server/model/version.go
index bdddc4222..4201145b7 100644
--- a/server/model/version.go
+++ b/server/model/version.go
@@ -8,6 +8,7 @@ import (
 // It should be maintained in chronological order with most current
 // release at the front of the list.
 var versions = []string{
+	"8.0.0",
 	"7.12.0",
 	"7.11.1",
 	"7.11.0",
diff --git a/webapp/package-lock.json b/webapp/package-lock.json
index 6bce3f95b..683a36f7a 100644
--- a/webapp/package-lock.json
+++ b/webapp/package-lock.json
@@ -6,7 +6,7 @@
 	"packages": {
 		"": {
 			"name": "focalboard",
-			"version": "7.12.0",
+			"version": "8.0.0",
 			"dependencies": {
 				"@draft-js-plugins/editor": "^4.1.2",
 				"@draft-js-plugins/emoji": "^4.6.0",
diff --git a/webapp/package.json b/webapp/package.json
index 81ad53222..a5b4a0cf9 100644
--- a/webapp/package.json
+++ b/webapp/package.json
@@ -1,6 +1,6 @@
 {
 	"name": "focalboard",
-	"version": "7.12.0",
+	"version": "8.0.0",
 	"private": true,
 	"description": "",
 	"scripts": {
diff --git a/webapp/src/components/globalHeader/__snapshots__/globalHeader.test.tsx.snap b/webapp/src/components/globalHeader/__snapshots__/globalHeader.test.tsx.snap
index 46c6d324a..110e3220f 100644
--- a/webapp/src/components/globalHeader/__snapshots__/globalHeader.test.tsx.snap
+++ b/webapp/src/components/globalHeader/__snapshots__/globalHeader.test.tsx.snap
@@ -10,7 +10,7 @@ exports[`components/sidebar/GlobalHeader header menu should match snapshot 1`] =
     />
     <a
       class="GlobalHeaderComponent__button help-button"
-      href="https://www.focalboard.com/fwlink/doc-boards.html?v=7.12.0"
+      href="https://www.focalboard.com/fwlink/doc-boards.html?v=8.0.0"
       rel="noreferrer"
       target="_blank"
     >
diff --git a/webapp/src/components/sidebar/__snapshots__/sidebar.test.tsx.snap b/webapp/src/components/sidebar/__snapshots__/sidebar.test.tsx.snap
index fea848106..051c4a8ce 100644
--- a/webapp/src/components/sidebar/__snapshots__/sidebar.test.tsx.snap
+++ b/webapp/src/components/sidebar/__snapshots__/sidebar.test.tsx.snap
@@ -51,9 +51,9 @@ exports[`components/sidebarSidebar dont show hidden boards 1`] = `
                   >
                     <div
                       class="version"
-                      title="v7.12.0"
+                      title="v8.0.0"
                     >
-                      v7.12.0
+                      v8.0.0
                     </div>
                   </div>
                 </div>
@@ -252,9 +252,9 @@ exports[`components/sidebarSidebar should assign default category if current boa
                   >
                     <div
                       class="version"
-                      title="v7.12.0"
+                      title="v8.0.0"
                     >
-                      v7.12.0
+                      v8.0.0
                     </div>
                   </div>
                 </div>
@@ -508,9 +508,9 @@ exports[`components/sidebarSidebar shouldnt do any category assignment is board
                   >
                     <div
                       class="version"
-                      title="v7.12.0"
+                      title="v8.0.0"
                     >
-                      v7.12.0
+                      v8.0.0
                     </div>
                   </div>
                 </div>
@@ -919,9 +919,9 @@ exports[`components/sidebarSidebar sidebar hidden 1`] = `
                   >
                     <div
                       class="version"
-                      title="v7.12.0"
+                      title="v8.0.0"
                     >
-                      v7.12.0
+                      v8.0.0
                     </div>
                   </div>
                 </div>
@@ -1213,9 +1213,9 @@ exports[`components/sidebarSidebar some categories hidden 1`] = `
                   >
                     <div
                       class="version"
-                      title="v7.12.0"
+                      title="v8.0.0"
                     >
-                      v7.12.0
+                      v8.0.0
                     </div>
                   </div>
                 </div>
diff --git a/webapp/src/constants.ts b/webapp/src/constants.ts
index 2163d284e..daad6fa48 100644
--- a/webapp/src/constants.ts
+++ b/webapp/src/constants.ts
@@ -37,8 +37,8 @@ class Constants {
     static readonly titleColumnId = '__title'
     static readonly badgesColumnId = '__badges'
 
-    static readonly versionString = '7.12.0'
-    static readonly versionDisplayString = 'May 2023'
+    static readonly versionString = '8.0.0'
+    static readonly versionDisplayString = 'June 2024'
 
     static readonly archiveHelpPage = 'https://docs.mattermost.com/boards/migrate-to-boards.html'
     static readonly imports = [