4.2.1


2021-12-10 · 1 · 4 · 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.1

New features

  • Create new setting to clean local storage at end of chats (#23821)

    Include setting to handle with and clear the localStorage on Livechat widget.

    image

    This behavior is only possible to happen when RocketChat/Rocket.Chat.Livechat#666 merged and released.

Bug fixes

  • Error when creating an inactive user in admin panel (#23859)

    • Fix usersInRole array used to send email to activate a user.
  • Segmentation fault on CentOS 7 due to outdated sharp (#23796)

    Upgrades sharp to avoid a segmentation fault on CentOS 7 during startup related to sharp.node being loaded via process.dlopen().

    Suggested as a fix for versions 4.0.x and 4.1.x.

  • teams.removeMembers client usage (#23857)

  • Wrong button for non trial apps (#23861)

    This PR solves a bug on the marketplace that was happening with WhatsApp where it was displaying a trial button even though it didn't have a free trial period. The new verification I've added checks if the app is subscription-based and then checks if it has 0 trial days in all of its tiers. If it does, it shows a subscribe button. If it doesn't, it displays a trial button. Also, I've exposed the itsEnterpriseOnly flag as an extra measure in the case of apps like Facebook Messenger that are enterprise-only and consequently should show the subscribe button.
    Before:
    image
    After:
    image

Minor changes
  • Chore: Update Livechat (#23913)

‍‍ Core Team