omnichannel-chat-sdk/CHANGELOG.md

436 строки
15 KiB
Markdown
Исходник Обычный вид История

# Changelog
2024-03-20 01:15:30 +03:00
All notable changes to this project will be documented in this file.
2024-08-21 00:50:08 +03:00
## [Unreleased]
## Changed
- core service url regex to include crmtest
2024-08-31 01:07:23 +03:00
- Uptake [@microsoft/ocsdk@0.5.6](https://www.npmjs.com/package/@microsoft/ocsdk/v/0.5.6)
2024-08-21 00:50:08 +03:00
2024-08-21 00:46:06 +03:00
## [1.9.4]
2024-03-21 00:56:42 +03:00
2024-08-20 00:48:44 +03:00
### Security
2024-08-20 21:51:21 +03:00
- Uptake [@microsoft/ocsdk@0.5.5](https://www.npmjs.com/package/@microsoft/ocsdk/v/0.5.5)
2024-08-20 00:48:44 +03:00
- Uptake [@microsoft/omnichannel-ic3core@0.1.4](https://www.npmjs.com/package/@microsoft/omnichannel-ic3core/v/0.1.4)
## [1.9.3] - 2024-07-12
### Added
- Add `crm9` as part of `CoreServicesGeoNamesMapping`
### Changed
- Log `error` object on failures on sending message and send typing
- Update `retrieveCollectorUri()` to detect `GCCDomainPatterns` to return `GCCCollectorUri`
2024-06-25 23:07:41 +03:00
## [1.9.2] - 2024-06-25
### Fixed
- Remove internal overrides of the original message contracts to add `content` property with `Object.assign()` causing side effects on ChatAdapter
2024-06-20 08:22:39 +03:00
## [1.9.1] - 2024-06-20
2024-06-20 07:40:25 +03:00
### Changed
- Uptake [@microsoft/ocsdk@0.5.3](https://www.npmjs.com/package/@microsoft/ocsdk/v/0.5.3)
## [1.9.0] - 2024-05-22
### Added
- Enable the ability to use `CoreServices` orgUrl dynamically at runtime
### Changed
- Uptake [@microsoft/ocsdk@0.5.2](https://www.npmjs.com/package/@microsoft/ocsdk/v/0.5.2)
2024-05-15 23:51:19 +03:00
## [1.8.3] - 2024-05-15
### Added
- Add `RequestHeaders` telemetry base property to `OCSDKContract`
- Add ability to send `ocUserAgent`
### Changed
- Uptake [@microsoft/ocsdk@0.5.1](https://www.npmjs.com/package/@microsoft/ocsdk/v/0.5.1)
## [1.8.2] - 2024-05-07
### Fixed
- Fix path for util function uuidv4 that was causing conflicts with pipeline
## [1.8.1] - 2024-04-24
2024-04-15 15:59:28 +03:00
### Added
2024-04-15 15:59:28 +03:00
- Adding new externalRuntimeId, allows to pass external runtimeId to ChatSDK and keep in sync sessions for telemetry.
- Add ability to use `CoreServices` orgUrl dynamically at runtime
2024-04-15 15:59:28 +03:00
## [1.8.0] - 2024-03-29
### Changed
- Updated `OCClient.getSurveyInviteLink` request payload to support Copilot Survey
2024-03-21 00:13:45 +03:00
## [1.7.2] - 2024-03-20
### Fixed
2024-03-21 00:56:42 +03:00
- Remove override block for follow-redirect, which was causing conflicts with ACS libs in LCW
2024-03-20 02:35:41 +03:00
2024-03-20 02:33:04 +03:00
## [1.7.1] - 2024-03-18
2024-03-20 01:33:23 +03:00
### Changed
2024-03-20 01:15:30 +03:00
- Fix ChatSDK.getPostConversationContext() to reject promise when conversation is not found
## [1.7.0] - 2024-03-07
2024-03-20 01:15:30 +03:00
### Added
2024-03-20 01:15:30 +03:00
- Add ability to use `ChatSDK.emailLiveChatTranscript()` to email live chat transcript from `liveChatContext`
- Handling the lifecycle of `sessionId` if it exists
### Changed
2024-03-20 01:15:30 +03:00
- Throw exception when `ChatSDK.startChat()` fails with `ChatSDKConfig.getAuthToken()` failures
- Uptake [@microsoft/ocsdk@0.4.3](https://www.npmjs.com/package/@microsoft/ocsdk/v/0.4.3)
2024-01-31 02:16:43 +03:00
## [1.6.3] - 2024-01-30
2024-03-20 01:15:30 +03:00
### Changed
2024-03-20 01:15:30 +03:00
- Reduce number of `config` calls on loading `Escalation to Voice & Video` library by retrieving the config from runtime cache
## [1.6.2] - 2023-12-12
2024-03-20 01:15:30 +03:00
### Fixed
2024-03-20 01:15:30 +03:00
- Add `supportedImagesMimeTypes` to support `MIME` types `image/heic` & `image/webp` as images
## [1.6.1] - 2023-12-07
2024-03-20 01:15:30 +03:00
### Added
2024-03-20 01:15:30 +03:00
- Exported `ChatSDKErrorName` and `ChatSDKError` for downstream component to use
2023-12-02 00:25:37 +03:00
### Fixed
2024-03-20 01:15:30 +03:00
2023-12-04 23:52:16 +03:00
- Subscribe to `chatMessageEdited` events within `onNewMessage()` for queue position message updates
2023-12-02 00:25:37 +03:00
### Changed
2024-03-20 01:15:30 +03:00
- Uptake [@microsoft/ocsdk@0.4.2](https://www.npmjs.com/package/@microsoft/ocsdk/v/0.4.2)
## [1.6.0] - 2023-12-04
2024-03-20 01:15:30 +03:00
### Changed
2024-03-20 01:15:30 +03:00
- Added "httpResponseStatusCode" attribute in the error object thrown
2023-11-21 03:17:57 +03:00
## [1.5.7] - 2023-11-20
2024-03-20 01:15:30 +03:00
2023-11-19 08:13:49 +03:00
### Changed
2024-03-20 01:15:30 +03:00
2023-11-19 08:13:49 +03:00
- Uptake [@microsoft/omnichannel-amsclient@0.1.6](https://www.npmjs.com/package/@microsoft/omnichannel-amsclient/v/0.1.6)
2023-11-21 03:23:47 +03:00
## [1.5.6] - 2023-11-13
2024-03-20 01:15:30 +03:00
### Added
2024-03-20 01:15:30 +03:00
- Add `RequestPayload`, `RequestPath`, `RequestMethod`, `ResponseStatusCode` telemetry base property to `OCSDKContract`
2023-11-11 07:28:22 +03:00
- Update Jest configuration and tests to support new libraries
2023-11-11 07:27:34 +03:00
### Security
2024-03-20 01:15:30 +03:00
2023-11-11 07:27:34 +03:00
- Uptake [@microsoft/omnichannel-ic3core@0.1.3](https://www.npmjs.com/package/@microsoft/omnichannel-ic3core/v/0.1.3)
2023-11-13 23:02:48 +03:00
- Uptake [@microsoft/ocsdk@0.4.1](https://www.npmjs.com/package/@microsoft/ocsdk/v/0.4.1)
2023-11-11 07:27:34 +03:00
### Changed
2024-03-20 01:15:30 +03:00
- Use `parseLowerCaseString()` on chat config properties to protect text case change
## [1.5.5] - 2023-10-31
2024-03-20 01:15:30 +03:00
### Added
2024-03-20 01:15:30 +03:00
- Add ability to pass custom `ariaCollectorUri`
### Fixed
2024-03-20 01:15:30 +03:00
- Add missing `PACS` URL for `EUDomainNames`
- Fixed an issue where startChat failed due to optionalParam being null
## [1.5.4] - 2023-10-20
2024-03-20 01:15:30 +03:00
### Fixed
2024-03-20 01:15:30 +03:00
- Fix `AriaTelemetry._configuration` not being passed to `AriaTelemetry._logger`
## [1.5.3] - 2023-10-18
2024-03-20 01:15:30 +03:00
### Fixed
2024-03-20 01:15:30 +03:00
- Fix `ChatSDK.emailLiveChatTranscript()` calling `OCClient.emailTranscript()` without waiting until its completion
- Fix `EU` orgs telemetry to flow to the proper `EU` location
## [1.5.2] - 2023-10-14
2024-03-20 01:15:30 +03:00
### Changed
2024-03-20 01:15:30 +03:00
- Disable `tokenRefresher` temporarily
## [1.5.1] - 2023-10-11
2024-03-20 01:15:30 +03:00
### Fixed
2024-03-20 01:15:30 +03:00
- Modify `getChatReconnectContext` to return redirection URL when reconnection ID is not longer Valid for Auth Chats.
## [1.5.0] - 2023-09-29
2024-03-20 01:15:30 +03:00
2023-09-29 00:54:23 +03:00
### Added
2024-03-20 01:15:30 +03:00
2023-09-29 00:54:23 +03:00
- Add `Attachment File Scan` to `ChatSDK.createChatAdapter()`
2023-09-13 20:57:00 +03:00
## [1.4.7] - 2023-09-13
2024-03-20 01:15:30 +03:00
2023-09-13 20:57:00 +03:00
### Changed
2024-03-20 01:15:30 +03:00
2023-09-13 20:57:00 +03:00
- Supporting getAgentAvailable SDK method for unauthenticated chat widget
## [1.4.6] - 2023-08-15
2024-03-20 01:15:30 +03:00
### Fixed
2024-03-20 01:15:30 +03:00
- Fix `tokenRefresher` to update `chatToken` properly on expiry through reinitialization of AMSClient
2023-08-03 00:04:47 +03:00
## [1.4.5] - 2023-08-02
2024-03-20 01:15:30 +03:00
2023-08-02 23:55:31 +03:00
### Changed
2024-03-20 01:15:30 +03:00
2023-08-02 23:55:31 +03:00
- Upgraded ACSAdapter to version beta.20
## [1.4.4] - 2023-07-19
2024-03-20 01:15:30 +03:00
### Added
2024-03-20 01:15:30 +03:00
- Add `tokenRefresher` mechanism to retrieve chat token on expiry
### Changed
2024-03-20 01:15:30 +03:00
- Add `ocSDKConfiguration` to reduce `chatToken` retries to 2
- Uptake [@microsoft/ocsdk@0.4.0](https://www.npmjs.com/package/@microsoft/ocsdk/v/0.4.0)
- Remove redundant call to create of `participantsMapping`
### Fixed
2024-03-20 01:15:30 +03:00
- Set `enableSenderDisplayNameInTypingNotification` to true to include display name on sending typing notification
- Add `async` to `ChatSDK.getLiveChatTranscript()` internal call
2023-06-16 01:08:41 +03:00
## [1.4.3] - 2023-06-15
2024-03-20 01:15:30 +03:00
2023-06-15 23:45:44 +03:00
### Fixed
2023-06-15 23:49:04 +03:00
- [Perf] Make sessionInit, AcsClientInit/Ic3ClientInit and AmsClientInit calls in parallel
2023-06-15 23:45:44 +03:00
2023-05-20 01:33:25 +03:00
## [1.4.2] - 2023-05-19
2024-03-20 01:15:30 +03:00
2023-05-11 22:18:26 +03:00
### Fixed
- Fixed null check on startChat failure
2023-05-06 03:07:21 +03:00
## [1.4.1] - 2023-05-05
2024-03-20 01:15:30 +03:00
### Fixed
- Skipped empty string or null context variables (parity with v1)
2023-05-03 01:22:52 +03:00
## [1.4.0] - 2023-05-02
2024-03-20 01:15:30 +03:00
### Added
2024-03-20 01:15:30 +03:00
- Add ability to use `ChatSDK.getLiveChatTranscript()` to fetch live chat transcript from `liveChatContext`
- Add ability to use `ChatSDK.getConversationDetails()` to fetch conversation details from `liveChatContext`
- Add `AuthContactIdNotFoundFailure` to `ExceptionThrower`
### Changed
2024-03-20 01:15:30 +03:00
- Update `ChatSDKErrors` to include standard ChatSDK errors to be more predictable
## [1.3.0] - 2023-04-05
2024-03-20 01:15:30 +03:00
### Added
2024-03-20 01:15:30 +03:00
- Add ability to use `ChatSDK.createChatAdapter()` for `DirectLine` protocol
- Add `CreateACSAdapter` telemetry event
- 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
- 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-10 01:28:55 +03:00
- Added `botSurveyInviteLink` and `botFormsProLocale` the `getPostChatSurveyContext()` response
### Fixed
2024-03-20 01:15:30 +03:00
- Fix `ChatAdapterOptionalParams.ACSAdapter.options.egressMiddleware` being used as `ingressMiddleware`
- Fix `ChatSDK.onTypingEvent()` being triggered on current user typing
- Update `ChatSDK.liveChatVersion` to be `V2` by default
### Changed
2024-03-20 01:15:30 +03:00
- Uptake [@microsoft/omnichannel-amsclient@0.1.4](https://www.npmjs.com/package/@microsoft/omnichannel-amsclient/v/0.1.4)
- Uptake [acs_webchat-chat-adapter@0.0.35-beta.17](https://unpkg.com/acs_webchat-chat-adapter@0.0.35-beta.17/dist/chat-adapter.js)
- Uptake [@microsoft/ocsdk@0.3.4](https://www.npmjs.com/package/@microsoft/ocsdk/v/0.3.4)
## [1.2.0] - 2022-11-11
2024-03-20 01:15:30 +03:00
### Added
2024-03-20 01:15:30 +03:00
- Add `sendDefaultInitContext` optional parameter to `ChatSDK.startChat()` to automatically populate `browser`, `device`, `originurl` & `os` as default init context on web
- Add `sendCacheHeaders` as optional paramater to `ChatSDK.initialize()` and `ChatSDK.getLiveChatConfig()`
- 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
- Pass `multiClient` to `AMSClient` on initialization to support `ChatSDK` multi-client
### Fixed
2024-03-20 01:15:30 +03:00
- 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()`
- Use `amsreferences` property instead of `amsReferences` by default
- Fix attachment download to use MIME types instead of file extensions
- Remove `fileMetadata` property on messages not containing any attachment
2022-07-07 01:31:49 +03:00
### Changed
2024-03-20 01:15:30 +03:00
2022-07-07 01:31:49 +03:00
- Uptake [@microsoft/ocsdk@0.3.1](https://www.npmjs.com/package/@microsoft/ocsdk/v/0.3.1)
- 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)
- 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)
- Uptake [@microsoft/omnichannel-amsclient@0.1.2](https://www.npmjs.com/package/@microsoft/omnichannel-amsclient/v/0.1.2)
- Uptake [@microsoft/ocsdk@0.3.2](https://www.npmjs.com/package/@microsoft/ocsdk/v/0.3.2)
2022-04-16 00:20:30 +03:00
## [1.1.0] - 2022-04-15
2024-03-20 01:15:30 +03:00
2021-10-15 06:05:56 +03:00
### Added
2024-03-20 01:15:30 +03:00
2021-10-19 22:10:48 +03:00
- Add `getPostChatSurveyContext` API method
2022-01-11 01:48:34 +03:00
- Add `GetPostChatSurveyContext` telemetry event
- Add `widgetId` & `clientMessageId` as metadata on sending message
2022-02-08 03:06:51 +03:00
- Update `ChatConfig` interface with `LiveChatVersion`, `allowedFileExtensions` & `maxUploadFileSize` properties
- Add ability to automatically detect locale from chat config
- Add `runtimeId` attribute in `OmnichannelChatSDK` & `ChatSDKRuntimeId` field in telemetry
- Add ability to automatically pass locale from chat config on calling `ChatSDK.emailLiveChatTranscript()`
- Bubble up `WidgetUseOutsideOperatingHour` exception
- 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
- 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
- Pass `logger` to `acs_webchat-chat-adapter`
### Fixed
2024-03-20 01:15:30 +03:00
- Add `acs_webchat-chat-adapter` middlewares to format `channelData.tags`
- Skip `session init` call on existing conversation
- Fix `chat reconnect` not ending the conversation on calling `ChatSDK.endChat()`
- Fix on messaging client not sending heartbeat on new conversations subsequent to the first conversation
- Fix `ChatSDK.getConversationDetails()` not passing `authenticatedUserToken`
- Fix `IC3Client.dispose()` called when `IC3Client` is `undefined`
2021-10-15 06:05:56 +03:00
### Changed
2024-03-20 01:15:30 +03:00
2021-10-15 06:05:56 +03:00
- README: added examples on usages of the post chat APIs.
- 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
- 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
## [1.0.0] - 2021-10-08
2024-03-20 01:15:30 +03:00
### Added
2024-03-20 01:15:30 +03:00
- Add `GetAuthToken` & `GetPreChatSurvey` telemetry events
- Add `Domain` telemetry base property
- Add `GetCurrentLiveChatContext`, `GetMessages`, `SendMessages`, `OnNewMessage` & `OnTypingEvent` telemetry events
Live Chat V2 Support (#77) * Add liveChatVersion attribute * Add LiveChatVersion enum * Add ACSClient * Install @azure/communication-common * Install @azure/communication-chat * Add guards for LiveChatVersion 2 * Add content key for backward compatibility * Filter out customer messages on new message * Add ChatClient in ACSClient & Add ChatThreadClient in ACSConversation * Implement registerOnNewMessage & sendMessage * Refactor to consume ACSClient APIs * Implement getMessages * Consume ACSClient.getMessages() * Add ability to send typing event on LiveChatV2 * Add API to get participants * Create participants mapping * Add alias & flatten out message content * Add ability to receive on agent end session event on LiveChatV2 * Add ACSParticipantDisplayName * Add checks for LiveChatV2 messages * Add alias * Consume ACSClient's registerOnThreadUpdate method * Implement rehydrate option on LiveChatV2 onNewMessage * Add ability to receive typing event on LiveChatV2 * Send metadata * Update @azure/communication-chat * Fix typings * Throw error on sending message failure * Install amsclient * Load AMSClient * Add file attachment placeholder on Chat V2 for the moment * Update @microsoft/omnichannel-amsclient package * Fix typing * Update @microsoft/omnichannel-amsclient * Load AMSClient & ACSClient on v2 chats & IC3Client on v1 chats only * Fix clients initialization order * Add ACSEndpoint property * Get environmentUrl from chat token response * Add logic to poll messages before websocket has established connection to avoid missing messages * Add installation steps on React Native * Update @microsoft/omnichannel-amsclient * Add StartChat ScenarioMarker on V2 Chats * Add more scenario marker * Add scenario markers * Add OmnichanneMessage interface * Add createOmnichannelMessage utility * Use createOmnichannelMessage to create backward compatible messaging contracts * Update @microsoft/omnichannel-amsclient * Initialize AMSClient * Convert Chats V2 attachments * Update default message tags * Support sending metadata * Add default empty tags array * Support upload file attachments on Chats V2 * Use common method to prevent incompatibility with other platforms * Add protocol * Add nullable check on metadata * Install acs_webchat-chat-adapter * Use specific messaging contract unique id * Add unimplemented AMSFileManager * Load ACSAdapter on Chats V2 * Implement AMSFileManager * Rename ACSEndpoint to acsEndpoint & Use AMS endpoint from AttachmentConfiguration if any * Fix onNewMessage() sending duplicate messages * Convert ACSClient.getMessages() to OmnichannelMessage & Update conditions for Chats V2 for isSystemMessage() & isCustomerMessage() * Fix tests * Fix lints * Invert if/else * Fix lints * Fix lints * Fix lints * Fix lints * Fix lints * Fix lints * Add test * Add test * Add test * Add test * Add test * Add test * Add tests * Add test * Add tests * Add tests * Update test * Add tests * Update @microsoft/omnichannel-amsclient * Update @microsoft/omnichannel-amsclient * Revert @azure/communication-chat version which works on Web & React Native platforms & Use ACSAdapter via UNPKG CDN * Set deliveryMode to undefined by default on Chats V2 * Fix test * Update @azure/communication-common & @azure/communication-chat * Add tests * Add tests * Add test * Move file * Move file * Clean up * Add tests * Add ACSAdapter config * Add ability to load custom ACSAdapter version or custom ACSAdapter CDN URL * Add tests * Add 'GetMessages' telemetry event * Log ACSAdapter CDNURL in telemetry * Add ACSChat & ACSCommon packages to log * Fix syntaxes * Add 'SendMessages' telemetry event * Use ACSAdapter v0.0.30 * Move messaging related files to messaging folder * Remove 'I' prefix on interfaces * Organize imports * Add jestSetup.js * Add 'GetCurrentLiveChatContext', 'OnNewMessage', 'OnTypingEvent' telemetry events * Add live chat version * Add typing indicator middleware * Update typing * Update typing * Update typing * Send typing with custom display name * Fix PreChat rendering when starting chat via live chat context * Log AMSClient version in telemetry * Update CHANGELOG.md * Add tests * Add tests * Add test * Add test * Add test * Add tests * Add test * Fix typo * Update @microsoft/omnichannel-amsclient * Add null checks * Remove console errors * Fix indentations * Add test * Add missing semicolon * Use ACSChatMessageType * Catch file attachment JSON parse errors & silence it * Update comment * Remove extra line * Reorder imports * Use live chat version 1 by default if not set * Ignore polling errors * Fix test * Extract interfaces to files * Remove extra line * Add scenario types * Move telemetry event markers to new file * Create ACSClientLogger & ACSAdapterLogger * Add test * Initialize ACS loggers by default * Add telemetry * Consume ACS loggers * Pass ACSClientLogger * Add telemetry * Pass ACSAdapterLogger * Update typing to be more generic * Add ability to specify custom scenario type * Use ScenarioMarker in ACS loggers * Use scenario marker methods * Add scenario markers * Use scenario markers * Add set debug flag * Pass telemetry object to scenario marker object in acs loggers * Fix indentation * Fix lint * Track listeners & disconnect them when necessary * Add tests * Add disconnect event * Fix lint * Add telemetry on AMSFileManager * Log data
2021-10-08 01:31:23 +03:00
- Live Chat V2 Support
- Add `PlatformDetails` telemetry event
### Changed
2024-03-20 01:15:30 +03:00
- Uptake [@microsoft/ocsdk@0.3.0](https://www.npmjs.com/package/@microsoft/ocsdk/v/0.3.0)
- Uptake [@microsoft/omnichannel-ic3core@0.1.2](https://www.npmjs.com/package/@microsoft/omnichannel-ic3core/v/0.1.2)
### Fixed
2024-03-20 01:15:30 +03:00
- `onNewMessage` with `rehydrate` flag set to `true` crashing when `getMessages` returns `undefined`
- Fix `AriaTelemetry` unable to read property `logEvent` of undefined on `React Native`
- Fix `Escalation to Voice & Video` library not being imported properly
## [0.3.0] - 2021-09-03
2024-03-20 01:15:30 +03:00
### Added
2024-03-20 01:15:30 +03:00
- Persistent Chat Support
- Chat Reconnect Support
- Operating Hours Documentation
### Changed
2024-03-20 01:15:30 +03:00
- Uptake [@microsoft/ocsdk@0.2.0](https://www.npmjs.com/package/@microsoft/ocsdk/v/0.2.0)
- Add `getCallingToken`
- Send `ChannelId-lcw` message tag
- 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)
- 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)
### Fixed
2024-03-20 01:15:30 +03:00
- `msdyn_enablechatreconnect` not being parsed properly
- Fix unable to start multiple conversations with same instance due to chat client being disposed
- Pass logger to adapter
## [0.2.0] - 2021-04-30
2024-03-20 01:15:30 +03:00
React sample app using Omnichannel Chat SDK with BotFramework-WebChat (#10) * Create React app via create-react-app * Clean up sample app * Install botframework-webchat@4.9.2 * Install @microsoft/omnichannel-chat-sdk * Connect WebChat with Omnichannel * Add .env.config * Update README.md * Add chat button to start chat * Add chat header with close button * Fix box-shadow * Change chat header border color * Rename & Reorganize components * Consume react-feather * Registers to onNewMessage, onTypingEvent, onAgentEndSession events * Install react-loader-spinner * Use context & Add Loading component * Update README.md * Refactor * Add action bar to download & email transcript * Create custom Redux store * Refactor * Hide action bar when chat is in loading state * Add data masking middleware * Add comments * Setup VoiceVideoCallingSDK * Extract chat button to new component * Add Calling component * Extract chat header to new component * Extract action bar to new component * Recreate store on every chat session to avoid previous chat messages getting cached * Adjust chat transcript height on e2v * Close VoiceVideoCalling on end chat * Extract VoiceVideoCalling logic to Calling component * Add background color if there's an incoming call * Add incoming call pop up * Clean up * Add ability to connect to existing chat * Update README.md * Clean up * Fix styling * Fix styling * Add current call action bar UX * Adjust webchat height based on voice/video calls * Move incoming call component to new file * Clean up * Toggle icons on toggle button click * Update voice &video call life cycle * Clean up * Use method to get data masking * Add hover effect on buttons * Consume latest package with E2V support * Add sample activity middleware * Add avatar middleware to display avatar on agent/customer messages * Add styling * Add ability to override omnichannel config via url params * Update CHANGELOG.md * Fix typo * Ignore tests from samples/ * Update README.md * Clean up
2021-02-12 01:41:15 +03:00
### Added
2024-03-20 01:15:30 +03:00
React sample app using Omnichannel Chat SDK with BotFramework-WebChat (#10) * Create React app via create-react-app * Clean up sample app * Install botframework-webchat@4.9.2 * Install @microsoft/omnichannel-chat-sdk * Connect WebChat with Omnichannel * Add .env.config * Update README.md * Add chat button to start chat * Add chat header with close button * Fix box-shadow * Change chat header border color * Rename & Reorganize components * Consume react-feather * Registers to onNewMessage, onTypingEvent, onAgentEndSession events * Install react-loader-spinner * Use context & Add Loading component * Update README.md * Refactor * Add action bar to download & email transcript * Create custom Redux store * Refactor * Hide action bar when chat is in loading state * Add data masking middleware * Add comments * Setup VoiceVideoCallingSDK * Extract chat button to new component * Add Calling component * Extract chat header to new component * Extract action bar to new component * Recreate store on every chat session to avoid previous chat messages getting cached * Adjust chat transcript height on e2v * Close VoiceVideoCalling on end chat * Extract VoiceVideoCalling logic to Calling component * Add background color if there's an incoming call * Add incoming call pop up * Clean up * Add ability to connect to existing chat * Update README.md * Clean up * Fix styling * Fix styling * Add current call action bar UX * Adjust webchat height based on voice/video calls * Move incoming call component to new file * Clean up * Toggle icons on toggle button click * Update voice &video call life cycle * Clean up * Use method to get data masking * Add hover effect on buttons * Consume latest package with E2V support * Add sample activity middleware * Add avatar middleware to display avatar on agent/customer messages * Add styling * Add ability to override omnichannel config via url params * Update CHANGELOG.md * Fix typo * Ignore tests from samples/ * Update README.md * Clean up
2021-02-12 01:41:15 +03:00
- React Native sample app using Omnichannel Chat SDK with [react-native-gifted-chat](https://github.com/FaridSafi/react-native-gifted-chat)
- Escalation to Voice & Video support (Web Only)
React sample app using Omnichannel Chat SDK with BotFramework-WebChat (#10) * Create React app via create-react-app * Clean up sample app * Install botframework-webchat@4.9.2 * Install @microsoft/omnichannel-chat-sdk * Connect WebChat with Omnichannel * Add .env.config * Update README.md * Add chat button to start chat * Add chat header with close button * Fix box-shadow * Change chat header border color * Rename & Reorganize components * Consume react-feather * Registers to onNewMessage, onTypingEvent, onAgentEndSession events * Install react-loader-spinner * Use context & Add Loading component * Update README.md * Refactor * Add action bar to download & email transcript * Create custom Redux store * Refactor * Hide action bar when chat is in loading state * Add data masking middleware * Add comments * Setup VoiceVideoCallingSDK * Extract chat button to new component * Add Calling component * Extract chat header to new component * Extract action bar to new component * Recreate store on every chat session to avoid previous chat messages getting cached * Adjust chat transcript height on e2v * Close VoiceVideoCalling on end chat * Extract VoiceVideoCalling logic to Calling component * Add background color if there's an incoming call * Add incoming call pop up * Clean up * Add ability to connect to existing chat * Update README.md * Clean up * Fix styling * Fix styling * Add current call action bar UX * Adjust webchat height based on voice/video calls * Move incoming call component to new file * Clean up * Toggle icons on toggle button click * Update voice &video call life cycle * Clean up * Use method to get data masking * Add hover effect on buttons * Consume latest package with E2V support * Add sample activity middleware * Add avatar middleware to display avatar on agent/customer messages * Add styling * Add ability to override omnichannel config via url params * Update CHANGELOG.md * Fix typo * Ignore tests from samples/ * Update README.md * Clean up
2021-02-12 01:41:15 +03:00
- React sample app using Omnichannel Chat SDK with [BotFramework-WebChat](https://github.com/microsoft/BotFramework-WebChat)
- Expose `sessiontInit`'s `initContext` on `startChat`'s optional paramaters
- Add ability to use custom `ic3Config` & `chatAdapterConfig`
- Add telemetry
- Add `rehydrate` flag for `onNewMessage` to rehydrate all messages of existing conversation
- Add `getConversationDetails`
- Add ability to pass custom `ariaTelemetryKey`
React sample app using Omnichannel Chat SDK with BotFramework-WebChat (#10) * Create React app via create-react-app * Clean up sample app * Install botframework-webchat@4.9.2 * Install @microsoft/omnichannel-chat-sdk * Connect WebChat with Omnichannel * Add .env.config * Update README.md * Add chat button to start chat * Add chat header with close button * Fix box-shadow * Change chat header border color * Rename & Reorganize components * Consume react-feather * Registers to onNewMessage, onTypingEvent, onAgentEndSession events * Install react-loader-spinner * Use context & Add Loading component * Update README.md * Refactor * Add action bar to download & email transcript * Create custom Redux store * Refactor * Hide action bar when chat is in loading state * Add data masking middleware * Add comments * Setup VoiceVideoCallingSDK * Extract chat button to new component * Add Calling component * Extract chat header to new component * Extract action bar to new component * Recreate store on every chat session to avoid previous chat messages getting cached * Adjust chat transcript height on e2v * Close VoiceVideoCalling on end chat * Extract VoiceVideoCalling logic to Calling component * Add background color if there's an incoming call * Add incoming call pop up * Clean up * Add ability to connect to existing chat * Update README.md * Clean up * Fix styling * Fix styling * Add current call action bar UX * Adjust webchat height based on voice/video calls * Move incoming call component to new file * Clean up * Toggle icons on toggle button click * Update voice &video call life cycle * Clean up * Use method to get data masking * Add hover effect on buttons * Consume latest package with E2V support * Add sample activity middleware * Add avatar middleware to display avatar on agent/customer messages * Add styling * Add ability to override omnichannel config via url params * Update CHANGELOG.md * Fix typo * Ignore tests from samples/ * Update README.md * Clean up
2021-02-12 01:41:15 +03:00
### Changed
2024-03-20 01:15:30 +03:00
- 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)
- 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)
- 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)
React sample app using Omnichannel Chat SDK with BotFramework-WebChat (#10) * Create React app via create-react-app * Clean up sample app * Install botframework-webchat@4.9.2 * Install @microsoft/omnichannel-chat-sdk * Connect WebChat with Omnichannel * Add .env.config * Update README.md * Add chat button to start chat * Add chat header with close button * Fix box-shadow * Change chat header border color * Rename & Reorganize components * Consume react-feather * Registers to onNewMessage, onTypingEvent, onAgentEndSession events * Install react-loader-spinner * Use context & Add Loading component * Update README.md * Refactor * Add action bar to download & email transcript * Create custom Redux store * Refactor * Hide action bar when chat is in loading state * Add data masking middleware * Add comments * Setup VoiceVideoCallingSDK * Extract chat button to new component * Add Calling component * Extract chat header to new component * Extract action bar to new component * Recreate store on every chat session to avoid previous chat messages getting cached * Adjust chat transcript height on e2v * Close VoiceVideoCalling on end chat * Extract VoiceVideoCalling logic to Calling component * Add background color if there's an incoming call * Add incoming call pop up * Clean up * Add ability to connect to existing chat * Update README.md * Clean up * Fix styling * Fix styling * Add current call action bar UX * Adjust webchat height based on voice/video calls * Move incoming call component to new file * Clean up * Toggle icons on toggle button click * Update voice &video call life cycle * Clean up * Use method to get data masking * Add hover effect on buttons * Consume latest package with E2V support * Add sample activity middleware * Add avatar middleware to display avatar on agent/customer messages * Add styling * Add ability to override omnichannel config via url params * Update CHANGELOG.md * Fix typo * Ignore tests from samples/ * Update README.md * Clean up
2021-02-12 01:41:15 +03:00
### Fixed
2024-03-20 01:15:30 +03:00
React sample app using Omnichannel Chat SDK with BotFramework-WebChat (#10) * Create React app via create-react-app * Clean up sample app * Install botframework-webchat@4.9.2 * Install @microsoft/omnichannel-chat-sdk * Connect WebChat with Omnichannel * Add .env.config * Update README.md * Add chat button to start chat * Add chat header with close button * Fix box-shadow * Change chat header border color * Rename & Reorganize components * Consume react-feather * Registers to onNewMessage, onTypingEvent, onAgentEndSession events * Install react-loader-spinner * Use context & Add Loading component * Update README.md * Refactor * Add action bar to download & email transcript * Create custom Redux store * Refactor * Hide action bar when chat is in loading state * Add data masking middleware * Add comments * Setup VoiceVideoCallingSDK * Extract chat button to new component * Add Calling component * Extract chat header to new component * Extract action bar to new component * Recreate store on every chat session to avoid previous chat messages getting cached * Adjust chat transcript height on e2v * Close VoiceVideoCalling on end chat * Extract VoiceVideoCalling logic to Calling component * Add background color if there's an incoming call * Add incoming call pop up * Clean up * Add ability to connect to existing chat * Update README.md * Clean up * Fix styling * Fix styling * Add current call action bar UX * Adjust webchat height based on voice/video calls * Move incoming call component to new file * Clean up * Toggle icons on toggle button click * Update voice &video call life cycle * Clean up * Use method to get data masking * Add hover effect on buttons * Consume latest package with E2V support * Add sample activity middleware * Add avatar middleware to display avatar on agent/customer messages * Add styling * Add ability to override omnichannel config via url params * Update CHANGELOG.md * Fix typo * Ignore tests from samples/ * Update README.md * Clean up
2021-02-12 01:41:15 +03:00
- onAgentEndSession triggered on accept voice & video call
- Fix multiple instances of IC3Client initialized
- `uploadFileAttachment` failing on Web
React sample app using Omnichannel Chat SDK with BotFramework-WebChat (#10) * Create React app via create-react-app * Clean up sample app * Install botframework-webchat@4.9.2 * Install @microsoft/omnichannel-chat-sdk * Connect WebChat with Omnichannel * Add .env.config * Update README.md * Add chat button to start chat * Add chat header with close button * Fix box-shadow * Change chat header border color * Rename & Reorganize components * Consume react-feather * Registers to onNewMessage, onTypingEvent, onAgentEndSession events * Install react-loader-spinner * Use context & Add Loading component * Update README.md * Refactor * Add action bar to download & email transcript * Create custom Redux store * Refactor * Hide action bar when chat is in loading state * Add data masking middleware * Add comments * Setup VoiceVideoCallingSDK * Extract chat button to new component * Add Calling component * Extract chat header to new component * Extract action bar to new component * Recreate store on every chat session to avoid previous chat messages getting cached * Adjust chat transcript height on e2v * Close VoiceVideoCalling on end chat * Extract VoiceVideoCalling logic to Calling component * Add background color if there's an incoming call * Add incoming call pop up * Clean up * Add ability to connect to existing chat * Update README.md * Clean up * Fix styling * Fix styling * Add current call action bar UX * Adjust webchat height based on voice/video calls * Move incoming call component to new file * Clean up * Toggle icons on toggle button click * Update voice &video call life cycle * Clean up * Use method to get data masking * Add hover effect on buttons * Consume latest package with E2V support * Add sample activity middleware * Add avatar middleware to display avatar on agent/customer messages * Add styling * Add ability to override omnichannel config via url params * Update CHANGELOG.md * Fix typo * Ignore tests from samples/ * Update README.md * Clean up
2021-02-12 01:41:15 +03:00
### Security
2024-03-20 01:15:30 +03:00
React sample app using Omnichannel Chat SDK with BotFramework-WebChat (#10) * Create React app via create-react-app * Clean up sample app * Install botframework-webchat@4.9.2 * Install @microsoft/omnichannel-chat-sdk * Connect WebChat with Omnichannel * Add .env.config * Update README.md * Add chat button to start chat * Add chat header with close button * Fix box-shadow * Change chat header border color * Rename & Reorganize components * Consume react-feather * Registers to onNewMessage, onTypingEvent, onAgentEndSession events * Install react-loader-spinner * Use context & Add Loading component * Update README.md * Refactor * Add action bar to download & email transcript * Create custom Redux store * Refactor * Hide action bar when chat is in loading state * Add data masking middleware * Add comments * Setup VoiceVideoCallingSDK * Extract chat button to new component * Add Calling component * Extract chat header to new component * Extract action bar to new component * Recreate store on every chat session to avoid previous chat messages getting cached * Adjust chat transcript height on e2v * Close VoiceVideoCalling on end chat * Extract VoiceVideoCalling logic to Calling component * Add background color if there's an incoming call * Add incoming call pop up * Clean up * Add ability to connect to existing chat * Update README.md * Clean up * Fix styling * Fix styling * Add current call action bar UX * Adjust webchat height based on voice/video calls * Move incoming call component to new file * Clean up * Toggle icons on toggle button click * Update voice &video call life cycle * Clean up * Use method to get data masking * Add hover effect on buttons * Consume latest package with E2V support * Add sample activity middleware * Add avatar middleware to display avatar on agent/customer messages * Add styling * Add ability to override omnichannel config via url params * Update CHANGELOG.md * Fix typo * Ignore tests from samples/ * Update README.md * Clean up
2021-02-12 01:41:15 +03:00
- Fix eslint errors
## [0.1.0] - 2020-10-26
2024-03-20 01:15:30 +03:00
### Added
2024-03-20 01:15:30 +03:00
2023-09-29 00:54:23 +03:00
- Initial release of Omnichannel Chat SDK v0.1.0