From 51a80820973e9e2ba5f5184873505712d9964298 Mon Sep 17 00:00:00 2001 From: Jerome Houdan Date: Fri, 21 Sep 2018 10:59:35 +0200 Subject: [PATCH] chore() update changelog and version --- CHANGELOG.md | 21 +++++++++++++++++++++ package.json | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b6047227..c17295be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,3 +5,24 @@ The first versioned release of the webchat. Every breaking change, bug fix or improvement will be referenced here. + +# Version 1.1.0 (Sept 08, 2018) + +## Description + +TL;DR: Improve the way buttons and quickReplies are handled by the webchat. + +A button or a quickReply is composed of: + +- a title, displayed in the webchat (ex: "Let's the show begin!") +- a value, sent to the Bot Connector when the button is clicked (ex: "RANDOM_BORING_INTERNAL_VALUE") + +Previously, the value was sent as a text message, and appeared as such in the webchat as a reply from the user. This mean that when clicking on "Let's the show beging", a user message would appear in the webchat with the content "RANDOM_BORING_INTERNAL_VALUE". + +Now, when clicking on a button, both the value and the title are sent. This way, the Bot Connector still receive the value, but the webchat can display the more user-friendly title. + +# Version 1.1.1 (Sept 21, 2018) + +## Description + +Patch preventing the apparition of "null" in the webchat's input on Edge diff --git a/package.json b/package.json index 75d6ec61..b7e0b4e3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "webchat", - "version": "1.1.0", + "version": "1.1.1", "description": "", "main": "lib/index.js", "scripts": {