Bump version to 4.1.0-rc.0

pull/23581/head 4.1.0-rc.0
Diego Sampaio 4 years ago
parent ff757b99f0
commit adf0d37ada
No known key found for this signature in database
GPG Key ID: E060152B30502562
  1. 2
      .docker/Dockerfile.rhel
  2. 557
      .github/history.json
  3. 2
      .snapcraft/resources/prepareRocketChat
  4. 2
      .snapcraft/snap/snapcraft.yaml
  5. 242
      HISTORY.md
  6. 2
      app/utils/rocketchat.info
  7. 2
      package-lock.json
  8. 2
      package.json

@ -1,6 +1,6 @@
FROM registry.access.redhat.com/ubi8/nodejs-12
ENV RC_VERSION 4.1.0-develop
ENV RC_VERSION 4.1.0-rc.0
MAINTAINER buildmaster@rocket.chat

@ -66042,6 +66042,563 @@
"5.0"
],
"pull_requests": []
},
"4.1.0-rc.0": {
"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": "23524",
"title": "Chore: Fix some TS warnings",
"userLogin": "KevLehman",
"contributors": [
"KevLehman"
]
},
{
"pr": "23521",
"title": "[FIX] Delay start of email inbox",
"userLogin": "KevLehman",
"contributors": [
"KevLehman"
]
},
{
"pr": "23495",
"title": "Chore: Make omnichannel settings dependent on omnichannel being enabled",
"userLogin": "KevLehman",
"contributors": [
"KevLehman",
"web-flow",
"sampaiodiego"
]
},
{
"pr": "23523",
"title": "Chore: Update Livechat Package",
"userLogin": "MartinSchoeler",
"contributors": [
"MartinSchoeler"
]
},
{
"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"
]
},
{
"pr": "23314",
"title": "[FIX] MONGO_OPTIONS being ignored for oplog connection",
"userLogin": "cuonghuunguyen",
"contributors": [
"cuonghuunguyen",
"sampaiodiego",
"web-flow"
]
},
{
"pr": "23392",
"title": "[IMPROVE] Allow Omnichannel to handle huge queues ",
"userLogin": "KevLehman",
"contributors": [
"KevLehman",
"web-flow"
]
},
{
"pr": "23515",
"title": "[IMPROVE] Make Livechat Instructions setting multi-line",
"userLogin": "murtaza98",
"description": "Since now we're supporting markdown text on this field (via this PR - https://github.com/RocketChat/Rocket.Chat.Livechat/pull/648), it would be nice to make this setting multiline so users can have more space to edit the text\r\n![image](https://user-images.githubusercontent.com/34130764/138146712-13e4968b-5312-4d53-b44c-b5699c5e49c1.png)",
"contributors": [
"murtaza98"
]
},
{
"pr": "23505",
"title": "Chore: Improve watch OAuth settings logic",
"userLogin": "ggazzo",
"description": "Just prevent to perform 200 deletions for registers that not even exist",
"contributors": [
"ggazzo"
]
},
{
"pr": "23519",
"title": "Regression: Fix enterprise setting validation",
"userLogin": "ggazzo",
"contributors": [
"ggazzo"
]
},
{
"pr": "23514",
"title": "Chore: Ensure all permissions are created up to this point",
"userLogin": "sampaiodiego",
"contributors": [
"sampaiodiego"
]
},
{
"pr": "23469",
"title": "[FIX] useEndpointAction replace by useEndpointActionExperimental",
"userLogin": "tiagoevanp",
"contributors": [
"tiagoevanp"
]
},
{
"pr": "23394",
"title": "[FIX] Omni-Webhook's retry mechanism going in infinite loop",
"userLogin": "murtaza98",
"contributors": [
"murtaza98"
]
},
{
"pr": "23511",
"title": "Regression: Fix user typings style",
"userLogin": "ggazzo",
"contributors": [
"ggazzo"
]
},
{
"pr": "23510",
"title": "Chore: Update pino and pino-pretty",
"userLogin": "sampaiodiego",
"contributors": [
"sampaiodiego"
]
},
{
"pr": "23506",
"title": "Regression: Prevent Settings Unit Test Error ",
"userLogin": "ggazzo",
"contributors": [
"ggazzo"
]
},
{
"pr": "23486",
"title": "i18n: Language update from LingoHub 🤖 on 2021-10-18Z",
"userLogin": "lingohub[bot]",
"contributors": [
null,
"KevLehman"
]
},
{
"pr": "23376",
"title": "Bump url-parse from 1.4.7 to 1.5.3",
"userLogin": "dependabot[bot]",
"contributors": [
"dependabot[bot]",
"web-flow"
]
},
{
"pr": "23172",
"title": "[FIX] Rewrite missing webRTC feature",
"userLogin": "dougfabris",
"contributors": [
"dougfabris",
"tassoevan"
]
},
{
"pr": "23488",
"title": "Chore: Replace `promises` helper",
"userLogin": "tassoevan",
"contributors": [
"tassoevan"
]
},
{
"pr": "23210",
"title": "Chore: Startup Time",
"userLogin": "ggazzo",
"description": "The settings logic has been improved as a whole.\r\n\r\nAll the logic to get the data from the env var was confusing.\r\n\r\nSetting default values was tricky to understand.\r\n\r\nEvery time the server booted, all settings were updated and callbacks were called 2x or more (horrible for environments with multiple instances and generating a turbulent startup).\r\n\r\n`Settings.get(......, callback);` was deprecated. We now have better methods for each case.",
"milestone": "4.1.0",
"contributors": [
"ggazzo",
"sampaiodiego"
]
},
{
"pr": "23491",
"title": "Chore: Move `isJSON` helper",
"userLogin": "tassoevan",
"contributors": [
"tassoevan"
]
},
{
"pr": "23497",
"title": "Update the community open call link in README",
"userLogin": "Sing-Li",
"contributors": [
"Sing-Li",
"web-flow",
"geekgonecrazy"
]
},
{
"pr": "23490",
"title": "Chore: Move `addMinutesToADate` helper",
"userLogin": "tassoevan",
"contributors": [
"tassoevan"
]
},
{
"pr": "23489",
"title": "Chore: Move `isEmail` helper",
"userLogin": "tassoevan",
"contributors": [
"tassoevan"
]
},
{
"pr": "23228",
"title": "[FIX] Admins can't update or reset user avatars when the \"Allow User Avatar Change\" setting is off",
"userLogin": "matheusbsilva137",
"description": "- Allow admins (or any other user with the `edit-other-user-avatar` permission) to update or reset user avatars even when the \"Allow User Avatar Change\" setting is off.",
"contributors": [
"matheusbsilva137",
"web-flow",
"tassoevan"
]
},
{
"pr": "23473",
"title": "[FIX] Server crashing when Routing method is not available at start",
"userLogin": "KevLehman",
"milestone": "4.0.3",
"contributors": [
"KevLehman",
"web-flow"
]
},
{
"pr": "22949",
"title": "[FIX] Avoid last admin deactivate itself",
"userLogin": "ostjen",
"description": "Co-authored-by: @Kartik18g",
"contributors": [
"ostjen",
"web-flow",
null
]
},
{
"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": "23462",
"title": "[FIX] Markdown quote message style",
"userLogin": "tiagoevanp",
"description": "Before:\r\n![image](https://user-images.githubusercontent.com/17487063/137496669-3abecab4-cf90-45cb-8b1b-d9411a5682dd.png)\r\n\r\nAfter:\r\n![image](https://user-images.githubusercontent.com/17487063/137496905-fd727f90-f707-4ec6-8139-ba2eb1a2146e.png)",
"contributors": [
"tiagoevanp"
]
},
{
"pr": "22950",
"title": "[NEW] Stream to get individual presence updates",
"userLogin": "sampaiodiego",
"contributors": [
"sampaiodiego",
"web-flow",
"ggazzo"
]
},
{
"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"
]
},
{
"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": "23419",
"title": "Chore: Partially migrate 2FA client code to TypeScript",
"userLogin": "tassoevan",
"description": "Additionally, hides `toastr` behind an module to handle UI's toast notifications.",
"contributors": [
"tassoevan"
]
},
{
"pr": "23342",
"title": "Chore: clean README",
"userLogin": "AbhJ",
"contributors": [
"AbhJ",
"web-flow"
]
},
{
"pr": "23355",
"title": "Chore: Fixed a Typo in 11-admin.js test",
"userLogin": "badbart",
"contributors": [
"badbart",
"web-flow"
]
},
{
"pr": "23405",
"title": "Chore: Document REST API endpoints (DNS)",
"userLogin": "tassoevan",
"description": "Describes endpoints for DNS on REST API using a JSDoc annotation compatible with OpenAPI spec.",
"contributors": [
"tassoevan"
]
},
{
"pr": "23430",
"title": "Chore: Document REST API endpoints (E2E)",
"userLogin": "tassoevan",
"description": "Describes endpoints for end-to-end encryption on REST API using a JSDoc annotation compatible with OpenAPI spec.",
"contributors": [
"tassoevan"
]
},
{
"pr": "23428",
"title": "Chore: Document REST API endpoints (Misc)",
"userLogin": "tassoevan",
"description": "Describes miscellaneous endpoints on REST API using a JSDoc annotation compatible with OpenAPI spec.",
"contributors": [
"tassoevan"
]
},
{
"pr": "20947",
"title": "[IMPROVE] Add markdown to custom fields in user Info",
"userLogin": "yash-rajpal",
"description": "Added markdown to custom fields to render links",
"contributors": [
"yash-rajpal",
"dougfabris"
]
},
{
"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": "23377",
"title": "[FIX] Attachment buttons overlap in mobile view",
"userLogin": "Aman-Maheshwari",
"milestone": "4.0.2",
"contributors": [
"Aman-Maheshwari"
]
},
{
"pr": "23378",
"title": "[FIX] Users' `roles` and `type` being reset to default on LDAP DataSync",
"userLogin": "matheusbsilva137",
"description": "- Update `roles` and `type` fields only if they are specified in the data imported from LDAP (otherwise, no changes are applied).",
"milestone": "4.0.1",
"contributors": [
"matheusbsilva137",
"sampaiodiego"
]
},
{
"pr": "23382",
"title": "[FIX] LDAP not stoping after wrong password",
"userLogin": "rodrigok",
"milestone": "4.0.1",
"contributors": [
"rodrigok"
]
},
{
"pr": "23381",
"title": "[FIX] MongoDB deprecation link",
"userLogin": "sampaiodiego",
"milestone": "4.0.1",
"contributors": [
"sampaiodiego"
]
},
{
"pr": "23385",
"title": "Chore: Remove dangling README file",
"userLogin": "tassoevan",
"description": "Removes the elderly `server/restapi/README.md`.",
"contributors": [
"tassoevan"
]
},
{
"pr": "23379",
"title": "[FIX] resumeToken not working",
"userLogin": "sampaiodiego",
"milestone": "4.0.1",
"contributors": [
"sampaiodiego"
]
},
{
"pr": "23372",
"title": "[FIX] unwanted toastr error message when deleting user",
"userLogin": "ostjen",
"milestone": "4.0.1",
"contributors": [
"ostjen",
"tassoevan",
"web-flow"
]
},
{
"pr": "23370",
"title": "Chore: Migrate some React components/hooks to TypeScript",
"userLogin": "tassoevan",
"description": "Just low-hanging fruits.",
"contributors": [
"tassoevan"
]
},
{
"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": "23375",
"title": "Chore: Update Apps-Engine version",
"userLogin": "d-gubert",
"milestone": "4.0.1",
"contributors": [
"d-gubert"
]
},
{
"pr": "23374",
"title": "[FIX] imported migration v240",
"userLogin": "ostjen",
"milestone": "4.0.1",
"contributors": [
"ostjen"
]
},
{
"pr": "22941",
"title": "[IMPROVE] optimized groups.listAll response time",
"userLogin": "ostjen",
"description": "groups.listAll endpoint was having performance issues, specially when the total number of groups was high. This happened because the endpoint was loading all objects in memory then using splice to paginate, instead of paginating beforehand.\r\n\r\nConsidering 70k groups, this was the performance improvement:\r\n\r\nbefore\r\n![image](https://user-images.githubusercontent.com/28611993/129601314-bdf89337-79fa-4446-9f44-95264af4adb3.png)\r\n\r\nafter\r\n![image](https://user-images.githubusercontent.com/28611993/129601358-5872e166-f923-4c1c-b21d-eb9507365ecf.png)",
"contributors": [
"ostjen",
"tassoevan",
"web-flow"
]
},
{
"pr": "23213",
"title": "[FIX] Read only description in team creation",
"userLogin": "dougfabris",
"description": "![image](https://user-images.githubusercontent.com/27704687/133608433-8ca788a3-71a8-4d40-8c40-8156ab03c606.png)\r\n\r\n![image](https://user-images.githubusercontent.com/27704687/133608400-4cdc7a67-95e5-46c6-8c65-29ab107cd314.png)",
"contributors": [
"dougfabris"
]
},
{
"pr": "23364",
"title": "Chore: Upgrade Storybook",
"userLogin": "tassoevan",
"contributors": [
"tassoevan"
]
},
{
"pr": "23360",
"title": "Chore: Move components away from /app/",
"userLogin": "tassoevan",
"description": "We currently do NOT recommend placing React components under `/app`.",
"contributors": [
"tassoevan"
]
},
{
"pr": "23361",
"title": "Chore: Document REST API endpoints (banners)",
"userLogin": "tassoevan",
"description": "Describes endpoints for banners on REST API using a JSDoc annotation compatible with OpenAPI spec.",
"contributors": [
"tassoevan"
]
},
{
"pr": "23362",
"title": "Merge master into develop & Set version to 4.1.0-develop",
"userLogin": "sampaiodiego",
"contributors": [
"sampaiodiego",
"ggazzo",
"web-flow"
]
}
]
}
}
}

