Skip to content

v2.0.0

Choose a tag to compare

@vladbulyukhin vladbulyukhin released this 02 Jun 10:49
· 259 commits to master since this release

Added

  • Smart links are now rendered using Web Components.
  • Changes in smart link rendering algorithm for better performance.
  • New data attributes related to add button have been added to SDK (data-kontent-add-button, data-kontent-add-button-insert-position, data-kontent-add-button-render-position).
  • New data attribute to disable features (highlights) has been added to SDK (data-kontent-disable-features).
  • Edit buttons now support content components and content items.
  • New iframe messages added to iframe communication.

Fixed

  • Better error handling (e.g. local storage access rights).
  • Improve rendering algorithm for better performance.

Changed

  • Setting query parameter to a falsy value (null, "") results in SDK being always enabled.
  • IFrame communication is only used when inside Web Spotlight iframe.
  • Configuration object has been changed:
  • New debug property can be set to true to enable additional debug logs.
  • Default project ID and language codename have been moved under defaultDataAttributes property.
  • Default query parameter name has been changed from kontent-smart-link-enabled to ksl-enabled.

Removed

  • Removed SCSS files and external CSS files that must be imported to use the SDK.