Skip to content

Latest commit

 

History

History
614 lines (290 loc) · 19.4 KB

CHANGELOG.md

File metadata and controls

614 lines (290 loc) · 19.4 KB

Changelog

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

1.0.2 (2023-03-07)

Bug Fixes

1.0.1 (2021-04-15)

Bug Fixes

1.0.1 (2021-04-15)

Bug Fixes

1.0.0 (2021-02-01)

0.11.12 (2021-01-19)

Features

0.11.11 (2020-10-21)

0.11.10 (2020-10-16)

Features

0.11.9 (2020-10-14)

Bug Fixes

0.11.8 (2020-09-28)

Features

  • possibility to send a payload on tooltip close (38cf679)

0.11.7 (2020-09-16)

Bug Fixes

  • colors on buttons using color props (dbfebe6)

0.11.6 (2020-08-27)

Bug Fixes

0.11.5 (2020-06-24)

Features

  • choose tooltip placement (aba68c8)

0.11.4 (2020-06-24)

0.11.3 (2020-06-24)

Bug Fixes

  • sequence with highlights (2c69f08)

0.11.2 (2020-06-23)

Bug Fixes

  • bullet points in tooltips (2c9e92f)

0.11.1 (2020-06-23)

Bug Fixes

0.11.0 (2020-06-23)

Features

  • auto clear storage on new version to prevent errors (db2df1e)
  • placed tooltips (6857448)
  • tooltip sequences (80f048f)

0.10.4 (2020-06-06)

Features

Bug Fixes

  • minor style issue on typing indicator (0b9eb22)

0.10.3 (2020-06-01)

Bug Fixes

0.10.2 (2020-05-28)

Bug Fixes

  • page refresh when pressing enter on firefox (174d9b9)

0.10.1 (2020-05-27)

0.10.0 (2020-05-27)

Features

Bug Fixes

  • markdown lists when embedded mode is active (46427d1)
  • styles when widget is in full screen mode (74a95e9)

0.9.1 (2020-05-21)

Bug Fixes

  • allow session re-use by re-reading session_id from local storage (6ea3ffc)

0.9.0 (2020-05-11)

0.8.9 (2020-05-05)

Features

0.8.8 (2020-04-24)

Features

  • allow disabling/enabling input (333baea)
  • change the color of the send button when input is not empty (#214) (bd75cc5)

0.8.7 (2020-04-16)

Bug Fixes

  • scroll to highlight centered on mobile (560e44b)

0.8.6 (2020-04-16)

Features

  • automatically scroll to highlights (47daa28)

Bug Fixes

  • markdown was not working any more (#211) (ba2fe55)
  • safari blinking animation (d121a51)
  • scrolling to highligh with chat open (a967527)

0.8.5 (2020-04-10)

0.8.4 (2020-04-08)

0.8.3 (2020-04-06)

0.8.2 (2020-04-01)

Bug Fixes

0.8.1 (2020-03-26)

0.8.0 (2020-03-25)

Bug Fixes

  • message duplicate appearing as a tooltip when closing the chat (9586994)

0.7.23 (2020-03-20)

0.7.22 (2020-03-19)

Features

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

Bug Fixes

  • removed session_confirm race condition (ed16933)

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