UNPKG

2.32 kBMarkdownView Raw
1# MPNS: Changelog
2
3This document has been superceded by the built-in GitHub releases feature. Find out more about release notes and changes at https://github.com/jeffwilcox/mpns/releases
4
5## 2.x
6
72.0.1:
8
9* Contains a compatibility fix (thanks @yavorg) allowing for an older broken property case name, `smallbackgroundImage` to be translated to `smallBackgroundImage`.
10
112.0.0:
12
13* createTile, createFlipTile, createToast, createRaw functions separate from send functions.
14* BREAKING CHANGE: Removes the very old liveTile, toast, rawNotification class types exposed by the module. To use this functionality for legacy apps, simply use any npm version prior to 2.0.0. The latest known version before the change was 1.2.8.
15* Increments the npm version to 2.0.0 to signal breaking change. Note that there is no major new functionality other than breaking change and an incrementally better implementation, unit tests, etc.
16
17## 1.x
18
191.2.8:
20
21* Adds a fix for Node 0.10.10+ to properly consume response data via stream resume
22
231.2.7:
24
25* Mild refactoring
26
271.2.6:
28
29* Adds support for an HTTP proxy via `options.proxy` (thanks @tjunnone)
30
311.2.5:
32
33* Adds support for TLS/HTTPS authenticated push channels
34
351.2.4:
36
37* Fixes a small typo in smallBackgroundImage (thanks @rs)
38* Adds error handling when URLs cannot be resolved
39
401.2.3:
41
42* Uses `url.parse` to support hostnames with ports
43
441.2.2:
45
46* Allows clearing a property value for tiles
47
481.2.1:
49
50* Renames `sendRawNotification` to `sendRaw`
51* Renames `error` parameter to `innerError`
52* Fixes issue #8 that `sendRaw` wasn't working
53
541.2.0:
55
56* Adds support for `sendFlipTile` method to support the new kinds of tiles added in 7.8+ devices
57* Adds support for secondary tiles via the `id` parameter
58
591.1.1:
60
61* Adds parameter validation that will throw, for robustness.
62
631.1.0:
64
65* Adds `sendText` and `sendTile` methods more consistent with the WNS module, removing the need to create a new object, only to then call send on it with a push URI.
66
671.0.4:
68
69* Adds support for Node.js through 0.9.0
70
711.0.3:
72
73* Addresses issues when using numbers to set the tile data
74* Cleans up string encoding functions.
75
761.0.2:
77
78* Fixes some small formatting issues.
79
801.0.1:
81
82* Adds raw notification type support.
83
841.0.0:
85
86* Initial implementation offering basic live tile and toast (no raw) support.