@@ -4,6 +4,101 @@ All notable changes to this project will be documented in this file.
4
4
The format is based on [ Keep a Changelog] ( http://keepachangelog.com/ )
5
5
and this project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
6
6
7
+ ## [ 0.12.0] - 2018-01-12
8
+ This release brings significant improvements which include various
9
+ breaking changes (see items with the ** [ BREAKING] ** label). It overhauls
10
+ the following areas:
11
+ 1 . The loader script has been integrated into a single library. This
12
+ makes it easier to load the chatbot UI component since now there's only
13
+ one JavaScript file and a unified configuration
14
+ 2 . CloudFormation master template has been split into two different
15
+ templates based on the deployment mode (CodeBuild or Pipeline). This
16
+ simplifies the templates and their parameters
17
+ 3 . The chatbot UI messages are now encapsulated in a custom component
18
+ instead of a chip. The messages now display a date when clicked and can
19
+ show a bot avatar image next to the bot messages. More importantly, the
20
+ new message component will makes it easier in the future to extend the
21
+ content displayed in messages (e.g. adding html/markup rendering)
22
+
23
+ ### Changed
24
+ - ** [ BREAKING] ** Merged fullpage and iframe loader functionality
25
+ into a library that loads from a single script. If you were using
26
+ including the ` chatbot-ui-*loader.js ` scripts, you should change it to
27
+ ` lex-web-ui-loader.js ` . This new library uses a constructor to create
28
+ a loader object. The loader object must explicitly call its ` load() `
29
+ function to load the component. For details, see the README under the
30
+ ` src/lex-web-ui-loader ` directory and the html files under ` src/website ` .
31
+ [ 0892314ef516ae31a7c0bb6d43369b9a9d1108e5]
32
+ - ** [ BREAKING] ** Changed loader config to use a unified file for both the
33
+ iframe and full page loader. The new default configuration file name is:
34
+ ` lex-web-ui-loader-config.json ` . See a sample under the ` src/config/ `
35
+ directory. [ dbcac4cc241b94e8669843b19fcd082f94b7cc84]
36
+ - Changed loader to allow keeping parent origin in config when
37
+ embedded [ 245ac70e647464e6abca01edd511d2b6963014be] - Changed
38
+ loader build environment to be based on webpack. This includes
39
+ integration with babel, eslint, post-css and webpack-dev-server
40
+ [ 8f1b7ac44c80e85811196930489931d1ea05704e]
41
+ - Changed message bubble from vuetify chips to a custom component. This
42
+ was done to allow greater flexibility in the style and structure of the
43
+ message bubbles and in preparation to render a more complex message format
44
+ [ 67192a0792c2d7433b24dda3b311d419e000b871]
45
+ - Changed vertical overflow in non-mobile devices to allow scrolling. This
46
+ enables mobile browsers to go full-screen when scrolling
47
+ [ 3b8efc9c8c9f3e838624cfe15e6249cf37db6bf4]
48
+ - Changed height calculation of toolbar, inputbar and message list to
49
+ make it more deterministic across browsers
50
+ [ 8b9132d17312468292893198061ed79fd7d89543]
51
+ - Bumped dependency versions [ 48aa6ace3e89554de6dcc49c81286b5770606715,
52
+ 72fb152b9ff7615df1051629cd768fdaff8da9f2]
53
+
54
+ ### Added
55
+ - Added time stamps to messages. It is shown under message bubbles when
56
+ focused [ bd9e9f32fbb25ec8658bb3d1775a5ba735f59fbc]
57
+ - Added basic mobile resolution detection
58
+ [ afa316bf926c671a1a8023b68c4257963cef8e69]
59
+ - Added the ability to include an avatar image next to the bot messages
60
+ [ 814069738d0c9caaa0347723bea917684d3182cd]
61
+ - Added message list event handler to scroll down to the bottom
62
+ [ 2a20d339d74c5c0684ec07408d4f45c3980a031b]
63
+ - Added CSS to auto hyphernation and word break text in messages
64
+ [ 502aa92018e4a704f635ab7e93ac27cd4bb0d0af]
65
+ - Added automated test for MessageList and Message components
66
+ [ 1667fc6bc7e6b75eb0023778b1f49d4cf9a86db4]
67
+ - Added origin configuration support to CodeBuild deployment
68
+ [ 1d459d93bf03cd5f3c442f5d030cc57a88dd03dc]
69
+ - Added a dynamically created page containing a code snippet and config
70
+ [ 7636bac7d94b2684ff0736ed5b34011625bbc8d7]
71
+ - added a base URL parameter to the loader which is used to
72
+ with relative links for the JSON configuration and dependencies
73
+ [ 9c954f635d473037cd3b8e19a193b5f2962ac675]
74
+
75
+ ### Removed
76
+ - ** [ BREAKING] ** Removed iframe loader config file:
77
+ ` src/config/chatbot-ui-iframe-loader-config.json ` . Its functionality
78
+ is now integrated in ` src/config/lex-web-ui-loader-config.json ` .
79
+ [ 2e158f7ec33d4dc0950bdce0a7bead8a1d97a965]
80
+ - ** [ BREAKING] ** Splitted the master cloudformation template into two
81
+ different template to separate the CodeBuild and Pipeline deployment
82
+ modes. This makes the templates much simpler and easier to configure
83
+ [ ee2ef487f0413f60b4a13d1ceb95b1b3f1408123]
84
+ - Removed the need to include CSS to manage overflow at the
85
+ body tag level and removed display flex for the app element
86
+ [ 8bf32f8b745b96660291a80a37bd25d0d40868fd]
87
+ - Removed promise catch statements in loader script to allow user scripts
88
+ to handle exceptions [ bd929d6b5d86e1e26af41985734c2690eb9ef04b]
89
+
90
+ ### Fixed
91
+ - Fixed a bug where the AWS SDK was loaded in the incorrect order
92
+ [ 1b4637b87b823d4964aeefb08d2fe00523d5dae4]
93
+ - Fixed a bug where the component config initialization had a timing issue
94
+ when running in embedded mode [ 66de81cd29b9444362ece87ab24b743efca49298]
95
+ - Fixed a bug where the toolbar image caused an error when not present
96
+ [ de77de6a2633eb925e270028fcb513932dbde93b]
97
+ - Fixed a bug where the display of dialog state in messages had the
98
+ wrong alignment [ d993d7a8cd70ef530eada79d60fd804561fbed6d]
99
+ - Fixed parent page in dev/test environment of component
100
+ [ 39a1e1c79fc1c3b0585e08510fad7c266c6fc32b]
101
+
7
102
## [ 0.11.0] - 2017-11-13
8
103
### Changed
9
104
- Various changes to support IE11 in text mode (no voice). IE11 support
0 commit comments