Version 1.35.0 (2020.07.08)
- Added: When a user performs a click in a related content, this emits a
Version 1.34.1 (2020.07.01)
- Fixed: The SDK has a system in place to prevent the same question from being processed twice. However, a bug was found that prevented users from repeating a question even after a click on an autocomplete result. This is now fixed.
Version 1.34.0 (2020.06.10)
- Fixed: A bug was found in the
Category component where, when a user clicked the back button, the category id emitted was the current category instead of the destination category.
- Added: Tere is a new option in the
Content subcomponent that allows users to limit the maximum related contents displayed within a content, using the parameter
Version 1.33.0 (2020.04.15)
- Feature: We reduced the size of the SDK by loading the Inbenta icons font from a CDN instead of installing it with the code.
Version 1.32.0 (2020.02.05)
- We changed how the click event is handled to make sure to register the tracking before the execution continues.
Version 1.31.0 (2020.01.22)
- Local Storage is an important piece of KM SDK and some functionalities from the SDK may stop working when it is full or deactivated. To prevent this, we made some changes to make sure that the SDK can work, even when the user has issues with Local Storage.
- From this version onwards, the SDK calculates the expiration time independently from the time defined by the user. It uses the
expires_in parameter from the
- We added a new configuration parameter that gives users a way to change the entry point for the requests sent based on the region they are.
- Fixed: In previous versions of the SDK, the loader component did not close automatically if a content or category requested did not exist. This is now fixed.
Version 1.30.0 (2019.12.18)
- We updated KM SDK to Node 10.
Version 1.29.0 (2019.12.11)
- Starting with version 1.29.0, the KM SDK introduces Accessible Rich Internet Applications (ARIA) attributes, which makes SDK components more accessible to people with disabilities. At this time, the "searchbox", "contents", "ratings" and "results" components contain ARIA tags, with more to follow very soon! The components "popular", "push" and "push&popular" also benefit indirectly from this update. For more information about ARIA and making web apps more accessible, see https://www.w3.org/WAI/standards-guidelines/aria/
- Added: SDK cookies now carry a secure flag to prevent browsers from sending the cookie in non secured connections.
Version 1.28.0 (2019.09.18)
- Added: New
setContentsDataInterceptor method for the
Contents List component.
- Added: New
setContents method for the
- Fixed: The Contents interceptor was not overwriting the ANSWER_TEXT. This is now fixed.
- Fixed: The
Results component could not open automatically when only one result set with the
setContents method. This is now fixed.
- Fixed: The Related interceptor now takes into account sanitize options.
- Fixed: The Search rating maintained the state from one search to another. This is now fixed.
Version 1.27.2 (2019.09.04)
- Fixed: A bug was found in SDK versions 1.27.0 and 1.27.1, where Related contents did not show in any component except "Results". This is now fixed.
Version 1.27.1 (2019.06.12)
- Fixed: A bug was found in SDK versions 1.25, 1.26 and 1.27, when it came to displaying categories that only contained other categories. This is now fixed as of version 1.27.1.
Version 1.27.0 (2019.05.29)
setRelatedDataInterceptor method in the
detectLanguage method in the JS Client.
Version 1.26.0 (2019.05.15)
- Starting from version 1.26.0, the SDK sends its version to the API with each request. This version is stored and can be displayed in the Product apps Dashboard when set accordingly.
- There is a new method called "setContents()" in the "Results" component of the SDK. This new method allows you to populate the content with any set of contents obtained from the Knowledge Base.
Version 1.25.2 (2019.05.07)
- SDK integrated in client pages read the values of the document cookie. When this cookie contained certain characters, an error occurred when decoding them. We changed the way the SDK handles these cookies and this is now fixed.
Version 1.25.1 (2019.04.17)
- From this version onwards, the
Categories Dropdown component of the SDK no longer returns empty categories.
Version 1.25.0 (2019.04.17)
- There is a new JS Client function in the SDK that allows you to retrieve multiple contents by passing a list of content ids.
Version 1.24.0 (2019.04.03)
- New function in the JS Client allows to retrieve the session. This is useful for the developers that want to use the session id to filter by session in Dashboards.
- There is a new log property called "source", that allows developers to filter logs and reports by their source in the Dashboards when required.
Version 1.23.0 (2019.03.20)
Version 1.22.3 (2019.01.23)
- Fixed: The Deflection component of the SDK (formerly known as "Instant Answers") could send request to the API even when it only contained spaces. This is now fixed to avoid sending empty query requests to the API.
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)
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 (2018.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 (2018.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
- Added functions:
Version 1.16.0 (2018.08.22)
- Added: new "show and hide" function for the
- Added: new
categoryId option for the
- 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
- Added: new
- Added: new
- 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)