@ -1,6 +1,6 @@
#!/bin/bash
curl -SLf "https://releases.rocket.chat/4.1.0-develop/download/" -o rocket.chat.tgz
curl -SLf "https://releases.rocket.chat/4.1.0-rc.0/download/" -o rocket.chat.tgz
tar xf rocket.chat.tgz --strip 1

@ -7,7 +7,7 @@
# 5. `snapcraft snap`
name: rocketchat-server
version: 4.1.0-develop
version: 4.1.0-rc.0
summary: Rocket.Chat server
description: Have your own Slack like online chat, built with Meteor. https://rocket.chat/
confinement: strict

@ -1,4 +1,242 @@
# 4.1.0 (Under Release Candidate Process)
## 4.1.0-rc.0
`2021-10-20 · 1 🎉 · 4 🚀 · 24 🐛 · 30 🔍 · 23 👩💻👨💻`
### 🎉 New features
- Stream to get individual presence updates ([#22950](https://github.com/RocketChat/Rocket.Chat/pull/22950))
### 🚀 Improvements
- Add markdown to custom fields in user Info ([#20947](https://github.com/RocketChat/Rocket.Chat/pull/20947) by [@yash-rajpal](https://github.com/yash-rajpal))
Added markdown to custom fields to render links
- Allow Omnichannel to handle huge queues ([#23392](https://github.com/RocketChat/Rocket.Chat/pull/23392))
- Make Livechat Instructions setting multi-line ([#23515](https://github.com/RocketChat/Rocket.Chat/pull/23515))
Since now we're supporting markdown text on this field (via this PR - https://github.com/RocketChat/Rocket.Chat.Livechat/pull/648), it would be nice to make this setting multiline so users can have more space to edit the text
![image](https://user-images.githubusercontent.com/34130764/138146712-13e4968b-5312-4d53-b44c-b5699c5e49c1.png)
- optimized groups.listAll response time ([#22941](https://github.com/RocketChat/Rocket.Chat/pull/22941))
groups.listAll endpoint was having performance issues, specially when the total number of groups was high. This happened because the endpoint was loading all objects in memory then using splice to paginate, instead of paginating beforehand.
Considering 70k groups, this was the performance improvement:
before
![image](https://user-images.githubusercontent.com/28611993/129601314-bdf89337-79fa-4446-9f44-95264af4adb3.png)
after
![image](https://user-images.githubusercontent.com/28611993/129601358-5872e166-f923-4c1c-b21d-eb9507365ecf.png)
### 🐛 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.
- **ENTERPRISE:** Omnichannel agent is not leaving the room when a forwarded chat is queued ([#23404](https://github.com/RocketChat/Rocket.Chat/pull/23404))
- Admins can't update or reset user avatars when the "Allow User Avatar Change" setting is off ([#23228](https://github.com/RocketChat/Rocket.Chat/pull/23228))
- Allow admins (or any other user with the `edit-other-user-avatar` permission) to update or reset user avatars even when the "Allow User Avatar Change" setting is off.
- Attachment buttons overlap in mobile view ([#23377](https://github.com/RocketChat/Rocket.Chat/pull/23377) by [@Aman-Maheshwari](https://github.com/Aman-Maheshwari))
- Avoid last admin deactivate itself ([#22949](https://github.com/RocketChat/Rocket.Chat/pull/22949))
Co-authored-by: @Kartik18g
- 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
- Delay start of email inbox ([#23521](https://github.com/RocketChat/Rocket.Chat/pull/23521))
- 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))
- Markdown quote message style ([#23462](https://github.com/RocketChat/Rocket.Chat/pull/23462))
Before:
![image](https://user-images.githubusercontent.com/17487063/137496669-3abecab4-cf90-45cb-8b1b-d9411a5682dd.png)
After:
![image](https://user-images.githubusercontent.com/17487063/137496905-fd727f90-f707-4ec6-8139-ba2eb1a2146e.png)
- MONGO_OPTIONS being ignored for oplog connection ([#23314](https://github.com/RocketChat/Rocket.Chat/pull/23314) by [@cuonghuunguyen](https://github.com/cuonghuunguyen))
- MongoDB deprecation link ([#23381](https://github.com/RocketChat/Rocket.Chat/pull/23381))
- Omni-Webhook's retry mechanism going in infinite loop ([#23394](https://github.com/RocketChat/Rocket.Chat/pull/23394))
- 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.
- Queue error handling and unlocking behavior ([#23522](https://github.com/RocketChat/Rocket.Chat/pull/23522))
- Read only description in team creation ([#23213](https://github.com/RocketChat/Rocket.Chat/pull/23213))
![image](https://user-images.githubusercontent.com/27704687/133608433-8ca788a3-71a8-4d40-8c40-8156ab03c606.png)
![image](https://user-images.githubusercontent.com/27704687/133608400-4cdc7a67-95e5-46c6-8c65-29ab107cd314.png)
- resumeToken not working ([#23379](https://github.com/RocketChat/Rocket.Chat/pull/23379))
- Rewrite missing webRTC feature ([#23172](https://github.com/RocketChat/Rocket.Chat/pull/23172))
- 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;
- Server crashing when Routing method is not available at start ([#23473](https://github.com/RocketChat/Rocket.Chat/pull/23473))
- unwanted toastr error message when deleting user ([#23372](https://github.com/RocketChat/Rocket.Chat/pull/23372))
- useEndpointAction replace by useEndpointActionExperimental ([#23469](https://github.com/RocketChat/Rocket.Chat/pull/23469))
- user/agent upload not working via Apps Engine after 3.16.0 ([#23393](https://github.com/RocketChat/Rocket.Chat/pull/23393))
Fixes #22974
- Users' `roles` and `type` being reset to default on LDAP DataSync ([#23378](https://github.com/RocketChat/Rocket.Chat/pull/23378))
- Update `roles` and `type` fields only if they are specified in the data imported from LDAP (otherwise, no changes are applied).
<details>
<summary>🔍 Minor changes</summary>
- Bump url-parse from 1.4.7 to 1.5.3 ([#23376](https://github.com/RocketChat/Rocket.Chat/pull/23376) by [@dependabot[bot]](https://github.com/dependabot[bot]))
- Chore: clean README ([#23342](https://github.com/RocketChat/Rocket.Chat/pull/23342) by [@AbhJ](https://github.com/AbhJ))
- Chore: Document REST API endpoints (banners) ([#23361](https://github.com/RocketChat/Rocket.Chat/pull/23361))
Describes endpoints for banners on REST API using a JSDoc annotation compatible with OpenAPI spec.
- Chore: Document REST API endpoints (DNS) ([#23405](https://github.com/RocketChat/Rocket.Chat/pull/23405))
Describes endpoints for DNS on REST API using a JSDoc annotation compatible with OpenAPI spec.
- Chore: Document REST API endpoints (E2E) ([#23430](https://github.com/RocketChat/Rocket.Chat/pull/23430))
Describes endpoints for end-to-end encryption on REST API using a JSDoc annotation compatible with OpenAPI spec.
- Chore: Document REST API endpoints (Misc) ([#23428](https://github.com/RocketChat/Rocket.Chat/pull/23428))
Describes miscellaneous endpoints on REST API using a JSDoc annotation compatible with OpenAPI spec.
- Chore: Ensure all permissions are created up to this point ([#23514](https://github.com/RocketChat/Rocket.Chat/pull/23514))
- Chore: Fix some TS warnings ([#23524](https://github.com/RocketChat/Rocket.Chat/pull/23524))
- Chore: Fixed a Typo in 11-admin.js test ([#23355](https://github.com/RocketChat/Rocket.Chat/pull/23355) by [@badbart](https://github.com/badbart))
- Chore: Improve watch OAuth settings logic ([#23505](https://github.com/RocketChat/Rocket.Chat/pull/23505))
Just prevent to perform 200 deletions for registers that not even exist
- Chore: Make omnichannel settings dependent on omnichannel being enabled ([#23495](https://github.com/RocketChat/Rocket.Chat/pull/23495))
- Chore: Migrate some React components/hooks to TypeScript ([#23370](https://github.com/RocketChat/Rocket.Chat/pull/23370))
Just low-hanging fruits.
- Chore: Move `addMinutesToADate` helper ([#23490](https://github.com/RocketChat/Rocket.Chat/pull/23490))
- Chore: Move `isEmail` helper ([#23489](https://github.com/RocketChat/Rocket.Chat/pull/23489))
- Chore: Move `isJSON` helper ([#23491](https://github.com/RocketChat/Rocket.Chat/pull/23491))
- Chore: Move components away from /app/ ([#23360](https://github.com/RocketChat/Rocket.Chat/pull/23360))
We currently do NOT recommend placing React components under `/app`.
- Chore: Partially migrate 2FA client code to TypeScript ([#23419](https://github.com/RocketChat/Rocket.Chat/pull/23419))
Additionally, hides `toastr` behind an module to handle UI's toast notifications.
- Chore: Remove dangling README file ([#23385](https://github.com/RocketChat/Rocket.Chat/pull/23385))
Removes the elderly `server/restapi/README.md`.
- Chore: Replace `promises` helper ([#23488](https://github.com/RocketChat/Rocket.Chat/pull/23488))
- Chore: Startup Time ([#23210](https://github.com/RocketChat/Rocket.Chat/pull/23210))
The settings logic has been improved as a whole.
All the logic to get the data from the env var was confusing.
Setting default values was tricky to understand.
Every time the server booted, all settings were updated and callbacks were called 2x or more (horrible for environments with multiple instances and generating a turbulent startup).
`Settings.get(......, callback);` was deprecated. We now have better methods for each case.
- Chore: Update Apps-Engine version ([#23375](https://github.com/RocketChat/Rocket.Chat/pull/23375))
- Chore: Update Livechat Package ([#23523](https://github.com/RocketChat/Rocket.Chat/pull/23523))
- Chore: Update pino and pino-pretty ([#23510](https://github.com/RocketChat/Rocket.Chat/pull/23510))
- Chore: Upgrade Storybook ([#23364](https://github.com/RocketChat/Rocket.Chat/pull/23364))
- i18n: Language update from LingoHub 🤖 on 2021-10-18Z ([#23486](https://github.com/RocketChat/Rocket.Chat/pull/23486))
- Merge master into develop & Set version to 4.1.0-develop ([#23362](https://github.com/RocketChat/Rocket.Chat/pull/23362))
- Regression: Fix enterprise setting validation ([#23519](https://github.com/RocketChat/Rocket.Chat/pull/23519))
- Regression: Fix user typings style ([#23511](https://github.com/RocketChat/Rocket.Chat/pull/23511))
- Regression: Prevent Settings Unit Test Error ([#23506](https://github.com/RocketChat/Rocket.Chat/pull/23506))
- Update the community open call link in README ([#23497](https://github.com/RocketChat/Rocket.Chat/pull/23497))
</details>
### 👩💻👨💻 Contributors 😍
- [@AbhJ](https://github.com/AbhJ)
- [@Aman-Maheshwari](https://github.com/Aman-Maheshwari)
- [@badbart](https://github.com/badbart)
- [@cuonghuunguyen](https://github.com/cuonghuunguyen)
- [@dependabot[bot]](https://github.com/dependabot[bot])
- [@wolbernd](https://github.com/wolbernd)
- [@yash-rajpal](https://github.com/yash-rajpal)
### 👩💻👨💻 Core Team 🤓
- [@KevLehman](https://github.com/KevLehman)
- [@MartinSchoeler](https://github.com/MartinSchoeler)
- [@Sing-Li](https://github.com/Sing-Li)
- [@d-gubert](https://github.com/d-gubert)
- [@dougfabris](https://github.com/dougfabris)
- [@geekgonecrazy](https://github.com/geekgonecrazy)
- [@ggazzo](https://github.com/ggazzo)
- [@matheusbsilva137](https://github.com/matheusbsilva137)
- [@murtaza98](https://github.com/murtaza98)
- [@ostjen](https://github.com/ostjen)
- [@pierre-lehnen-rc](https://github.com/pierre-lehnen-rc)
- [@rodrigok](https://github.com/rodrigok)
- [@sampaiodiego](https://github.com/sampaiodiego)
- [@tassoevan](https://github.com/tassoevan)
- [@thassiov](https://github.com/thassiov)
- [@tiagoevanp](https://github.com/tiagoevanp)
# 4.0.0
`2021-10-01 · 15 · 4 🎉 · 11 🚀 · 24 🐛 · 67 🔍 · 26 👩💻👨💻`
@ -8733,7 +8971,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 +9177,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 +9204,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)

@ -1,3 +1,3 @@
{
"version": "4.1.0-develop"
"version": "4.1.0-rc.0"
}

2
package-lock.json generated

@ -1,6 +1,6 @@
{
"name": "Rocket.Chat",
"version": "4.1.0-develop",
"version": "4.1.0-rc.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

@ -1,7 +1,7 @@
{
"name": "Rocket.Chat",
"description": "The Ultimate Open Source WebChat Platform",
"version": "4.1.0-develop",
"version": "4.1.0-rc.0",
"author": {
"name": "Rocket.Chat",
"url": "https://rocket.chat/"

Loading…
Cancel
Save