v0.11.0
0.11.0 - 2020-03-25
Added
- Github Actions workflow which runs linter and tests
- Development dependencies are centralized in parent folder.
- Pre-commit for all packages.
- New ability to deploy specifying the Hubtype credentials as Botonic's CLI command arguments.
- New inspector to debug route matching.
- General features:
- Type definitions improvement in
index.d.ts
.
- Type definitions improvement in
- New webchat features:
- New
Multichannel
HOC, which automatically converts your interactive components to text-based components for WhatsApp. - New default animations in webchat: Messages are now displayed with a fade-in effect and clickable elements are rescaled with the hovering function. You can disable them in the webchat's
theme
object throughanimationsEnabled
oranimations.enabled
properties. - New ‘Send’ button (enabled by default). You can disable it by setting
userInput.sendButton.enable
tofalse
. You can also use your own created component withuserInput.sendButton.custom
. - New
Botonic.clearMessages()
method to force the deletion of the messages stored in the webchat.
- New
- General features:
- Improve tokenization of words containing hyphens and number (eg. covid-19).
- Improve tokenization of "pronoms febles" in Catalan.
- New API to update the texts of contentful contents.
- Tool for translators to translate the content texts through CSV files.
- Now buttons can refer to contentful queues (or any other top content).
- Now all Content's have the "id" field.
Changed
- Dependabot to check for updates on a weekly basis.
- Development dependencies are now installed in the repository top folder (parent config).
- Breaking change: The Minimal Node version is now
node-v10.19.0
- Webpack's resolve configuration is now unified into
resolveConfig
object.
- Breaking change: The Minimal Node version is now
- Breaking change:
emojiPicker
property is renamedenableEmojiPicker
. - All styles of the project are converted into Styled Components.
- Breaking change:
- Upgrade to typescript 3.8
- Breaking change: Refactor TopContent and Content base classes. ModelType renamed to TopContentType.
- Breaking change: Refactor so that SearchResult now returns ContentId's instead of ContentCallback's.
- Now only the required language-specific NLP.js folders are imported. This enables tree shaking to exclude big sentiment analysis files.
- Error reporting decorator now also reports the originating exception.
- Flag to disable the CMS delivery cache.
- Upgrade to typescript 3.8
- Breaking change: Move Env to its own file to ease tree-shaking
Fixed
- Noto Sans JP now does not show up as default typography.
simplebar
deprecation warnings have been resolved- Fixed outer page scrolling that produced unstable behavior.
- Fixed noopener parameter/option to avoid security risk in location links.
- Fixed
compromise
import in@botonic/cli
'snlu
template. - Webviews are now rendered within
div
instead ofiframe
for a better visualization when developing locally without affecting production builds