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

Releases: cgrossde/nw-notify

Bugfix Release

08 Aug 09:42
Compare
Choose a tag to compare

PR #26: Remove nwDispatcher use nw.gui instead, thanks to @hisune

Bugfix release

01 Feb 19:52
Compare
Choose a tag to compare
  • Correctly detect if it's a local sound file
  • Remove unnecessary log()

Small bugfixes

01 Feb 15:38
Compare
Choose a tag to compare
  • Don't show undefined as title or text when empty
  • Fix version number in error message

v1.0.0 - Breaking changes, new features and bugfixes

01 Feb 00:46
Compare
Choose a tag to compare

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

Bugfix release

27 Nov 15:34
Compare
Choose a tag to compare

Fixes #16: You can now send notifications again after calling closeAll().

Added primary screen detection

30 Aug 13:57
Compare
Choose a tag to compare

Thanks @makkesk8. Fixes #9 and #10.