Skip to content

Latest commit

 

History

History
232 lines (137 loc) · 14.7 KB

CHANGELOG.md

File metadata and controls

232 lines (137 loc) · 14.7 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

0.9.2 (2022-04-01)

0.9.1 (2022-04-01)

Bug Fixes

  • Add addExperimentTrigger method to ControlResponseBuilder (cbafd13)
  • incorrect reprompt chosen based on act (6281838)
  • update ask-sdk-core versions and fix vulnerabilities (124ec2c)

0.9.0 (2021-12-16)

Bug Fixes

  • adding missing exports (a5f8c0b)
  • elicit preposition slot (3a724c0)
  • modifying session behavior to enter idle state for screen output modality, exporting modality-related functions, and adding modifying default modality evaluators to correctly classify VectorGraphic and EditText touch events (7ca6d0b)

0.8.0 (2021-08-31)

⚠ BREAKING CHANGES

  • Default Act rendering will no longer include voice prompts if the request input modality is from a touch event.

Features

  • introduce functionality to determine request input modality and preferred response style. Adds utility to add appropriate prompts based on preferred response style. Modifies Act render methods and Control renderAct methods to use this utility (92a39d2)

Docs

  • Adding documentation for new functions in ResponseUtils (7afc8a8)
  • fixed doc param lint issues (90f0f76)

0.7.0 (2021-08-20)

Features

  • Add support for CanFulfillIntentRequest (7587a46)

0.6.3 (2021-08-03)

Bug Fixes

  • exported i18Init function on ControlManager (60897e3)

0.6.2 (2021-07-29)

Features

  • Adding Directive support for RePrompt SPI (550ca98)

0.6.1 (2021-06-24)

⚠ BREAKING CHANGES

  • Whenever a request is processed by a Control and evaluated with its defined handlers, if more than one handler matches are found, control throws an error with matching handlers.
  • NumberControl: Renamed NumberControlProp ambiguousPairs to mostLikelyMisunderstanding. Changed default prompts on NumberControl actions such as valueChanged, valueCleared.
  • converted Control.renderAct() function to async type and its return type to Promise and renderAPLComponent function to async and its return type to Promise<{[key:string]: any}> to support asynchronous functionalities

Features

  • builtin APL support for both blocking and non-blocking UI (0c42a6d)
  • Introduced restrictive logging of sensitive data and configuration of logging output (56f78cf)
  • refactored NumberControl and its APL Components (46f2e7d)

Bug Fixes

  • adding optional chaining when evaluating custom handler funcs (9e77eff)
  • Changed the evaluateInputHandlers function on Control to throw an error if more than one matching handlers are found (430623b)
  • Fixed MultiValueListControl StateDiagram to log state ojects as strings (a61d4b9)
  • Moved global initialization of logger into functions/classes scope (9d6944a)
  • NumberControl slot elicitation (d8de5ff)
  • NumberControl: typedoc fixes, changed logic to use map instead of switch statements (97c934b)
  • remove dead code in QuestionnaireControlBuiltins (f74b50b)
  • resolve dropped inputs in questionnaire (UserEvent race-condition) (6a0567a)

0.6.0 (2021-03-29)

⚠ BREAKING CHANGES

  • Changed the return type of valueRendered from string to ListControlRenderedItem to support ImageList rendering for list Items.
    • the default behavior for an exception thrown during canHandle is changed. Revert to the old behavior by setting ControlHandler.canHandleThrowBehavior = 'Rethrow'

Features

  • added APL component mode to render multiple APLs from different controls on each turn (7f22681)
  • APLComponent Mode in commonControls and refactors (2fd688a)
  • Greater control over top-level exception handling behavior (764d43c), closes #1 #2
  • Introduced a new optional prop in apl renderComponent to customize the APL component returned by a control (222d8e5)
  • listControl: refactor default APL for listControl and removed apl customHandling funcs (bc65af2)
  • made Control.value mandatory in all controls (8a726c9)
  • standardize lastInitiative state tracking on all controls (864d0f2)

Bug Fixes

  • changed DateRangeControl to use Control.value in its state to be consistent among all controls (b960421)
  • changed lastInitiativeState defintion to an interface (f12ab92)
  • stub error exceptions thrown during exceptionHandling unit test cases (53f6835)

0.5.1 (2021-01-19)

Docs

  • fixed Changelog previous release messages and formatting issues (7e52e9f)

0.5.0 (2021-01-19)

⚠ BREAKING CHANGES

  • change to interaction model building flow. (controls must be added after custom content)
  • various additions and minor changes to built-in interaction model content

Features

  • MultiValueList: added multiValueListControl and its default APL (59f970f)
  • add APL for NumberControl (831cc83)
  • async load/save of control state (c492307)
  • QuestionnarieControl: added QuestionnaireControl (65ed192)
  • questionnaire: improve APL behavior (759719e)
  • add QuestionnaireControl (multiple yes/no questions) (dec8b04)

Bug Fixes

  • ValueControl: fix slot elicitation directive (da5ff3c)
  • change number control validationFailedMessage type to be consistent with state.value (d507925)
  • cleanup and fixes for PR comments (a23520b)
  • ListControl: allow filteredSlotType to be 'none' (aedaa42)
  • fixes from PR comments #35 (159cf5b)
  • use 'idleMode' after touch. fixes for PR comments. general cleanup (323a25f)
  • use 'idleMode' after touch. fixes for PR comments. general cleanup (7c776fb)

0.4.0 (2020-11-23)

⚠ BREAKING CHANGES

  • change to IControlManager.reestablishControlStates signature
  • minor changes to exported functions and names
  • validation function types altered.

Features

  • clean up package exports (9fbc6da)

Bug Fixes

  • improve robustness of serializationValidator (d9db314)
  • improves validations API (1209f23)
  • no longer invoke controlManager.loadState/saveState in SerializationValidator (03afb43)

Docs

  • improve the jsDocs regarding Control.isReady and Control.canTakeInitiative (6216dcd)

0.3.0 (2020-10-21)

⚠ BREAKING CHANGES

  • (minor) ControlManager.createControlTree(). Removed controlStateBag parameter
  • (minor) renamed LanguageStrings.systemResources to defaultI18nResources

Features

  • add DynamicContainerControl (656eb37)
  • added support for custom handler functions in commonControls (6ab3414)
  • added valueRenderer prop[map (id) => rendered string] and renderedValue property in act payloads which are defaults to be used on prompts on all commonControls (81a01cb)
  • adds ListControl / Builtin-intent compatability (a3b7dd0)
  • generalized APL support along with built-ins (627e080)
  • improve control tree building API (9a2e1d9)
  • support 'modelConfiguration' in interactionModelGenerator (d01aa85)

Docs

  • add instructions/tips for writing user guide content (aceeea8)
  • add instructions/tips for writing user guide content (9199b68)
  • improve 'interaction model' section (274f80d)
  • improve 'interaction model' section (b9438a3)

0.2.4 (2020-09-11)

This release contains the following changes :

  • minor bug fixes and npm packaging configurations.

0.2.3 (2020-09-11)

This release contains the following changes :

  • minor bug fixes and npm packaging configurations.

0.2.2 (2020-09-10)

This release contains the following changes :

  • minor bug fixes.

0.2.1 (2020-07-21)

This release contains the following changes :

  • add chai as runtime dependency.
  • add the Changelog.

0.2.0 (2020-07-21)

This release contains the following changes :

  • Initial release for ask-sdk-controls for ASK SDK for Node.js.