Skip to content

v5.0.0

Compare
Choose a tag to compare
@alexandermendes alexandermendes released this 17 Mar 15:22
· 21 commits to master since this release
5e634ad

This release largely cleans up options that added extra complexity but no real value to the module as they can be handled directly by the client.

  • Where button options have been removed, the same functionality can be achieved by adding a custom button via the toolbar-buttons option.
  • Where default modals, such as the share modal, the same functionality can be achieved by adding a custom modal using the lv-modal component.

See the docs for more details.

Breaking changes

  • The navigation viewer config option has been removed
  • The generator task config option has been removed
  • The creator task config option has been removed
  • The buttons viewer config option has split into toolbar-buttons and sidebar-buttons
  • The like button has been remove, along with the liked task config option
  • The show-note options has been removed
  • The share button and modal have been removed
  • Dropped support for node.js <= 5

Features

  • Custom toolbar buttons can be added via the toolbar-buttons viewer config option
  • All toolbar button clicks will emit a toolbarbtnclick event
  • Custom modals can be added with the lv-modal component
  • Add disable-modals option, so that the client can use their own
  • Task target configurations containing a FragmentSelector are highlighted (rather than having to specify additional highlights or bounds options)