Skip to content

Releases: amazon-connect/amazon-connect-chatjs

v5.0.0

09 Feb 22:10
667598e

Choose a tag to compare

Added

  • Lex streaming support with partial message stitching for bot responses
  • transcriptUpdated event for real-time transcript tracking
  • onTranscriptUpdated callback in chatSession
  • Auto-fetch transcript on connection when transcriptUpdateEnabled is set
  • Agent metrics for getConnectionToken and createParticipantConnection errors
  • MessageProcessingStatus TypeScript type (PROCESSING, FAILED, REJECTED)
  • workflowCanceled content type for handling workflow cancellation events
    @saipreetham16

v4.0.0

23 Jan 02:29
793b606

Choose a tag to compare

  • Enhanced End Chat flow to support disconnect flow experiences
  • Modified disconnectParticipant() to defer connection termination until server sends chatEnded event
  • Moved cleanup operations from disconnectParticipant() to _handleIncomingMessage() for server-driven termination
  • Added callback pattern in _forwardChatEvent() to ensure proper event ordering during chat termination
  • Enables post-disconnect messaging (surveys, confirmations) while ensuring proper cleanup

v3.1.5

21 Aug 16:42
0e3a756

Choose a tag to compare

What's Changed

  • Remove websocket incoming message logging from LpcConnectionHelper by @xiajon in #293

Full Changelog: 3.1.4...3.1.5

3.1.4

28 Jul 18:56
de59935

Choose a tag to compare

Added

  • Add type definition for getAttachmentURL API - #291

3.1.3

14 Jul 21:07
401061b

Choose a tag to compare

[3.1.3]

Added

  • Update index.d.ts for sendMessage() and sendEvent idempotency key

3.1.2

07 Jul 21:16
16822cc

Choose a tag to compare

Added

  • Add StreamsJS event metric when createChatController is success (#279)
  • Expose new session function that returns the S3 Url of the attachment instead of content (#281)
  • create sample files for local e2e testing (#265)
  • add polyfill code snippet for react native support (#280)

3.1.1

19 Jun 18:28
e7ed56d

Choose a tag to compare

[3.1.1]

Added

  • Add client-side idempotency to chatSession.sendMessage() and .sendEvent() (#275)
  • (internal) publish StreamsJS error metrics when failed to load custom ccp chat session (#276)
  • Update ReactNativeSupport.md documentation to use known-good version <= v3.0.2

3.1.0

04 Jun 17:29
0cbf0b6

Choose a tag to compare

What's Changed

  • feat: expose ChatJS npm version via window.connect.ChatJS.version by @spenlep-amzn in #271
  • fix: missing typescript declarations and replace any usage by @spenlep-amzn in #268

Added

  • Expose ChatJS version to global window.connect.ChatJS.version
  • Add missing typescript declarations to index.d.ts
  • Updating ChatGlobalConfig interface in index.d.ts for React Native webSocketManagerConfig

Full Changelog: 3.0.6...3.1.0

3.0.6

18 Apr 20:32
3328fd4

Choose a tag to compare

What's Changed

  • Updating connectivity and websocket logic by @mliao95 in #252
  • Fix websocket termination issue for mobile on network disruption by @agarwhi in #257

Full Changelog: 3.0.5...3.0.6

3.0.5

03 Apr 20:28
a738b6e

Choose a tag to compare

What's Changed

  • Updating ChatSessionOptions in index.d.ts by @mliao95 in #255

Full Changelog: 3.0.4...3.0.5