Skip to content

Latest commit

 

History

History
146 lines (113 loc) · 5.39 KB

CHANGELOG.md

File metadata and controls

146 lines (113 loc) · 5.39 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[2.2.4]

Fixed

  • onDeepHeartBeatFailure is undefined, updated websocketManager library file to fix the bug.

[2.2.3]

Fixed

  • .onConnectionEstablished() is fired twice after invoking .connect(); closes #124
  • enable message receipts by default; closes #132
  • expose deep heartbeat success/failure callback to clients

[2.2.2]

Fixed

  • reject send callbacks instead of returning null

[2.2.1]

Added

  • Updated README to include important note about ConnAck migration

Fixed

  • Fix sendMessageReceipts to only send receipts if chat has not ended

[2.2.0]

Added

  • Updated amazon-connect-websocket-manager.js library to enable Deep Heartbeat change for Chat widget users.

[2.1.0]

Added

[2.0.2]

Added

  • Error message if API call is made before invoking session.connect(); #129

Fixed

  • sendEvent contentType README documentation
  • delivered receipt logic causing deadlock promise; #131

[2.0.1]

Added

  • Browser Refresh and Persistent Chat documentation
  • More details to chatSession.sendAttachment README documentation
  • Improved ReactNativeSupport documentation

Fixed

  • Exclude src folder when publishing code to npm
  • Remove hardcoded usage of console.* methods; addresses #127
  • Expose connectionDetails value; addresses #154

[2.0.0]

Added

  • Initial TypeScript migration: auto-generate *.d.ts files in dist folder.
  • Delete and gitignore dist folder
  • Add CDN link to README
  • Fix typo for setting messageReceipts?.throttleTime in updateThrottleTime

[1.5.1]

Added

  • updaing generating mapping file in dist folder.

[1.5.0]

Added

  • support React Native applications with latest WebSocketManager fix

[1.4.0]

Added

  • Migrate critical connectionAcknowledge event to CreateParticipantConnection API, and keep sendEvent API for non-critical events like typing/read/delivered.
  • Adding chatSession.onConnectionLost method which subscribes to the CHAT_EVENTS.CONNECTION_LOST event.

[1.3.4]

Added

  • Throttle typing event. Throttle wait time is set to 10 seconds.
  • add interactiveMessageResponse as a supported ContentType.

[1.3.3]

Changed

  • fix unsafe-eval usage in code by updating webpack config.
  • do not load CSM bundle if CSM is disabled.

[1.3.2]

Changed

  • add application/json as a supported ContentType.

[1.3.1]

Changed

  • fix csm initialization to add try-catch to prevent csm webworker initialization failures from affecting the main application.

[1.3.0]

Added

  • Add message receipt. Message Receipts allow the sender of a chat message to view when their message has been delivered and read (seen) by the recipient.
  • Add browser and OS usage client side metric to enhance the proactive identify issues.

Changed

  • fix global declaration.

[1.2.0]

Added

  • Add client side metric service in order to enhance the customer experience and proactively identify issues. Detail: README.md.
  • Update .babelrc file to fix the error of ReferenceError: regeneratorRuntime is not defined.

[1.1.14]

Added

  • fix WebSocketManager logger so its instance is tied to WebsocketManager instance. Fixes the case where multiple connections are initiated in 1 browser session.
  • update log message to contain logLevel and logMetaData

[1.1.13]

Added

  • enabled logs for WebSocketManager
  • add advanced_log level to Logger for customers to identify critical logs needed for WebSocket production debugging.
  • add ability to re-connect to web socket after connection has ended.

Changed

  • remove websocket ended check for GetTranscript to allow GetTranscript after web socket has ended.
  • updated package-lock lockfileVersion to 2

[1.1.12]

Added

  • This CHANGELOG file to serve as an evolving example of a standardized open source project CHANGELOG.
  • Support for concurrent customer sessions and an agent session. Concurrent agent sessions are unsupported in Streams and remain unsupported in ChatJS.
  • Ability to configure a customized logger and other logging updates.

Changed

  • Upgrade babel, jest, and webpack-dev-server dependencies.
  • Minor code refactorings.

Fixed

  • Fix ChatJS connections breaking when Streams is terminated and re-initialized.
  • Improve code coverage.

1.1.11 - 2022-05-20

Changed

  • Upgrade async, minimist, node-forge dependencies.

1.1.10 - 2022-03-10

Changed

  • Bumped webpack, babel, eslint, and jest