Skip to content

Commit 2bb3882

Browse files
Update changelog
1 parent 90902be commit 2bb3882

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

CHANGELOG.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,21 @@
1-
## 4.0.1
1+
## 0.4.1
22

33
- Removed Linkify, added markdown support for response messages
44
(urls still are detected automatically but not emails, to ensure
55
a link appears use markdown syntax)
66
- Fixed fullScreenMode prop: now dispatches the initPayload
7-
when the component mounts, removed border-radius
7+
when the component mounts, removed border-radius
8+
9+
## 0.4.2
10+
11+
- Added a image size property to widget initialization, in order
12+
to crop-scale images returned by bot.
13+
- Images are crop-scaled to the defined size by the CSS property
14+
{object-fit: cover}. The content is sized to maintain its aspect
15+
ratio while filling the element’s entire content box. If the
16+
object's aspect ratio does not match the aspect ratio of its box
17+
then the object will be clipped to fit. The clipping will be taken
18+
from the center.
19+
- `WebChat.toggle()`, `WebChat.open()`, and `WebChat.close` can be used to change the state of the chat box to open or closed.
20+
- `WebChat.show()` and `WebChat.hide()` can be used to show or hide the entire chat widget.
21+
- `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 commit comments

Comments
 (0)