Skip to content

Release of [email protected] to npm

Compare
Choose a tag to compare
@Stevenic Stevenic released this 10 Jan 21:41

New Features

  • All new customizable routing system.
  • UniversalBot now derives from Library so you can easily aggregate child libraries and bots under a single parent bot.
  • Added support for registering recognizers globally.
  • Added new Dialog.triggerAction() for specifying rules that auto launch dialogs based on a users utterance.
  • All actions are now customizable.
  • Added confirmPrompt to Dialog.cancelAction().
  • New Session methods for saving and replacing dialog stacks.
  • Expanded IRecognizeContext object to be just a read-only version of the session.
  • Simplified creation of basic send/receive bot: Added ability to pass default dialog to UniversalBot constructor and deprecated passing of additional settings.
  • Added new UnoversalBot.onDisambiguateRoute hook.
  • Added new MediaCard classes for building media card attachments.
  • Added support for French to the built-in prompts.
  • Added support for cloning a library or bot.

Bug Fixes

  • Updated LuisRecognizer to support v2 URL's.
  • Fixed issue with localization namespace not being found on macs.
  • Fixed an issue with the session always assuming '*' as the root namespace.
  • Chat connector fix for case sensitive Authorization header.
  • Several localization related fixes uncovered by new unit tests.
  • Fix EntityRecognizer is very relaxed when parsing affirmative/negative.
  • Fix bug in url joining where the last part of the service uri gets lost due to url.resolve behavior.
  • Fixes related to the move to TypeScript 2.1.

Other Changes

  • Upgrade Node.js Bot Builder to v3.1 auth.
  • Added passing of user-agent header in ChatConnector calls.
  • Added several new feature specific examples.
  • Updated all examples to use new 3.5 features.
  • Added several new unit tests.
  • Updated Channel.ts to reflect latest capabilities.