- Adds syntactic sugar for
notify
. Now able to just pass message:
notifier.notify('My message');
See #45 for more info.
- Improvements to docs and examples
- Updates
semver
dependency to support Webpacking with Electron.
- Changes to exec terminal-notifier through execFile to allow for asar-packages
- Adds support for remote growl server
- Adds support for win7 with electron asar-package
Obligatory patch fix:
- Adds new stdin CLI options to docs
- Adds support for piping messages in to CLI.
(With
node-notifier
installed as a CLInpm i -g node-notifier
)
➜ echo "Message" | notify
➜ echo "Message" | notify -t "My Title"
➜ echo "Some message" | notify -t "My Title" -s
- Fixed input arguments to CLI to be strings where they should be strings.
- Fixed no notification when no message for the CLI. #58
- Changes
which
test to be sync, avoiding some edge cases with multiple notifications.
- Minor fix for docs in CLI usage
- Adds CLI support.
- Fixes Debug "HRESULT : 0xC00CE508" exception on Win8. PR #49
- Fixes correct terminal-notifier (own fork https://github.com/mikaelbr/terminal-notifier) to support activate / click.
- Fixes proper error codes for balloon: #42
- Removes unused debug files: #41
- Patches differences between subtitle for notify-send: #43
- Updates terminal-notifier dependency (removing black borders) #44 #18
- Adds support for changing host and port for Growl.
- Fixes Notification center issue with multiple callback events.
- Fixes error in source code: Fixes long-spaces to proper spaces
- Fixes issue with immidiate notifu notifications (with
wait : false
) - Fixes issue with boolean flags for notifu.
- Restructures directories. Making it easier to require notifiers directly.
- Fixes issue with optional callback for notify-send
Major changes and breaking API.
- require('node-notifier') now returns an instance with fallbackable notifications.
var notifier = require('node-notifier');
notifier.notify();
- Introduced a
wait
property (defaultfalse
), to get user input for Notification Center, Windows Toaster, Windows Balloons and Growl. Sadly not for notify-send.
var notifier = require('node-notifier');
notifier.notify({ wait: true }, function (err, response) {
// response is response after user have interacted
// with the notification or the notification has timed out.
});
- All notification instances are now event emitters, emitting events
click
ortimeout
. This is only applicable if{ wait: true }
.
var notifier = require('node-notifier');
notifier.on('click', function (notificationObject, options) {
// options.someArbitraryData === 'foo'
});
notifier.notify({ wait: true, someArbitraryData: 'foo' });
- WindowsToaster and NotificationCenter now can have sounds by doing
{ sound: true }
. Default NotificationCenter sound is Bottle. Can still use define sound on Mac:
var notifier = require('node-notifier');
notifier.notify({ sound: true });
// For mac (same as sound: true on Windows 8)
notifier.notify({ sound: 'Morse' });
- Adds Growl as priority over Balloons
- Adds support for native Windows 7 and earlier (through task bar balloons)
- Changes growl implementation. Adds better support for GNTP
- Fixes support for notifications from folders with spaces on Windows.
- Adds native Windows 8 support.
- Adds Growl as fallback for Mac OS X pre 10.8.
- Fixes typo: Changes Growl app name from
Gulp
toNode
.
- Maps common options between the different notifiers. Allowing for common usage with different notifiers.
- Fixes expires for notify-send (Issue #13)
- Fixes version check for Mac OS X Yosemite
- Updates terminal-notifier to version 1.6.0; adding support for appIcon and contentImage
- Removes parsing of output sent from notifier (Notification Center)