Root release update | April 2022
What's new this month? 🚀
-
Support for additional banks
- Added support for the Bank of Lisbon
-
Improved SMS notification statuses
To improve the granularity of our SMS notification tracking, we now support a status of "delivered". For SMS notifications sent via Clickatell (South African SMS recipients), we have also added a description to the status update, which includes the status description and status code received from the provider. You can view the description by hovering over the tooltip next to the notification status update.
We also made improvements to the design of notification cards in the activity view.
The API reference for the notifications endpoint been updated to include the new status.
-
New endpoint to retrieve anniversary letter
We added a new endpoint at
v1/insurance/policies/:policy_id/anniversary-letter/:filename
to retrieve the latest anniversary letter for a policy (if one exists). This endpoint functions analogously to the existing endpoint for retrieving the policy schedule. -
Enhancements to custom Root errors for the Workbench CLI tool
Previously, when using
rp test
, custom Root error classes likeInvalidRequestError
behaved differently than they do in the production environment, which made them difficult to test.
We enhanced the Workbench CLI tool so that these custom Root errors now behave in a similar way as they do in the production environment, allowing users to write unit tests for these errors.
Note: It is not recommended to throw custom Root errors likeInvalidRequestError
in the product module code. Instead, we recommend throwing built-in JavaScript errors.
If you have any suggestions or feedback, please share with your account manager or submit it via the Root product roadmap so that we can take it into account.
Let's build this awesome new future of insurance together 💪