Version 4.0.0
Changelog
Features
- [Core] Added support for React v19 in
sdk-react
library.
Improvements
- [Authentication]: Made
organizationId
mandatory inidentify
method. - [New Accounts]: New accounts or API keys will have advanced queries turned on by default.
Bug Fixes
- [Notifications] Fixed an issue where notifications were not working when organizationId was not set.
- [REST API] Fixed an issue where the REST API for adding or updating organizations and documents did not allow custom fields in metadata.
Improvements
- [Comments]: Improved comments performance with optimistic local-first reads and writes.
- [Notifications]: Added
documentMetadata
object in the properties that are sent to SendGrid for emails.
Bug Fixes
- [Comments] Fixed an issue where custom metadata added to a comment using
addContext
was not sent to the first notification event (newlyAdded
).
Features
- [Comments] Added a
transcriptionDone
event callback when recording transcription is done.
Using Hooks:
Using API:
Improvements
- [Comments] Disabled @here in the contacts dropdown by default. You can turn it on using this.
Bug Fixes
- [Comments] Removed virtual scroll from autocomplete panel and removed fixed height. This was causing weird UI issues. We are rewriting the autocomplete panel with virtual scroll.
- [Comments] Fixed an issue where horizontal scroll was visible on sidebar in some scenarios.
- [Comments] Fixed an issue where the
shadowDom
prop was not passed down to page mode composer in comment sidebar. - [Comments] Fixed an issue where
sortData
prop was not working in comments sidebar.
Bug Fixes
- [Comments] Fixed an issue with
getCommentAnnotationsCount
API when filtering by specific document IDs in the query.
Improvements
- [Security] Merged security patch in the React package
Bug Fixes
- [Recording] Fixed an issue where the floating recording player was visible for threaded recorder notes
- [Comments] Fixed an issue where the sidebar button border color was using light mode colors in dark mode
New APIs
1. setDocuments
- Set multiple documents at the same time. You can specify 30 documents at a time.
- The first document in the list will be considered as the root document.
- For features like comments, notifications, recorder, reactions etc. you will be able to read and write to multiple documents at the same time.
- For features like cursors, presence, huddle, live state sync etc. it will default to the root document.
- Sidebar will automatically show data from all the documents.
Using Hooks:
Using API:
2. getCommentAnnotations
- Get all the comment annotations for all the specified documents.
- You can specify 30 documents at a time.
- If you don’t specify any query, it will return data from the documents specified in the
setDocuments
method.
Using Hooks:
Using API:
3. getCommentAnnotationsCount
- Get the total and unread comment annotations count of all the comment annotations for all the specified documents.
- You can specify 30 documents at a time.
- If you don’t specify any query, it will return data from the documents specified in the
setDocuments
method.
Using Hooks:
Using API:
4. Display comments from multiple documents on the same page
- If you want to display comments from multiple documents on the same page, you can add
data-velt-document-id
attribute to the container that contains thedocument
. - It will be used to identify which part of the DOM belongs to which document.
Other updates
New Features
- [Comments]: Added support for Status Filter in Comments Sidebar’s main filter menu:
- By default, the status filter is disabled in the main filter menu.
- Currently, it doesn’t support grouping.
- Added Wireframe support for this. Learn more.
- If you were using wireframes before, you will add this to your wireframes.
Bug Fixes
- [Comments]: Fixed an issue where empty state visibility was not visible when filter is applied and grouping was disabled.
- [Comments]: Fixed an issue where users could click on the comment in the sidebar and navigate to comments when they shouldn’t.
Was this page helpful?