Skip to content

Latest commit

 

History

History
924 lines (473 loc) · 36.2 KB

CHANGELOG.md

File metadata and controls

924 lines (473 loc) · 36.2 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

2.19.2 (2024-10-28)

Bug Fixes

2.19.1 (2024-10-24)

Bug Fixes

  • dispatch openchat when startfullscreen is true (bd327ec)

2.19.0 (2024-10-24)

Features

  • audio-recorder: adds audio recorder (402a658)
  • sender: fixes responsivity bugs (dc466a8)
  • webcam-capture: adds responsability (d5d54ec)
  • webcam-capture: adds webcam capture (21a4756)
  • webcam-capture: fixes camera width (9210ea6)

Bug Fixes

2.18.0 (2024-10-11)

Features

  • audio-recorder: adds audio recorder (402a658)
  • webcam-capture: adds responsability (d5d54ec)
  • webcam-capture: adds webcam capture (21a4756)
  • webcam-capture: fixes camera width (9210ea6)

Bug Fixes

2.17.1 (2024-10-11)

Bug Fixes

  • Fixes node-sass package version.

2.17.0 (2024-10-11)

Features

  • Adds Webcam and Audio captures.

2.15.26 (2024-08-02)

Bug Fixes

  • timestamp nanoseconds conversion (78a21c0)

2.15.25 (2024-08-02)

Bug Fixes

2.15.24 (2024-08-02)

Bug Fixes

2.15.23 (2024-08-01)

Bug Fixes

  • nanoseconds timestamp (d9ddae9)
  • remove drop messages from mount component (0b86a93)

2.15.22 (2024-08-01)

Bug Fixes

2.15.21 (2024-08-01)

Bug Fixes

2.15.20 (2024-07-31)

Bug Fixes

2.15.19 (2024-07-31)

2.15.18 (2024-07-31)

Bug Fixes

2.15.17 (2024-07-25)

Bug Fixes

2.14.0 (2024-04-11)

Bug Fixes

  • youtube video rendering and typing indication fullscreen overflow (9ec8fdd)

2.13.0 (2023-05-23)

Features

  • new close session method based on session_token prop (02fbe74)

2.12.0 (2022-10-28)

Features

  • add i18next packages (072eec5)
  • i18n translations into openSession based on browser language (e70229d)
  • remove unused openSessionMessageFields prop (61657b7)

2.11.0 (2022-08-26)

Features

  • add customPayload option into open action (b7492d9)

2.10.2 (2022-07-21)

Bug Fixes

  • added z-index into unread-count (43fdd1e)

2.10.1 (2022-07-16)

Bug Fixes

  • textarea style and behavior issues (8fb661d)

2.10.0 (2022-07-15)

Features

  • multiline input and preview (128cc4d)

2.9.0 (2022-06-23)

Features

  • build history from socket (d8f9b69)
  • call getHistory after initialization (d0f4bbb)
  • fetch history based on scroll (55ebde8)
  • insert messages actions (e3d8fec)
  • prevent localStorage history from being loaded (9434b83)
  • send session type on register (a9bfa77)

2.8.2 (2022-05-30)

Bug Fixes

2.8.1 (2022-05-28)

Bug Fixes

  • closing socket connection while connecting (b2cc04e)

2.8.0 (2022-05-27)

Features

  • setSessionId widget method (5e01474)

2.7.1 (2022-04-19)

Bug Fixes

  • init payload not being sent when sessionId is set (15434ed)

2.7.0 (2022-03-28)

Features

  • async dispatcher middleware (eb03e85)
  • new initPayload trigger logic (a54ab09)
  • sendInitPayload helper (8a7035e)
  • setInitPayload reducer (da4b5b2)

2.6.0 (2022-03-16)

Features

  • alert circle asset (1792077)
  • open session component and props (a8b70df)
  • open session socket event handler (0bd6cc9)
  • open session store actions and reducers (78d413a)

Bug Fixes

  • message type to warning (670db13)

2.5.3 (2022-01-31)

Bug Fixes

  • script tag name and uuid (8025f76)

2.5.2 (2022-01-17)

Bug Fixes

  • overwrite box-sizing for all webchat classes (044fbbc)

2.5.1 (2021-12-14)

Bug Fixes

  • remove trigger of register if attempting reconnection (bc328e0)

2.5.0 (2021-12-07)

