diff --git a/.github/history.json b/.github/history.json
index 92513a4960e..934bfd2ab20 100644
--- a/.github/history.json
+++ b/.github/history.json
@@ -66042,6 +66042,241 @@
"5.0"
],
"pull_requests": []
+ },
+ "4.0.1": {
+ "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": "23378",
+ "title": "[FIX] Users' `roles` and `type` being reset to default on LDAP DataSync",
+ "userLogin": "matheusbsilva137",
+ "milestone": "4.0.1",
+ "contributors": [
+ "matheusbsilva137",
+ "sampaiodiego"
+ ]
+ },
+ {
+ "pr": "23374",
+ "title": "[FIX] imported migration v240",
+ "userLogin": "ostjen",
+ "milestone": "4.0.1",
+ "contributors": [
+ "ostjen"
+ ]
+ },
+ {
+ "pr": "23375",
+ "title": "Chore: Update Apps-Engine version",
+ "userLogin": "d-gubert",
+ "milestone": "4.0.1",
+ "contributors": [
+ "d-gubert"
+ ]
+ },
+ {
+ "pr": "23366",
+ "title": "[FIX] BigBlueButton integration error due to missing file import",
+ "userLogin": "wolbernd",
+ "description": "Fixes BigBlueButton integration",
+ "milestone": "4.0.1",
+ "contributors": [
+ "wolbernd",
+ "web-flow"
+ ]
+ },
+ {
+ "pr": "23372",
+ "title": "[FIX] unwanted toastr error message when deleting user",
+ "userLogin": "ostjen",
+ "milestone": "4.0.1",
+ "contributors": [
+ "ostjen",
+ "tassoevan",
+ "web-flow"
+ ]
+ },
+ {
+ "pr": "23379",
+ "title": "[FIX] resumeToken not working",
+ "userLogin": "sampaiodiego",
+ "milestone": "4.0.1",
+ "contributors": [
+ "sampaiodiego"
+ ]
+ },
+ {
+ "pr": "23381",
+ "title": "[FIX] MongoDB deprecation link",
+ "userLogin": "sampaiodiego",
+ "milestone": "4.0.1",
+ "contributors": [
+ "sampaiodiego"
+ ]
+ },
+ {
+ "pr": "23382",
+ "title": "[FIX] LDAP not stoping after wrong password",
+ "userLogin": "rodrigok",
+ "milestone": "4.0.1",
+ "contributors": [
+ "rodrigok"
+ ]
+ }
+ ]
+ },
+ "4.0.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": "23377",
+ "title": "[FIX] Attachment buttons overlap in mobile view",
+ "userLogin": "Aman-Maheshwari",
+ "milestone": "4.0.2",
+ "contributors": [
+ "Aman-Maheshwari"
+ ]
+ },
+ {
+ "pr": "23393",
+ "title": "[FIX] user/agent upload not working via Apps Engine after 3.16.0",
+ "userLogin": "murtaza98",
+ "description": "Fixes #22974",
+ "milestone": "4.0.2",
+ "contributors": [
+ "murtaza98"
+ ]
+ },
+ {
+ "pr": "23404",
+ "title": "[FIX][ENTERPRISE] Omnichannel agent is not leaving the room when a forwarded chat is queued",
+ "userLogin": "murtaza98",
+ "milestone": "4.0.2",
+ "contributors": [
+ "murtaza98",
+ "web-flow"
+ ]
+ },
+ {
+ "pr": "23396",
+ "title": "[FIX] Prevent starting Omni-Queue if Omnichannel is disabled",
+ "userLogin": "murtaza98",
+ "description": "Whenever the Routing system setting changes, and omnichannel is disabled, then we shouldn't start the queue.",
+ "milestone": "4.0.2",
+ "contributors": [
+ "murtaza98"
+ ]
+ }
+ ]
+ },
+ "4.0.3": {
+ "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": "23418",
+ "title": "[FIX][APPS] Communication problem when updating and uninstalling apps in cluster",
+ "userLogin": "thassiov",
+ "description": "- Make the hook responsible for receiving app update events inside a cluster fetch the app's package (zip file) in the correct place.\r\n- Also shows a warning message on uninstalls inside a cluster. As there are many servers writing to the same place, some race conditions may occur. This prevents problems related to terminating the process in the middle due to errors being thrown and leaving the server in a faulty state.",
+ "milestone": "4.0.3",
+ "contributors": [
+ "thassiov"
+ ]
+ },
+ {
+ "pr": "23473",
+ "title": "[FIX] Server crashing when Routing method is not available at start",
+ "userLogin": "KevLehman",
+ "milestone": "4.0.3",
+ "contributors": [
+ "KevLehman",
+ "web-flow"
+ ]
+ }
+ ]
+ },
+ "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": "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": "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/HISTORY.md b/HISTORY.md
index 383262cae96..8da727fb41a 100644
--- a/HISTORY.md
+++ b/HISTORY.md
@@ -1,4 +1,152 @@
+# 4.0.5
+`2021-10-25 ยท 1 ๐ ยท 1 ๐ฉโ๐ป๐จโ๐ป`
+
+### 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))
+
+### ๐ฉโ๐ป๐จโ๐ป Core Team ๐ค
+
+- [@pierre-lehnen-rc](https://github.com/pierre-lehnen-rc)
+
+# 4.0.4
+`2021-10-21 ยท 2 ๐ ยท 3 ๐ฉโ๐ป๐จโ๐ป`
+
+### 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;
+
+### ๐ฉโ๐ป๐จโ๐ป Core Team ๐ค
+
+- [@KevLehman](https://github.com/KevLehman)
+- [@matheusbsilva137](https://github.com/matheusbsilva137)
+- [@pierre-lehnen-rc](https://github.com/pierre-lehnen-rc)
+
+# 4.0.3
+`2021-10-18 ยท 2 ๐ ยท 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
+
+
+- **APPS:** Communication problem when updating and uninstalling apps in cluster ([#23418](https://github.com/RocketChat/Rocket.Chat/pull/23418))
+
+ - Make the hook responsible for receiving app update events inside a cluster fetch the app's package (zip file) in the correct place.
+ - Also shows a warning message on uninstalls inside a cluster. As there are many servers writing to the same place, some race conditions may occur. This prevents problems related to terminating the process in the middle due to errors being thrown and leaving the server in a faulty state.
+
+- Server crashing when Routing method is not available at start ([#23473](https://github.com/RocketChat/Rocket.Chat/pull/23473))
+
+### ๐ฉโ๐ป๐จโ๐ป Core Team ๐ค
+
+- [@KevLehman](https://github.com/KevLehman)
+- [@thassiov](https://github.com/thassiov)
+
+# 4.0.2
+`2021-10-14 ยท 4 ๐ ยท 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
+
+
+- **ENTERPRISE:** Omnichannel agent is not leaving the room when a forwarded chat is queued ([#23404](https://github.com/RocketChat/Rocket.Chat/pull/23404))
+
+- Attachment buttons overlap in mobile view ([#23377](https://github.com/RocketChat/Rocket.Chat/pull/23377) by [@Aman-Maheshwari](https://github.com/Aman-Maheshwari))
+
+- Prevent starting Omni-Queue if Omnichannel is disabled ([#23396](https://github.com/RocketChat/Rocket.Chat/pull/23396))
+
+ Whenever the Routing system setting changes, and omnichannel is disabled, then we shouldn't start the queue.
+
+- user/agent upload not working via Apps Engine after 3.16.0 ([#23393](https://github.com/RocketChat/Rocket.Chat/pull/23393))
+
+ Fixes #22974
+
+### ๐ฉโ๐ป๐จโ๐ป Contributors ๐
+
+- [@Aman-Maheshwari](https://github.com/Aman-Maheshwari)
+
+### ๐ฉโ๐ป๐จโ๐ป Core Team ๐ค
+
+- [@murtaza98](https://github.com/murtaza98)
+
+# 4.0.1
+`2021-10-06 ยท 7 ๐ ยท 1 ๐ ยท 7 ๐ฉโ๐ป๐จโ๐ป`
+
+### 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
+
+
+- BigBlueButton integration error due to missing file import ([#23366](https://github.com/RocketChat/Rocket.Chat/pull/23366) by [@wolbernd](https://github.com/wolbernd))
+
+ Fixes BigBlueButton integration
+
+- imported migration v240 ([#23374](https://github.com/RocketChat/Rocket.Chat/pull/23374))
+
+- LDAP not stoping after wrong password ([#23382](https://github.com/RocketChat/Rocket.Chat/pull/23382))
+
+- MongoDB deprecation link ([#23381](https://github.com/RocketChat/Rocket.Chat/pull/23381))
+
+- resumeToken not working ([#23379](https://github.com/RocketChat/Rocket.Chat/pull/23379))
+
+- unwanted toastr error message when deleting user ([#23372](https://github.com/RocketChat/Rocket.Chat/pull/23372))
+
+- Users' `roles` and `type` being reset to default on LDAP DataSync ([#23378](https://github.com/RocketChat/Rocket.Chat/pull/23378))
+
+
+๐ Minor changes
+
+
+- Chore: Update Apps-Engine version ([#23375](https://github.com/RocketChat/Rocket.Chat/pull/23375))
+
+
+
+### ๐ฉโ๐ป๐จโ๐ป Contributors ๐
+
+- [@wolbernd](https://github.com/wolbernd)
+
+### ๐ฉโ๐ป๐จโ๐ป Core Team ๐ค
+
+- [@d-gubert](https://github.com/d-gubert)
+- [@matheusbsilva137](https://github.com/matheusbsilva137)
+- [@ostjen](https://github.com/ostjen)
+- [@rodrigok](https://github.com/rodrigok)
+- [@sampaiodiego](https://github.com/sampaiodiego)
+- [@tassoevan](https://github.com/tassoevan)
+
# 4.0.0
`2021-10-01 ยท 15 ๏ธ๏ธ๏ธโ ๏ธ ยท 4 ๐ ยท 11 ๐ ยท 24 ๐ ยท 67 ๐ ยท 26 ๐ฉโ๐ป๐จโ๐ป`
@@ -8733,7 +8881,7 @@
- Slash command preview: Wrong item being selected, Horizontal scroll ([#16750](https://github.com/RocketChat/Rocket.Chat/pull/16750))
-- Text formatted to remain within button even on screen resize ([#14136](https://github.com/RocketChat/Rocket.Chat/pull/14136) by [@Rodriq](https://github.com/Rodriq))
+- Text formatted to remain within button even on screen resize ([#14136](https://github.com/RocketChat/Rocket.Chat/pull/14136))
- There is no option to pin a thread message by admin ([#16457](https://github.com/RocketChat/Rocket.Chat/pull/16457) by [@ashwaniYDV](https://github.com/ashwaniYDV))
@@ -8939,7 +9087,6 @@
- [@GOVINDDIXIT](https://github.com/GOVINDDIXIT)
- [@MarcosSpessatto](https://github.com/MarcosSpessatto)
- [@Nikhil713](https://github.com/Nikhil713)
-- [@Rodriq](https://github.com/Rodriq)
- [@aKn1ghtOut](https://github.com/aKn1ghtOut)
- [@antkaz](https://github.com/antkaz)
- [@aryamanpuri](https://github.com/aryamanpuri)
@@ -8967,6 +9114,7 @@
### ๐ฉโ๐ป๐จโ๐ป Core Team ๐ค
- [@PrajvalRaval](https://github.com/PrajvalRaval)
+- [@Rodriq](https://github.com/Rodriq)
- [@Sing-Li](https://github.com/Sing-Li)
- [@d-gubert](https://github.com/d-gubert)
- [@engelgabriel](https://github.com/engelgabriel)
@@ -14727,7 +14875,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))
@@ -14735,7 +14883,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))
@@ -14745,6 +14893,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 ๐ค
@@ -14754,7 +14903,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 ๐ฉโ๐ป๐จโ๐ป`