Skip to content

4.1.0-rc.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@sampaiodiego sampaiodiego released this 21 Oct 02:43
· 6231 commits to develop since this release
adf0d37

2021-10-20 · 1 🎉 · 4 🚀 · 24 🐛 · 30 🔍 · 23 👩‍💻👨‍💻

🎉 New features

  • Stream to get individual presence updates (#22950)

🚀 Improvements

  • Add markdown to custom fields in user Info (#20947 by @yash-rajpal)

    Added markdown to custom fields to render links

  • Allow Omnichannel to handle huge queues (#23392)

  • Make Livechat Instructions setting multi-line (#23515)

    Since now we're supporting markdown text on this field (via this PR - RocketChat/Rocket.Chat.Livechat#648), it would be nice to make this setting multiline so users can have more space to edit the text
    image

  • optimized groups.listAll response time (#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

    after
    image

🐛 Bug fixes

  • APPS: Communication problem when updating and uninstalling apps in cluster (#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)

  • Admins can't update or reset user avatars when the "Allow User Avatar Change" setting is off (#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 by @Aman-Maheshwari)

  • Avoid last admin deactivate itself (#22949)

    Co-authored-by: @Kartik18g

  • BigBlueButton integration error due to missing file import (#23366 by @wolbernd)

    Fixes BigBlueButton integration

  • Delay start of email inbox (#23521)

  • imported migration v240 (#23374)

  • LDAP not stoping after wrong password (#23382)

  • Markdown quote message style (#23462)

    Before:
    image

    After:
    image

  • MONGO_OPTIONS being ignored for oplog connection (#23314 by @cuonghuunguyen)

  • MongoDB deprecation link (#23381)

  • Omni-Webhook's retry mechanism going in infinite loop (#23394)

  • Prevent starting Omni-Queue if Omnichannel is disabled (#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)

  • Read only description in team creation (#23213)

    image

    image

  • resumeToken not working (#23379)

  • Rewrite missing webRTC feature (#23172)

  • SAML Users' roles being reset to default on login (#23411)

    • Remove roles field update on insertOrUpdateSAMLUser function;

    • Add SAML syncRoles event;

  • Server crashing when Routing method is not available at start (#23473)

  • unwanted toastr error message when deleting user (#23372)

  • useEndpointAction replace by useEndpointActionExperimental (#23469)

  • user/agent upload not working via Apps Engine after 3.16.0 (#23393)

    Fixes #22974

  • Users' roles and type being reset to default on LDAP DataSync (#23378)

    • Update roles and type fields only if they are specified in the data imported from LDAP (otherwise, no changes are applied).
🔍 Minor changes
  • Bump url-parse from 1.4.7 to 1.5.3 (#23376 by @dependabot[bot])

  • Chore: clean README (#23342 by @AbhJ)

  • Chore: Document REST API endpoints (banners) (#23361)

    Describes endpoints for banners on REST API using a JSDoc annotation compatible with OpenAPI spec.

  • Chore: Document REST API endpoints (DNS) (#23405)

    Describes endpoints for DNS on REST API using a JSDoc annotation compatible with OpenAPI spec.

  • Chore: Document REST API endpoints (E2E) (#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)

    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)

  • Chore: Fix some TS warnings (#23524)

  • Chore: Fixed a Typo in 11-admin.js test (#23355 by @badbart)

  • Chore: Improve watch OAuth settings logic (#23505)

    Just prevent to perform 200 deletions for registers that not even exist

  • Chore: Make omnichannel settings dependent on omnichannel being enabled (#23495)

  • Chore: Migrate some React components/hooks to TypeScript (#23370)

    Just low-hanging fruits.

  • Chore: Move addMinutesToADate helper (#23490)

  • Chore: Move isEmail helper (#23489)

  • Chore: Move isJSON helper (#23491)

  • Chore: Move components away from /app/ (#23360)

    We currently do NOT recommend placing React components under /app.

  • Chore: Partially migrate 2FA client code to TypeScript (#23419)

    Additionally, hides toastr behind an module to handle UI's toast notifications.

  • Chore: Remove dangling README file (#23385)

    Removes the elderly server/restapi/README.md.

  • Chore: Replace promises helper (#23488)

  • Chore: Startup Time (#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)

  • Chore: Update Livechat Package (#23523)

  • Chore: Update pino and pino-pretty (#23510)

  • Chore: Upgrade Storybook (#23364)

  • i18n: Language update from LingoHub 🤖 on 2021-10-18Z (#23486)

  • Merge master into develop & Set version to 4.1.0-develop (#23362)

  • Regression: Fix enterprise setting validation (#23519)

  • Regression: Fix user typings style (#23511)

  • Regression: Prevent Settings Unit Test Error (#23506)

  • Update the community open call link in README (#23497)

👩‍💻👨‍💻 Contributors 😍

👩‍💻👨‍💻 Core Team 🤓