Features

  • audio upload (92f8e25)
  • basic file selector handling (c11fd3f)
  • change powered by to weni (541dfd5)
  • check history for delayed trigger (c8e2ad9)
  • client id attribute (305ddab)
  • document upload (90fb97c)
  • dropzone (abad7fc)
  • first weni websocket support, applied lint on modified files (f86c460)
  • get attachments url from acknowledgment message (fdd4f72)
  • image upload (a8f3e7a)
  • incoming attachments handling (efd5609)
  • new attachment icon (a29ea87)
  • new audio reply component (a8565b5)
  • new custom auto complete attribute (043da74)
  • reconnect socket on error/closure (4089df6)
  • socket ping (ec81773)
  • sound notification (16b981e)
  • video upload (531283e)

Bug Fixes

  • basic text message sending (2049f44)
  • doc handle url without file extension (e280337)
  • doc viewer accept only files (1a0d0df)
  • dropzone click behavior (82d8c6a)
  • incorrect send action payload (d82276f)
  • lint (a9f5c0e)
  • multiple connections being opened (4d6de75)
  • powered by (108e6f4)
  • quick_replies handling (400c6d9)
  • remove unused imports (a6aa16c)
  • removed channel id from uniqueFrom and let it be more random (cea6b1d)
  • removed logs (d55e683)
  • removed unnecessary logs (b298ef7)
  • responsive image size (fc25277)
  • sessionId not working (82323e0)
  • tooltip format (1d97830)

1.8.0 (2020-12-23)

Features

  • new custom auto complete attribute (043da74)

1.7.2 (2020-10-13)

Bug Fixes

  • suggestions display after selection (00e48c7)

1.7.1 (2020-10-06)

Features

  • image click opens a new tab (e776e64)

1.7.0 (2020-10-05)

Features

  • automatic send for suggestions (edd136a)

1.6.0 (2020-09-24)

Features

  • added exluded parameter (66fa3d4)
  • added suggestions on frontend (ade40d1)
  • modified style and props format (45190cc)
  • support to suggestions (522185a)

Bug Fixes

1.5.1 (2020-08-18)

Bug Fixes

  • initPayload not being sent when the chat was manually opened (88525dd)

1.5.0 (2020-08-06)

Features

  • startFullScreen param added (9a027f2)

Bug Fixes

  • better spacing (f2dbcd6)
  • removed initPayload being called on component updates (22c6943)

1.4.1 (2020-07-22)

Bug Fixes

  • header padding now not using a height dependent unit (c3d1eb2)

1.4.0 (2020-07-20)

Features

Bug Fixes

  • div not blocking page interaction (be327f0)
  • messages alignment (be68136)

1.3.0 (2020-07-14)

Features

  • new attribute showHeaderAvatar and fullScreenMessageBubbleColor (4298c2c)
  • new method clear() and new attribute sessionId (ecb9fc6)
  • tooltip message can be defined as a string (b258564)

Bug Fixes

  • laucher image size (5e4dbac)
  • merge error (88f59ef)
  • modified name to fullScreenBotMessageBubbleColor (800542f)
  • profile avatar with a better size, reduced input size on fullscreen (9a36cc4)
  • removed log and unused variable (126da36)

1.2.0 (2020-07-10)

Features

  • new attribute showHeaderAvatar and fullScreenMessageBubbleColor (4298c2c)
  • tooltip message can be defined as a string (b258564)

Bug Fixes

  • laucher image size (5e4dbac)
  • merge error (88f59ef)
  • modified name to fullScreenBotMessageBubbleColor (800542f)
  • profile avatar with a better size, reduced input size on fullscreen (9a36cc4)

1.1.3 (2020-07-09)

Features

  • tooltip message can be defined as a string (b258564)

Bug Fixes

  • laucher image size (5e4dbac)
  • merge error (88f59ef)
  • profile avatar with a better size, reduced input size on fullscreen (9a36cc4)

1.0.1 (2020-07-03)

Features

  • tooltip message can be defined as a string (b258564)

1.0.0 (2020-07-02)

Features

  • more custom fields added (6891f59)
  • new method to force reload the widget - WebChat.reload() (aa8ca1e)
  • subtitle color and default customizeWidget params (7a827fa)

Bug Fixes

0.7.37 (2020-07-01)

Bug Fixes

  • fixed typo (7c36137)
  • quick-replies selection to userInput now working (c435351)

0.7.36 (2020-06-30)

Bug Fixes

  • error after merge (cbb51e6)
  • inputTextFieldHint prop added to missing places (de00559)
  • removed line (0121fc1)

