Skip to content

v16 ... v17

Breaking changes

Upgrade to React 18

Internally the React library has been updated from 17 to 18. This should go unnoticed but it might cause issues.

Messages property has been removed from the conversation

Previously it was possible to read the messages from a conversation in the internal SDK state (sdk.state.conversation.current.messages). This is now no longer possible, the messages have been removed from the response altogether.

Widget shortcuts have a new look

The shortcuts at the top of the widget are now taking up less space. The Summary button (if applicable) has been moved to On-Demand Assistant at the bottom of the widget and the Knowledge Assist is now part of the widget itself. This change does not require any changes in the implementation.

Removed stored-transcript as option for evaluateAssistant

Due to removing the messages it is no longer possible to use the stored transcript as an option to pass the transcript to an assistant. You can now either use in-memory-transcript, pass the transcript directly or don't pass an option and the assistant will try to fetch the conversation from the database directly.

Before

js
await deepdeskSDK.evaluateConversationAssistant('new-message', {
    transcript: 'stored-transcript', 
});

After

js
await deepdeskSDK.evaluateConversationAssistant('new-message', {
    transcript: 'in-memory-transcript', 
});