UNPKG

2.49 kBMarkdownView Raw
1# Change Log
2All notable changes to this project will be documented in this file.
3
4The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).
5
6## [Unreleased]
7
8## [5.0.0] - 2017-12-22
9
10### Changed
11
12- The property `macAddress` on `Device` changed type from `string | undefined` to `string`. Devices without a MAC address are now omitted from search results.
13
14## [4.1.0] - 2017-11-27
15
16### Added
17
18- The option to specify a custom implementation of a HTTP client, where the default is based on [Request](https://www.npmjs.com/package/request). This can be useful if discovery is required in an Electron application where one wish to benefit from the proxy configuration provided by using Electron's [net.request](https://electronjs.org/docs/api/net).
19
20## [4.0.2] - 2017-10-14
21
22### Fixed
23
24- Issue where exception was thrown when received message didn't specify MAC address
25
26## [4.0.1] - 2017-07-06
27
28### Fixed
29
30- Issue where socket listeners remained alive when discovery was stopped
31
32## [4.0.0] - 2017-07-04
33
34### Added
35
36- Support for enabling logs using [debug](https://github.com/visionmedia/debug)
37
38### Removed
39
40- Support for Node.js v5 (v6 is LTS)
41
42## [3.0.0] - 2017-06-26
43
44### Changed
45
46- Renamed `Device.serialNumber` to `Device.macAddress`. In most situations they are still the same, but the exceptions are the Axis products which bundle multiple physical devices into a single casing with a shared network interface. Because of the shared network interface they also share the same MAC address. This package is opinionated in that even though the devices via SSDP (UPnP) call the property _serial number_, it actually is a _MAC address_ and should be named accordingly.
47
48## [2.0.0] - 2017-06-24
49
50### Added
51
52- [#2](https://github.com/FantasticFiasco/axis-discovery-ssdp/issues/2) - Calling `Discovery.stop()` stops listening for SSDP advertisements
53
54### Changed
55
56- Replaced `null` with `undefined` according to [TypeScript guidelines](https://github.com/Microsoft/TypeScript/wiki/Coding-guidelines#null-and-undefined)
57
58## [1.0.2] - 2017-01-26
59
60### Fixed
61
62- [#40](https://github.com/FantasticFiasco/axis-discovery-ssdp/issues/40) - Calling `Discovery.search()` didn't trigger a new search
63
64## [1.0.1] - 2016-12-06
65
66### Fixed
67
68- Updated `README.md` in package
69
70## [1.0.0] - 2016-12-04
71
72### Added
73
74- Support for discovering [Axis Communications](http://www.axis.com/) devices on the network using SSDP (UPnP)