2020-10-27 05:04:43 +03:00
# Changelog
All notable changes to this project will be documented in this file.
## [Unreleased]
2022-11-16 03:43:24 +03:00
### Added
- Add ability to use `ChatSDK.createChatAdapter()` for `DirectLine` protocol
- Add `CreateACSAdapter` telemetry event
2023-01-06 22:27:59 +03:00
- Improve `ChatSDK.createChatAdapter()` with retries using exponential backoff & additional details on failures
2023-01-09 23:00:39 +03:00
- Add `GetAgentAvailability` SDK method for auth chat
2023-01-24 00:59:33 +03:00
- Pass `logger` to AMSClient
2023-01-24 01:18:26 +03:00
- Add `portalContactId` in `StartChatOptionalParams` and `GetAgentAvailabilityOptionalParams`
2023-03-07 21:43:43 +03:00
- Added exception on initialization failure
- Upgraded ACSAdapter to version beta.17
2023-03-07 22:29:39 +03:00
- Changed default LiveChatVersion to V2
2022-11-12 03:26:00 +03:00
2022-11-18 05:21:34 +03:00
### Fixed
- Fix `ChatAdapterOptionalParams.ACSAdapter.options.egressMiddleware` being used as `ingressMiddleware`
2023-01-10 02:10:37 +03:00
- Fix `ChatSDK.onTypingEvent()` being triggered on current user typing
2022-11-18 05:21:34 +03:00
2023-02-10 05:16:33 +03:00
### Changed
- Uptake [@microsoft/omnichannel-amsclient@0.1.4 ](https://www.npmjs.com/package/@microsoft/omnichannel-amsclient/v/0.1.4 )
2022-11-12 03:26:00 +03:00
## [1.2.0] - 2022-11-11
2022-06-02 23:54:58 +03:00
### Added
- Add `sendDefaultInitContext` optional parameter to `ChatSDK.startChat()` to automatically populate `browser` , `device` , `originurl` & `os` as default init context on web
2022-07-08 01:30:36 +03:00
- Add `sendCacheHeaders` as optional paramater to `ChatSDK.initialize()` and `ChatSDK.getLiveChatConfig()`
2022-09-15 23:40:00 +03:00
- Add `validateAuthChatRecord` call on `ChatSDK.startChat()` with `liveChatContext` for all authenticated chat scenarios
2022-09-16 06:33:20 +03:00
- Pass `ChatClient` during `ACSAdapter` initialization
2022-09-24 01:34:55 +03:00
- Pass `multiClient` to `AMSClient` on initialization to support `ChatSDK` multi-client
2021-09-03 22:42:39 +03:00
2022-07-12 20:14:26 +03:00
### Fixed
- Prevent `AMSFileManager.getFileIds()` & `AMSFileManager.getFileMetadata()` to be triggered on all activities with null checks
2022-08-17 20:13:19 +03:00
- Add `LiveChatVersion` check on `ChatSDK.updateChatToken()`
2022-09-23 20:25:47 +03:00
- Use `amsreferences` property instead of `amsReferences` by default
2022-10-15 01:00:31 +03:00
- Fix attachment download to use MIME types instead of file extensions
2022-11-05 02:00:51 +03:00
- Remove `fileMetadata` property on messages not containing any attachment
2022-07-12 20:14:26 +03:00
2022-07-07 01:31:49 +03:00
### Changed
- Uptake [@microsoft/ocsdk@0.3.1 ](https://www.npmjs.com/package/@microsoft/ocsdk/v/0.3.1 )
2022-07-22 04:01:45 +03:00
- Uptake [acs_webchat-chat-adapter@0.0.35-beta.8 ](https://unpkg.com/acs_webchat-chat-adapter@0.0.35-beta.8/dist/chat-adapter.js )
2022-08-15 20:20:50 +03:00
- Uptake [acs_webchat-chat-adapter@0.0.35-beta.9 ](https://unpkg.com/acs_webchat-chat-adapter@0.0.35-beta.9/dist/chat-adapter.js )
2022-09-23 20:25:47 +03:00
- Uptake [acs_webchat-chat-adapter@0.0.35-beta.12 ](https://unpkg.com/acs_webchat-chat-adapter@0.0.35-beta.12/dist/chat-adapter.js )
2022-09-24 02:31:41 +03:00
- Uptake [@microsoft/omnichannel-amsclient@0.1.2 ](https://www.npmjs.com/package/@microsoft/omnichannel-amsclient/v/0.1.2 )
2022-11-09 22:32:51 +03:00
- Uptake [@microsoft/ocsdk@0.3.2 ](https://www.npmjs.com/package/@microsoft/ocsdk/v/0.3.2 )
2021-09-03 22:42:39 +03:00
2022-04-16 00:20:30 +03:00
## [1.1.0] - 2022-04-15
2021-10-15 06:05:56 +03:00
### Added
2021-10-19 22:10:48 +03:00
- Add `getPostChatSurveyContext` API method
2022-01-11 01:48:34 +03:00
- Add `GetPostChatSurveyContext` telemetry event
2022-01-04 22:21:51 +03:00
- Add `widgetId` & `clientMessageId` as metadata on sending message
2022-02-08 03:06:51 +03:00
- Update `ChatConfig` interface with `LiveChatVersion` , `allowedFileExtensions` & `maxUploadFileSize` properties
2022-02-24 03:51:14 +03:00
- Add ability to automatically detect locale from chat config
2022-02-26 04:27:26 +03:00
- Add `runtimeId` attribute in `OmnichannelChatSDK` & `ChatSDKRuntimeId` field in telemetry
2022-03-02 08:50:53 +03:00
- Add ability to automatically pass locale from chat config on calling `ChatSDK.emailLiveChatTranscript()`
2022-03-17 03:45:45 +03:00
- Bubble up `WidgetUseOutsideOperatingHour` exception
2022-03-23 02:26:34 +03:00
- Add `acs_webchat-chat-adapter` middleware to add default `channelData.tags` & `channelData.metadata`
2022-03-29 23:49:28 +03:00
- Update `ChatConfig` interface with `msdyn_enablemarkdown` property
2022-04-01 10:57:01 +03:00
- Throw exception on `ChatSDK.getVoiceVideoCalling()` if feature is disabled or platform is not supported
2022-04-05 06:49:43 +03:00
- Add `participantType` & `canRenderPostChat` as response of getConversationDetails() API
- Add support for separate bot post chat survey feature
2022-04-14 20:55:34 +03:00
- Pass `logger` to `acs_webchat-chat-adapter`
2022-01-04 22:21:51 +03:00
2022-07-12 20:14:26 +03:00
### Fixed
2022-01-04 22:21:51 +03:00
- Add `acs_webchat-chat-adapter` middlewares to format `channelData.tags`
2022-02-04 03:26:36 +03:00
- Skip `session init` call on existing conversation
2022-02-26 04:27:26 +03:00
- Fix `chat reconnect` not ending the conversation on calling `ChatSDK.endChat()`
2022-03-04 21:00:09 +03:00
- Fix on messaging client not sending heartbeat on new conversations subsequent to the first conversation
2022-03-16 02:48:20 +03:00
- Fix `ChatSDK.getConversationDetails()` not passing `authenticatedUserToken`
2022-03-22 08:19:10 +03:00
- Fix `IC3Client.dispose()` called when `IC3Client` is `undefined`
2021-10-15 06:05:56 +03:00
### Changed
- README: added examples on usages of the post chat APIs.
2022-01-04 22:21:51 +03:00
- Uptake [@azure/communication-chat@1.1.1 ](https://www.npmjs.com/package/@azure/communication-chat/v/1.1.1 )
- Uptake [acs_webchat-chat-adapter@0.0.35-beta.2 ](https://unpkg.com/acs_webchat-chat-adapter@0.0.35-beta.2/dist/chat-adapter.js )
2022-03-30 01:05:18 +03:00
- Update `locale` property in `ChatTranscriptBody` interface to be optional
2022-04-14 20:55:34 +03:00
- Uptake [acs_webchat-chat-adapter@0.0.35-beta.4 ](https://unpkg.com/acs_webchat-chat-adapter@0.0.35-beta.4/dist/chat-adapter.js )
2021-10-15 06:05:56 +03:00
2021-10-08 10:09:50 +03:00
## [1.0.0] - 2021-10-08
2021-09-28 21:59:53 +03:00
### Added
- Add `GetAuthToken` & `GetPreChatSurvey` telemetry events
- Add `Domain` telemetry base property
2021-10-08 10:09:50 +03:00
- Add `GetCurrentLiveChatContext` , `GetMessages` , `SendMessages` , `OnNewMessage` & `OnTypingEvent` telemetry events
2021-10-08 01:31:23 +03:00
- Live Chat V2 Support
2021-10-08 10:09:50 +03:00
- Add `PlatformDetails` telemetry event
2021-09-28 21:59:53 +03:00
2021-09-24 23:48:45 +03:00
### Changed
- Uptake [@microsoft/ocsdk@0.3.0 ](https://www.npmjs.com/package/@microsoft/ocsdk/v/0.3.0 )
2021-09-28 22:01:44 +03:00
- Uptake [@microsoft/omnichannel-ic3core@0.1.2 ](https://www.npmjs.com/package/@microsoft/omnichannel-ic3core/v/0.1.2 )
2021-09-24 23:48:45 +03:00
2021-09-09 22:07:17 +03:00
### Fixed
- `onNewMessage` with `rehydrate` flag set to `true` crashing when `getMessages` returns `undefined`
2021-09-21 22:08:46 +03:00
- Fix `AriaTelemetry` unable to read property `logEvent` of undefined on `React Native`
2021-09-28 02:08:15 +03:00
- Fix `Escalation to Voice & Video` library not being imported properly
2021-09-09 22:07:17 +03:00
2021-09-03 22:42:39 +03:00
## [0.3.0] - 2021-09-03
2021-08-16 11:07:18 +03:00
### Added
- Persistent Chat Support
- Chat Reconnect Support
2021-09-03 22:42:39 +03:00
- Operating Hours Documentation
2021-08-16 11:07:18 +03:00
2021-05-06 08:46:14 +03:00
### Changed
- Uptake [@microsoft/ocsdk@0.2.0 ](https://www.npmjs.com/package/@microsoft/ocsdk/v/0.2.0 )
2021-05-14 02:11:04 +03:00
- Add `getCallingToken`
2021-07-01 20:58:57 +03:00
- Send `ChannelId-lcw` message tag
2021-08-16 22:32:45 +03:00
- Uptake [IC3Client@2021.08.14.1 ](https://comms.omnichannelengagementhub.com/release/2021.08.14.1/Scripts/SDK/SDK.min.js )
- Uptake [botframework-webchat-adapter-ic3@0.1.0-master.2dba07b ](https://www.npmjs.com/package/botframework-webchat-adapter-ic3/v/0.1.0-master.2dba07b )
2021-09-01 00:28:06 +03:00
- Uptake [jest@27.1.0 ](https://www.npmjs.com/package/jest/v/27.1.0 )
- Update [@types/jest@27.0.1 ](https://www.npmjs.com/package/@types/jest/v/27.0.1 )
- Uptake [ts-jest@27.0.5 ](https://www.npmjs.com/package/ts-jest/v/27.0.5 )
2021-05-01 00:00:35 +03:00
2021-08-19 19:01:33 +03:00
### Fixed
- `msdyn_enablechatreconnect` not being parsed properly
2021-09-03 22:42:39 +03:00
- Fix unable to start multiple conversations with same instance due to chat client being disposed
- Pass logger to adapter
2021-08-19 19:01:33 +03:00
2021-05-01 00:00:35 +03:00
## [0.2.0] - 2021-04-30
2021-02-12 01:41:15 +03:00
### Added
- React Native sample app using Omnichannel Chat SDK with [react-native-gifted-chat ](https://github.com/FaridSafi/react-native-gifted-chat )
2021-09-28 02:08:15 +03:00
- Escalation to Voice & Video support (Web Only)
2021-02-12 01:41:15 +03:00
- React sample app using Omnichannel Chat SDK with [BotFramework-WebChat ](https://github.com/microsoft/BotFramework-WebChat )
2021-03-19 19:46:27 +03:00
- Expose `sessiontInit` 's `initContext` on `startChat` 's optional paramaters
2021-03-28 09:40:46 +03:00
- Add ability to use custom `ic3Config` & `chatAdapterConfig`
2021-04-08 14:40:52 +03:00
- Add telemetry
2021-04-22 12:55:50 +03:00
- Add `rehydrate` flag for `onNewMessage` to rehydrate all messages of existing conversation
2021-04-23 03:16:42 +03:00
- Add `getConversationDetails`
2021-04-28 00:06:34 +03:00
- Add ability to pass custom `ariaTelemetryKey`
2021-02-12 01:41:15 +03:00
2021-02-17 21:35:54 +03:00
### Changed
- Uptake [@microsoft/ocsdk@0.1.1 ](https://www.npmjs.com/package/@microsoft/ocsdk/v/0.1.1 )
- Uptake [@microsoft/omnichannel-ic3core@0.1.1 ](https://www.npmjs.com/package/@microsoft/omnichannel-ic3core/v/0.1.1 )
2021-02-18 00:25:25 +03:00
- Uptake [jest@26.6.3 ](https://www.npmjs.com/package/jest/v/26.6.3 )
- Uptake [ts-jest@26.5.1 ](https://www.npmjs.com/package/ts-jest/v/26.5.1 )
2021-04-13 19:16:02 +03:00
- Uptake [IC3Client@2021.03.02.1 ](https://comms.omnichannelengagementhub.com/release/2021.03.02.1/Scripts/SDK/SDK.min.js )
- Uptake [botframework-webchat-adapter-ic3@0.1.0-master.f4dfd7d ](https://www.npmjs.com/package/botframework-webchat-adapter-ic3/v/0.1.0-master.f4dfd7d )
2021-02-17 21:35:54 +03:00
2021-02-12 01:41:15 +03:00
### Fixed
- onAgentEndSession triggered on accept voice & video call
2021-04-20 22:34:14 +03:00
- Fix multiple instances of IC3Client initialized
2021-05-01 00:00:35 +03:00
- `uploadFileAttachment` failing on Web
2021-02-12 01:41:15 +03:00
### Security
- Fix eslint errors
2020-10-27 05:04:43 +03:00
## [0.1.0] - 2020-10-26
### Added
- Initial release of Omnichannel Chat SDK v0.1.0