Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
dliuproduction committed Nov 14, 2018
1 parent 90902be commit 2bb3882
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,21 @@
## 4.0.1
## 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
when the component mounts, removed border-radius

## 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 comments on commit 2bb3882

Please sign in to comment.