> ## Documentation Index
> Fetch the complete documentation index at: https://docs.velt.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# July 18 2024

## Versions

* Latest React SDK: [2.0.11](https://www.npmjs.com/package/@veltdev/react)
* Latest Non-React SDK: [2.0.11](https://www.npmjs.com/package/@veltdev/client)
* Latest Types:  [2.0.11](https://www.npmjs.com/package/@veltdev/types)

## Added Custom Cursor

We have introduced support for a custom cursor for comments. The custom cursor's image should be 32 x 32 pixels.

<Tabs>
  <Tab title="React / Next.js">
    ```jsx theme={null}
    <VeltComments pinCursorImage={BASE64_IMAGE_STRING} />
    ```
  </Tab>

  <Tab title="Other Frameworks">
    ```jsx theme={null}
    <velt-comments pin-cursor-image="BASE64_IMAGE_STRING"></velt-comments>
    ```
  </Tab>
</Tabs>

API Methods:

<Tabs>
  <Tab title="React / Next.js">
    ```jsx theme={null}
    const commentElement = client.getCommentElement();
    commentElement.setPinCursorImage(BASE64_IMAGE_STRING);
    ```
  </Tab>

  <Tab title="Other Frameworks">
    ```jsx theme={null}
    const commentElement = Velt.getCommentElement();
    commentElement.setPinCursorImage(BASE64_IMAGE_STRING);
    ```
  </Tab>
</Tabs>

## Added `placeholder` Support

We have added `placeholder` support for Comments DIalog within the `comment-dialog-composer-input-wireframe`. [Learn more](https://docs.velt.dev/ui-customization/features/async/comments/comment-dialog/subcomponents/composer/overview).

## Added `notificationSourceData` Field

We have added the `notificationSourceData`  field for custom notifications in SDK and REST API. It is added via the [Add Norifications API](https://docs.velt.dev/api-reference/rest-apis/notifications/add-notifications#add-notifications). This object can be any key value pair that the developer sets. It has no type.

## Added Additional Fields for SendGrid Email Template

We have added a few new fields for [SendGrid email](https://docs.velt.dev/async-collaboration/comments/notifications#email-notifications#email-template-data) template.

* `firstComment`: first message in the thread.

* `latestComment`: Latest message in the thread that prompted the email.

* `prevComment`: The previous message to the latestMessage.

* `commentsCount`: Total number of comments in the comment annotation.

* `fromUser`: Action user's object.

* `commentAnnotation`: The comment annotation object without the comments.

* `actionType`: The action that resulted in the notification.

## Added the Update to Create Organization if Not Specified

For the [Update Disable State](https://docs.velt.dev/api-reference/rest-apis/organizations/update-organization-disable-state#update-disabled-state-for-organizations) and [Add Users](https://docs.velt.dev/api-reference/rest-apis/v2/users/add-users#add-users) API, if Organization does not exist, we will create it with metadata.
