Skip to content
This repository has been archived by the owner on Jun 6, 2018. It is now read-only.

v1.0.0 - Breaking changes, new features and bugfixes

Compare
Choose a tag to compare
@cgrossde cgrossde released this 01 Feb 00:46
· 11 commits to master since this release

Breaking changes:

  • The use of notify(title, text, ...) has been removed. Please call notify() with an object: notify({ title: 'some title', text: 'some text' }).
  • config.animateInParallel is now set to true (because of better performance)
  • Autocleanup feature was added and enabled by default. Calling closeAll() is not needed anymore. It will be called automatically when the main window is closed.

New features:

  • Notification sounds: nwNotify.notify({title: 'notification with sound', sound: nwNotify.getAppPath() + 'notification.wav'}). (Thanks @makkesk8)
  • Autocleanup windows (no need to call closeAll() anymore) config.autoCleanup. (Thanks @makkesk8)

Changes:

  • Fixed bug where getAppPath() would not work when the window's URL contained anchors #
  • More robust way of accessing the default notification.html template. If it can not be found we create one in the working dir and use that. Useful with webpack because in those setups the node_modules folder is not present.
  • Catch errors of setStyleOnDomElement() and report them to the user