0.7.35 (2020-06-30)

Bug Fixes

  • text overflow (7086230)
  • text overflow on client and quickReplies (f7f8525)

0.7.34 (2020-06-26)

Bug Fixes

  • removed bug line (a181f06)
  • userInput now is not deleted on bot message (d2df1e7)

0.7.33 (2020-04-14)

0.7.32 (2020-04-08)

0.7.31 (2020-04-01)

0.7.30 (2020-04-01)

0.7.29 (2020-03-28)

0.7.28 (2020-03-17)

0.7.27 (2020-03-17)

0.7.26 (2020-03-17)

0.7.25 (2020-03-15)

0.7.24 (2020-03-15)

0.7.23 (2020-03-15)

0.7.22 (2020-03-15)

Features

  • close button for tooltips (229d90d)
  • support images in tooltips (104644d)
  • support quick replies in tooltips (09e9f97)

0.7.21 (2020-02-20)

Features

  • sockjs transport can receive multiple messages at once (ad108de)

0.7.20 (2020-02-18)

0.7.19 (2020-02-18)

Features

  • sockjs: session_confirm can contain props (5f60300)
  • sockjs: session_confirm can contain props (0102be5)

Bug Fixes

  • crash when trying to hightlight with bad selector (289b104)
  • default css animations (dd365ba)
  • quick replies after refresh (2fb4c1d)

0.7.17 (2020-02-03)

Bug Fixes

  • fixed socket update on props update (ccfbb40)

0.7.16 (2020-01-30)

Features

  • initial support for pageEventCallbacks (caf129b)

Bug Fixes

  • webchat stuck on typing after refresh (6d6d2f2)

0.7.15 (2020-01-29)

0.7.14 (2020-01-29)

0.7.13 (2020-01-27)

0.7.12 (2020-01-22)

Bug Fixes

  • reverted to opening links in new tab (50b4b63)

0.7.11 (2020-01-22)

Bug Fixes

  • wrong parameters in initStore (75fec82)

0.7.10 (2020-01-17)

Bug Fixes

0.7.9 (2020-01-15)

Features

0.7.8 (2019-12-27)

0.7.4 (2019-12-19)

Features

0.7.3 (2019-12-10)

Bug Fixes

  • detect text and qr messages when incoming metadata present (8dcba98)
  • use message.content -- limitation from stompjs (32b1e0b)

0.7.2 (2019-12-04)

Features

  • add disconnect reason in socketjs LEAVE (290e356)

0.7.1 (2019-11-27)

0.7.0 (2019-11-21)

Bug Fixes

  • init payload is now sent only when opened (efebacb)

Features

  • added a prop tooltipDelay (8c8cd95)
  • smart typing delay and typing indication (8738c63)
  • tooltip popup (04e1279)

0.6.6 (2019-10-30)

Bug Fixes

  • margin 0 is prefered to margin 0px (2c0ca86)
  • no margin on last child only applies to

    (4fe3e9b)

Features

  • add margin to

    to display newline (c7df04b)

0.6.5 (2019-10-25)

Bug Fixes

  • duplicate registration of connect and disconnect event (263b847)
  • duplicate user connection and small refactoring (58e8925)
  • function binding (0a035c0)
  • invalid date if timestamp not present (4c7be48)
  • link and add container-class to quickreplies (67f7fcf)
  • lost of path in sockjs implementation (46adcab)
  • message's date CSS and removed seconds from date (e0fe602)
  • sockjs duplicate connection (991cc6a)

Features

  • display message's date on chat (3fef7c8)

0.6.4 (2019-10-18)

Features

  • added props connectOn and onSocketEvent (667c745)

0.6.3 (2019-10-11)

Bug Fixes

  • displayUnreadCount in index (9d915ad)
  • displayUnreadCount props (21ef8c2)
  • revert inputTextFieldHint (cb94a5e)

Features

  • add unread count pastille on openLauncherMessage (ee37f19), closes #73
  • regroup messages in conversation by "sender" (e837844)

0.6.2 (2019-10-11)

0.6.1 (2019-10-11)

Bug Fixes

  • cast messages text into string to prevent crashes (4778ad8)

Features

  • experimental sockjs support (b1f7c9d)

0.6.0 (2019-10-03)

0.5.10 (2019-10-02)

Bug Fixes

  • links should open in a new tab (e238af3)
  • update node-sass version to support node12 (dd3eee9)

