diff --git a/.docker/Dockerfile.rhel b/.docker/Dockerfile.rhel
index bd0da27f322..7423ccc886e 100644
--- a/.docker/Dockerfile.rhel
+++ b/.docker/Dockerfile.rhel
@@ -1,6 +1,6 @@
FROM registry.access.redhat.com/ubi8/nodejs-12
-ENV RC_VERSION 4.1.0-rc.1
+ENV RC_VERSION 4.1.0-rc.2
MAINTAINER buildmaster@rocket.chat
diff --git a/.github/history.json b/.github/history.json
index b5c949cc50e..5da1a7c53b8 100644
--- a/.github/history.json
+++ b/.github/history.json
@@ -66849,6 +66849,115 @@
]
}
]
+ },
+ "4.0.4": {
+ "node_version": "12.22.1",
+ "npm_version": "6.14.1",
+ "apps_engine_version": "1.28.0",
+ "mongo_versions": [
+ "3.6",
+ "4.0",
+ "4.2",
+ "4.4",
+ "5.0"
+ ],
+ "pull_requests": [
+ {
+ "pr": "23532",
+ "title": "Release 4.0.4",
+ "userLogin": "sampaiodiego",
+ "contributors": [
+ "KevLehman",
+ "sampaiodiego",
+ "matheusbsilva137"
+ ]
+ },
+ {
+ "pr": "23411",
+ "title": "[FIX] SAML Users' roles being reset to default on login",
+ "userLogin": "matheusbsilva137",
+ "description": "- Remove `roles` field update on `insertOrUpdateSAMLUser` function;\r\n- Add SAML `syncRoles` event;",
+ "milestone": "4.0.4",
+ "contributors": [
+ "matheusbsilva137",
+ "pierre-lehnen-rc"
+ ]
+ },
+ {
+ "pr": "23522",
+ "title": "[FIX] Queue error handling and unlocking behavior",
+ "userLogin": "KevLehman",
+ "milestone": "4.0.4",
+ "contributors": [
+ "KevLehman"
+ ]
+ }
+ ]
+ },
+ "4.0.5": {
+ "node_version": "12.22.1",
+ "npm_version": "6.14.1",
+ "apps_engine_version": "1.28.0",
+ "mongo_versions": [
+ "3.6",
+ "4.0",
+ "4.2",
+ "4.4",
+ "5.0"
+ ],
+ "pull_requests": [
+ {
+ "pr": "23554",
+ "title": "Release 4.0.5",
+ "userLogin": "sampaiodiego",
+ "contributors": [
+ "pierre-lehnen-rc",
+ "sampaiodiego"
+ ]
+ },
+ {
+ "pr": "23541",
+ "title": "[FIX] OAuth login not working on mobile app",
+ "userLogin": "pierre-lehnen-rc",
+ "milestone": "4.0.5",
+ "contributors": [
+ "pierre-lehnen-rc"
+ ]
+ }
+ ]
+ },
+ "4.1.0-rc.2": {
+ "node_version": "12.22.1",
+ "npm_version": "6.14.1",
+ "apps_engine_version": "1.28.0",
+ "mongo_versions": [
+ "3.6",
+ "4.0",
+ "4.2",
+ "4.4",
+ "5.0"
+ ],
+ "pull_requests": [
+ {
+ "pr": "23552",
+ "title": "Regression: Mail body contains `undefined` text",
+ "userLogin": "tassoevan",
+ "description": "### Before\r\n\r\n\r\n### After\r\n",
+ "contributors": [
+ "tassoevan",
+ "sampaiodiego"
+ ]
+ },
+ {
+ "pr": "23541",
+ "title": "[FIX] OAuth login not working on mobile app",
+ "userLogin": "pierre-lehnen-rc",
+ "milestone": "4.0.5",
+ "contributors": [
+ "pierre-lehnen-rc"
+ ]
+ }
+ ]
}
}
}
\ No newline at end of file
diff --git a/.snapcraft/resources/prepareRocketChat b/.snapcraft/resources/prepareRocketChat
index ec80c97638f..57d9849e3d4 100755
--- a/.snapcraft/resources/prepareRocketChat
+++ b/.snapcraft/resources/prepareRocketChat
@@ -1,6 +1,6 @@
#!/bin/bash
-curl -SLf "https://releases.rocket.chat/4.1.0-rc.1/download/" -o rocket.chat.tgz
+curl -SLf "https://releases.rocket.chat/4.1.0-rc.2/download/" -o rocket.chat.tgz
tar xf rocket.chat.tgz --strip 1
diff --git a/.snapcraft/snap/snapcraft.yaml b/.snapcraft/snap/snapcraft.yaml
index 9d66e78bd1d..783af012953 100644
--- a/.snapcraft/snap/snapcraft.yaml
+++ b/.snapcraft/snap/snapcraft.yaml
@@ -7,7 +7,7 @@
# 5. `snapcraft snap`
name: rocketchat-server
-version: 4.1.0-rc.1
+version: 4.1.0-rc.2
summary: Rocket.Chat server
description: Have your own Slack like online chat, built with Meteor. https://rocket.chat/
confinement: strict
diff --git a/HISTORY.md b/HISTORY.md
index daa30a4cdb2..b04da2665dd 100644
--- a/HISTORY.md
+++ b/HISTORY.md
@@ -1,6 +1,34 @@
# 4.1.0 (Under Release Candidate Process)
+## 4.1.0-rc.2
+`2021-10-25 ยท 1 ๐ ยท 1 ๐ ยท 3 ๐ฉโ๐ป๐จโ๐ป`
+
+### ๐ Bug fixes
+
+
+- OAuth login not working on mobile app ([#23541](https://github.com/RocketChat/Rocket.Chat/pull/23541))
+
+
+๐ Minor changes
+
+
+- Regression: Mail body contains `undefined` text ([#23552](https://github.com/RocketChat/Rocket.Chat/pull/23552))
+
+ ### Before
+ 
+
+ ### After
+ 
+
+
+
+### ๐ฉโ๐ป๐จโ๐ป Core Team ๐ค
+
+- [@pierre-lehnen-rc](https://github.com/pierre-lehnen-rc)
+- [@sampaiodiego](https://github.com/sampaiodiego)
+- [@tassoevan](https://github.com/tassoevan)
+
## 4.1.0-rc.1
`2021-10-21 ยท 3 ๐ ยท 2 ๐ฉโ๐ป๐จโ๐ป`
@@ -257,6 +285,67 @@
- [@thassiov](https://github.com/thassiov)
- [@tiagoevanp](https://github.com/tiagoevanp)
+# 4.0.5
+`2021-10-25 ยท 1 ๐ ยท 1 ๐ ยท 2 ๐ฉโ๐ป๐จโ๐ป`
+
+### Engine versions
+- Node: `12.22.1`
+- NPM: `6.14.1`
+- MongoDB: `3.6, 4.0, 4.2, 4.4, 5.0`
+- Apps-Engine: `1.28.0`
+
+### ๐ Bug fixes
+
+
+- OAuth login not working on mobile app ([#23541](https://github.com/RocketChat/Rocket.Chat/pull/23541))
+
+
+๐ Minor changes
+
+
+- Release 4.0.5 ([#23554](https://github.com/RocketChat/Rocket.Chat/pull/23554))
+
+
+
+### ๐ฉโ๐ป๐จโ๐ป Core Team ๐ค
+
+- [@pierre-lehnen-rc](https://github.com/pierre-lehnen-rc)
+- [@sampaiodiego](https://github.com/sampaiodiego)
+
+# 4.0.4
+`2021-10-21 ยท 2 ๐ ยท 1 ๐ ยท 4 ๐ฉโ๐ป๐จโ๐ป`
+
+### Engine versions
+- Node: `12.22.1`
+- NPM: `6.14.1`
+- MongoDB: `3.6, 4.0, 4.2, 4.4, 5.0`
+- Apps-Engine: `1.28.0`
+
+### ๐ Bug fixes
+
+
+- Queue error handling and unlocking behavior ([#23522](https://github.com/RocketChat/Rocket.Chat/pull/23522))
+
+- SAML Users' roles being reset to default on login ([#23411](https://github.com/RocketChat/Rocket.Chat/pull/23411))
+
+ - Remove `roles` field update on `insertOrUpdateSAMLUser` function;
+ - Add SAML `syncRoles` event;
+
+
+๐ Minor changes
+
+
+- Release 4.0.4 ([#23532](https://github.com/RocketChat/Rocket.Chat/pull/23532))
+
+
+
+### ๐ฉโ๐ป๐จโ๐ป Core Team ๐ค
+
+- [@KevLehman](https://github.com/KevLehman)
+- [@matheusbsilva137](https://github.com/matheusbsilva137)
+- [@pierre-lehnen-rc](https://github.com/pierre-lehnen-rc)
+- [@sampaiodiego](https://github.com/sampaiodiego)
+
# 4.0.3
`2021-10-18 ยท 2 ๐ ยท 1 ๐ ยท 3 ๐ฉโ๐ป๐จโ๐ป`
@@ -15112,7 +15201,7 @@
๐ Minor changes
-- Add reetp to the issues' bot whitelist ([#12227](https://github.com/RocketChat/Rocket.Chat/pull/12227))
+- Add reetp to the issues' bot whitelist ([#12227](https://github.com/RocketChat/Rocket.Chat/pull/12227) by [@theorenck](https://github.com/theorenck))
- Fix: Remove semver satisfies from Apps details that is already done my marketplace ([#12268](https://github.com/RocketChat/Rocket.Chat/pull/12268))
@@ -15120,7 +15209,7 @@
- Regression: fix modal submit ([#12233](https://github.com/RocketChat/Rocket.Chat/pull/12233))
-- Release 0.70.1 ([#12270](https://github.com/RocketChat/Rocket.Chat/pull/12270) by [@Hudell](https://github.com/Hudell) & [@edzluhan](https://github.com/edzluhan))
+- Release 0.70.1 ([#12270](https://github.com/RocketChat/Rocket.Chat/pull/12270) by [@Hudell](https://github.com/Hudell) & [@edzluhan](https://github.com/edzluhan) & [@theorenck](https://github.com/theorenck))
@@ -15130,6 +15219,7 @@
- [@cardoso](https://github.com/cardoso)
- [@edzluhan](https://github.com/edzluhan)
- [@kaiiiiiiiii](https://github.com/kaiiiiiiiii)
+- [@theorenck](https://github.com/theorenck)
- [@timkinnane](https://github.com/timkinnane)
### ๐ฉโ๐ป๐จโ๐ป Core Team ๐ค
@@ -15139,7 +15229,6 @@
- [@rodrigok](https://github.com/rodrigok)
- [@sampaiodiego](https://github.com/sampaiodiego)
- [@tassoevan](https://github.com/tassoevan)
-- [@theorenck](https://github.com/theorenck)
# 0.70.0
`2018-09-28 ยท 2 ๏ธ๏ธ๏ธโ ๏ธ ยท 18 ๐ ยท 3 ๐ ยท 35 ๐ ยท 19 ๐ ยท 32 ๐ฉโ๐ป๐จโ๐ป`
diff --git a/app/utils/rocketchat.info b/app/utils/rocketchat.info
index 44d60f6858f..ab3f873bf3c 100644
--- a/app/utils/rocketchat.info
+++ b/app/utils/rocketchat.info
@@ -1,3 +1,3 @@
{
- "version": "4.1.0-rc.1"
+ "version": "4.1.0-rc.2"
}
diff --git a/package-lock.json b/package-lock.json
index 2e1aa932c01..d20f9a3f19e 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "Rocket.Chat",
- "version": "4.1.0-rc.1",
+ "version": "4.1.0-rc.2",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
diff --git a/package.json b/package.json
index deaa3f77e17..2186b7a9007 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "Rocket.Chat",
"description": "The Ultimate Open Source WebChat Platform",
- "version": "4.1.0-rc.1",
+ "version": "4.1.0-rc.2",
"author": {
"name": "Rocket.Chat",
"url": "https://rocket.chat/"