1 | Changelog
|
2 | ===
|
3 |
|
4 | ### `v4.3.0`
|
5 | 1. Adds support for piping messages in to CLI.
|
6 | (With `node-notifier` installed as a CLI `npm i -g node-notifier`)
|
7 |
|
8 | ```shell
|
9 | ➜ echo "Message" | notify
|
10 | ➜ echo "Message" | notify -t "My Title"
|
11 | ➜ echo "Some message" | notify -t "My Title" -s
|
12 | ```
|
13 |
|
14 | ### `v4.2.3`
|
15 | 1. Fixed input arguments to CLI to be strings where they should be strings.
|
16 |
|
17 | ### `v4.2.2`
|
18 | 1. Fixed no notification when no message for the CLI. [#58](https://github.com/mikaelbr/node-notifier/pull/58)
|
19 | 2. Changes `which` test to be sync, avoiding some edge cases with multiple notifications.
|
20 |
|
21 | ### `v4.2.1`
|
22 | 1. Minor fix for docs in CLI usage
|
23 |
|
24 | ### `v4.2.0`
|
25 | 1. Adds CLI support.
|
26 | 2. Fixes Debug "HRESULT : 0xC00CE508" exception on Win8. PR [#49](https://github.com/mikaelbr/node-notifier/pull/49)
|
27 |
|
28 | ### `v4.1.2`
|
29 | 1. Fixes correct terminal-notifier (own fork https://github.com/mikaelbr/terminal-notifier)
|
30 | to support activate / click.
|
31 |
|
32 | ### `v4.1.1`
|
33 | 1. Fixes proper error codes for balloon: #42
|
34 | 2. Removes unused debug files: #41
|
35 | 3. Patches differences between subtitle for notify-send: #43
|
36 | 4. Updates terminal-notifier dependency (removing black borders) #44 #18
|
37 |
|
38 | ### `v4.1.0`
|
39 | 1. Adds support for changing host and port for Growl.
|
40 |
|
41 | ### `v4.0.3`
|
42 | 1. Fixes Notification center issue with multiple callback events.
|
43 | 2. Fixes error in source code: Fixes long-spaces to proper spaces
|
44 |
|
45 | ### `v4.0.2`
|
46 | 1. Fixes issue with immidiate notifu notifications (with `wait : false`)
|
47 | 2. Fixes issue with boolean flags for notifu.
|
48 | 3. Restructures directories. Making it easier to require notifiers directly.
|
49 |
|
50 | ### `v4.0.1`
|
51 | 1. Fixes issue with optional callback for notify-send
|
52 |
|
53 | ### `v4.0.0`
|
54 | Major changes and breaking API.
|
55 | 1. require('node-notifier') now returns an instance with fallbackable notifications.
|
56 | ```js
|
57 | var notifier = require('node-notifier');
|
58 | notifier.notify();
|
59 | ```
|
60 | 2. Introduced a `wait` property (default `false`), to get user input for
|
61 | Notification Center, Windows Toaster, Windows Balloons and Growl. Sadly not
|
62 | for notify-send.
|
63 | ```js
|
64 | var notifier = require('node-notifier');
|
65 | notifier.notify({ wait: true }, function (err, response) {
|
66 | // response is response after user have interacted
|
67 | // with the notification or the notification has timed out.
|
68 | });
|
69 | ```
|
70 | 3. All notification instances are now event emitters, emitting events
|
71 | `click` or `timeout`. This is only applicable if `{ wait: true }`.
|
72 | ```js
|
73 | var notifier = require('node-notifier');
|
74 | notifier.on('click', function (notificationObject, options) {
|
75 | // options.someArbitraryData === 'foo'
|
76 | });
|
77 | notifier.notify({ wait: true, someArbitraryData: 'foo' });
|
78 | ```
|
79 | 4. WindowsToaster and NotificationCenter now can have sounds by doing `{ sound: true }`.
|
80 | Default NotificationCenter sound is Bottle. Can still use define sound on
|
81 | Mac:
|
82 | ```js
|
83 | var notifier = require('node-notifier');
|
84 | notifier.notify({ sound: true });
|
85 | // For mac (same as sound: true on Windows 8)
|
86 | notifier.notify({ sound: 'Morse' });
|
87 | ```
|
88 |
|
89 | ### `v3.4.0`
|
90 | 1. Adds Growl as priority over Balloons
|
91 |
|
92 | ### `v3.3.0`
|
93 | 1. Adds support for native Windows 7 and earlier (through task bar balloons)
|
94 | 2. Changes growl implementation. Adds better support for GNTP
|
95 |
|
96 | ### `v3.2.1`
|
97 | 1. Fixes support for notifications from folders with spaces on Windows.
|
98 |
|
99 | ### `v3.2.0`
|
100 | 1. Adds native Windows 8 support.
|
101 |
|
102 | ### `v3.1.0`
|
103 | 1. Adds Growl as fallback for Mac OS X pre 10.8.
|
104 |
|
105 | ### `v3.0.6`
|
106 | 1. Fixes typo: Changes Growl app name from `Gulp` to `Node`.
|
107 |
|
108 | ### `v3.0.5`
|
109 | 1. Maps common options between the different notifiers. Allowing for common usage with different notifiers.
|
110 |
|
111 | ### `v3.0.4`
|
112 | 1. Fixes expires for notify-send (Issue #13)
|
113 |
|
114 | ### `v3.0.2`
|
115 | 1. Fixes version check for Mac OS X Yosemite
|
116 |
|
117 | ### `v3.0.0`
|
118 | 1. Updates terminal-notifier to version 1.6.0; adding support for appIcon and contentImage
|
119 | 2. Removes parsing of output sent from notifier (Notification Center)
|