Features

  • add commitlint and husky (a040aeb)
  • add standard version (573b856)
  • add test for quick replies linking (f95e8f3)
  • support web url in quick replies (ac4b6f1)

0.5.10 (2019-10-02)

Bug Fixes

  • links should open in a new tab (e238af3)
  • update node-sass version to support node12 (dd3eee9)

Features

  • add commitlint and husky (a040aeb)
  • add standard version (573b856)
  • add test for quick replies linking (f95e8f3)
  • support web url in quick replies (ac4b6f1)

0.5.9 (2019-06-06)

0.5.8 (2019-05-07)

Bug Fixes

0.5.7 (2019-04-29)

0.5.6 (2019-03-06)

0.5.5 (2019-02-27)

0.5.4 (2019-01-16)

0.5.3 (2018-12-21)

0.5.2 (2018-12-17)

Bug Fixes

  • it was impossible to click behind the empty space of widget button (8e63321)

0.5.1 (2018-12-03)

0.5.0 (2018-11-28)

0.4.2 (2018-11-14)

Features

  • 🎸 Add max-width to images and expose image params (2d3482b)

BREAKING CHANGES

  • \

0.4.1 (2018-10-29)

0.4.0 (2018-10-19)

0.3.4 (2018-10-12)

0.3.3 (2018-10-06)

0.3.2 (2018-10-06)

Bug Fixes

  • testing suite completing appropriately (e89087e)

0.3.1 (2018-07-11)

0.3.0 (2018-07-06)

0.1.1 (2018-04-29)

0.1.0 (2018-04-11)

0.5.8

  • Namespaced all css declarations so that they don't affect styles outside of the widget.

0.5.7

  • Fixed a bug where the connection would not close down when the component unmounted and continued polling indefinitely in the background.

0.5.6

  • Fixed a bug where named links would not render in a received message

0.5.5

  • New prop, docViewer, if this props is true, this will treat every link in received messages as a document and will open it in a popup using docs.google.com/viewer (note: this is an experimental feature and should be used with caution)

0.5.4

  • When reconnecting to an existing chat session, the bot will send a message contained in the localStorage key specified by the NEXT_MESSAGE constant. The message should be stringified JSON with a message property describing the message and an expiry property set to a UNIX timestamp in milliseconds after which this message should not be sent.

0.5.3

  • Added the parameter hideWhenNotConnected to not display the widget when the server is not connected (defaults to true)
  • Fixed issue where the 'connected' property was being loaded from previous session instead of being triggered on actual connection
  • Reduced the size of the widget container on mobile and in fullscreen mode (blocking clicks)

0.5.2

  • Added support for custom images for open and close buttons of chatWidget interface
  • Fixed size of chatWidget when closed preventing to take more space than the open button so that we can click around the open button with no problem

0.5.0

  • Added session persistence with Rasa Core

0.4.3

  • Implemented session persistence for chat widget.
  • Chat messages and widget state params are stored in storage of the browser.
  • Sessions are synchronized with server by a session_id.
  • The param storage is exposed which allows the user to specify where the session is stored.
  • In the case of session, session storage of the browser is used, and the session persists as long as the browser is open, and is erased after it is closed.
  • In the case of local, local storage of the browser is used and the session persists even after the browser is closed. The session is erased when the browser's cookies are cleared.
  • Implemented connecting notifier and disabled input field before session_confirm is received from the server and the session is generated and synchronized.
  • Separate connecting to server and sending initPayload. Server is connected when the component mounts, while initPayload is sent when the chat is toggled open and the server is connected.

0.4.2

  • Added a image size property to widget initialization, in order to crop-scale images returned by bot.
  • Images are crop-scaled to the defined size by the CSS property {object-fit: cover}. The content is sized to maintain its aspect ratio while filling the element’s entire content box. If the object's aspect ratio does not match the aspect ratio of its box then the object will be clipped to fit. The clipping will be taken from the center.
  • WebChat.toggle(), WebChat.open(), and WebChat.close can be used to change the state of the chat box to open or closed.
  • WebChat.show() and WebChat.hide() can be used to show or hide the entire chat widget.
  • WebChat.isOpen() and WebChat.isVisible() can be used to get the open state of the chat box and the visibility state of the entire widget.

0.4.1

  • Removed Linkify, added markdown support for response messages (urls still are detected automatically but not emails, to ensure a link appears use markdown syntax)
  • Fixed fullScreenMode prop: now dispatches the initPayload when the component mounts, removed border-radius