SDK Change Log

Note: An SRI check is available for this SDK. For more information, see the SDK Subresource Integrity page.

version 1.22.2 (2019.01.09)

  • Fixed: On slow connections, the Deflection Last Chance component from the KM SDK instantly appeared and disappeared when it was bound to an input on a page. This is now fixed and the component only displays when it is requested by the user.

version 1.22.1 (2018.12.19)

  • Fixed: "Local storage exceeded" error when many SDK are loaded on the same site.
  • Fixed: The SDK build footer with Inbenta logo now opens in another tab rather than the same one.

version 1.22.0 (2018.12.12)

  • New: Categories Dropdown component. This component displays categories in a dropdown, automatically displaying new dropdowns for subcategories if needed.
  • Fixed: Ratings subcomponent accepted empty comments to be submitted.
  • Fixed: Deflection component transition between inputs.
  • Fixed: Instant Answer text while loading component.
  • Highlight Semantic Autocompleter suggestions. Literal string matching marked with bold and semantic matchings marked with italic.
  • New: Option in the results component in order to automatically open a content if there is only one result.
  • Use the auth request to get the API URL and reduce the number of requests.
  • Updated categories component to use the new endpoint that list the contents in a category sorted as they are in the KM application.

Version 1.21.1 (2018.11.21)

  • Fixed: createFromAccessToken function when token expiration is not passed as parameter.

Version 1.21.0 (2018.11.21)

ALERT: Issue using createFromAccessToken function if you do not pass the token expiration as parameter. Fixed in 1.21.1

  • Modified SDK initialization to delay auth requests until an API request is performed. This reduces the number of requests if the SDK is not used.
  • Added subresource integrity to all versions of the SDK (See at the top of the page for details).
  • Fixed: Autocompleter submission with enter in IE11.
  • Fixed: Decision tree clicks tracked as CLICK_CHAINED instead of CLICK_CONTENT.

Version 1.20.0 (2018.11.07)

  • Fixed: Avoid duplicated API requests when components Categories and Categories sidebar are linked
  • Fixed: Autocompleter component compliancy with the Flick input typically used in Japan with mobiles
  • Fixed: Categories component freeze when changing from one to another quickly
  • Fixed: Results back button triggers event on click in white space
  • Documentation: amended autocompleter tracking documentation in the API and SDK
  • Added: option sort in the content list component of the SDK allowing customers to retrieve them by creation or modification date.

Version 1.19.0 (2010.10.17)

  • Added: New tracking object in the onchange results event so that cross-selling contents can be retrieved.
  • Added: New Decision Tree subcomponent

Version 1.18.0 (2010.10.03)

  • Fixed: autocompleter on Japanese.
  • Change /apis cache duration to 24h.
  • Set autocompleter parameter preload to false.
  • Added components:
    • Content List
    • User Question List

Version 1.17.0 (2018-09-19)

  • Added: new instantResults component
  • Added functions:
    • getUserQuestions
    • getUserQuestionById
    • getUserQuestionBySlug
    • getContentUserQuestions
    • getUserQuestionContents

Version 1.16.0 (2018-08-22)

  • Added: new "show and hide" function for the autocompleter component
  • Added: new categoryId option for the instants component
  • Added: new categoryId option for the last chance component
  • Fixed: "no ratings configured" error message appearing in all Chatbot SDK configurations

Version 1.15.0 (2018-08-08)

  • Added: new loadingData event
  • Added: new dataLoaded event
  • Added: new semanticAutocompleter component
  • Added: Contents interceptor
  • Added: Categories interceptor
  • Added: Autocompleter data interceptor

Version 1.14.0 (2018-07-25)

  • Added: event rateSearch to results component
  • Added: event rateContent to components with subcomponent contents
  • Tracking changed on instants component to log contact events
  • Tracking changed on last chance component to log contact events
  • Fixed: styles on related component

Version 1.13.0 (2018-07-11)

  • Fixed: styles on rating button on responsive

Version 1.12.0 (2018-07-11)

  • Fixed: autofocus on searchBox component.

Version 1.11.0 (2018-06-13)

  • Fixed: do not show empty categories

Version 1.10.0 (2018-05-16)

  • Added: new option preLoad to the autocompleter component.

Version 1.9.0 (2018-05-02)

  • Added: configuration parameter "accessTokenExpiration" to method createFromAccessToken.
  • Added: session cookie.
  • Added: local storage for apis and accesstoken.
  • Added: splitQuery to lastChance component.
  • Fixed: Autocompleter matches the beginning of the words not any group of characters in the middle of the word.

Version 1.8.0 (2018-04-18)

  • Improved: categories styles.

Version 1.7.0 (2018-04-04)

  • Sanitize data from API to avoid XSS from contents.
  • Added: SDK option "sanitizeOptions" to customize the tags/attributes to sanitize.
  • Added: alias "none" to layout css.
  • Fixed: autocompleter does not accept ñ and accents.
  • Fixed: autocompleter search only the first word
  • Fixed: categories show the categories groups wrong.
  • Fixed: js var name (The creation function had the 'i' of InbentaKmClient in lower case).

Version 1.6.0 (2018-02-21)

  • Instants send to the API the option "splitQuery=true".
  • Fixed: Instants not working in IE11.
  • Fixed: In instants component, when the content is clicked instants are repositioned.

Version 1.5.2 (2018-02-07)

  • Corrected param name in categories component: categoriesGroupLenght -> categoriesGroupLength
  • Fixed: in categories component the content emit contentClick and not click like when a category is clicked.

Version 1.5.0 (2018-01-24)

  • Added: new logic to setCallbackWhenInvalidAccessToken. Allow to retry the las call after update access token.
  • Added: method getContentBySlug to client
  • Added: method getCategoryBySlug to client
  • Added: method setCategoryBySlug to component categories
  • Added: initialitation parameter categorySlug to component categories
  • Added: method openContentBySlug to component results

Version 1.4.0 (2018-01-10)

  • Added: event click to categories component
  • Added: event click to categories-breadcrumb component
  • Added: event click to categories-sidebar component
  • Added: option openContentOnClick on content subcomponent
  • Added: option loadCategoryOnClick on category component
  • Added: option loadCategoryOnClick on categorySidebar component
  • Added: option loadCategoryOnClick on categoryBreadcrumb component
  • Added: ratings comment a placeholder label

Version 1.3.0 (2017-12-13)

  • Added: Management of external clicks (Explained in SDK documentation)
  • Added: function openContentById to results component
  • Added: getCrossSellingById function to client
  • Added: getSearchCrossSelling function to client
  • Added: autocompleter option 'maxItems'
  • Added: autocompleter selection with keyboard arrows

Version 1.2.1 (2017-11-29)

  • New component lastChance
  • New component pushpopular
  • New subcomponent related
  • Add function createFromDomainKey to create a SDK with given DomainKey.

Version 1.1.0 (2017-11-28)

  • New component autocompleter
  • New component instants

Version 1.0.0 (2017-11-10)

  • Initial release!

Version 0.x.x

  • Alpha version