Releases: ebaauw/homebridge-lib
Releases · ebaauw/homebridge-lib
v4.0.4
v4.0.3
Changes:
- Allow values -10 to 10 for Volume Change, see ebaauw/homebridge-zp#8.
Bump dependencies:
- chalk v2.4.2.
v4.0.2
v4.0.0
Major refactor.
- Renamed
LibPlatform
,LibAccessory
,LibService
,LibCharacteristic
,LibObject
toPlatform
,AccessoryDelegate
,ServiceDelegate
,CharacteristicDelegate
, `Delegate; - Rename
UpnpMonitor
toUpnpClient
; - Added
CommandLineTool
andCommandLineParser
(from homebridge-hue-utils); - Added command-line tools
hap
,json
, andupnp
(from homebridge-hue-utils); - Added
TypeParser
(to replaceOptionParser
); - Added automated tests for
TypeParser
usingmocha
; - Added tutorial for
homebridge-lib
and forTypeParser
usingjsdoc
; - Changed the way dependencies are included through
index.js
- now using lazy initialisation.
Bump versions:
- NodeJS v10.15.0 LTS.
v3.1.3
Enhancements:
OptionParser
:- Add
objectKey()
; - Change
toPath()
: only return leading/
when input starts with/
;
- Add
LibPlatform
:- Handle changed
toPath()
logic inRestClient.get()
. - Cascade
heartbeat
andshutdown
events to accessory delegates. When delegate would issue athis.platform.on()
, the event would still be fired after the delegate has been deleted.
- Handle changed
LibAccessory
:- Remove listeners for
heartbeat
andshutdown
events when accessory (delegate) is removed.
- Remove listeners for
LibService
:- Handle
heartbeat
andshutdown
events from accessory delegate instead of from platform.
- Handle
MyHomeKitTypes
:- Add Night Sound and Speech Enhancement characteristics for homebridge-zp.
Bump versions:
- debug: 4.1.1;
- moment v2.23.0.
v3.0.1
v3.0.0
NOTE I plan to rename homebridge-lib
to homebridgeLib
, as it's not a homebridge plugin.
Enhancements:
- Integrate Eve history functionality as LibService;
- Initial attempt at using JSDoc to generate documentation.
Bump versions:
- NodeJS v10.14.1 LTS;
- Use tildes instead of carets, so dependencies won't automatically upgrade minor version.
v2.0.0
Enhancements:
- Refactor
LibService
andLibCharacteristic
; - Include rigorously trimmed-down version of fakegato-history in this library and lose the dependency on fakegato-history. History is now accessed through delegate class
LibService.History.Weather
. Also (untested)LibService.History.Door
,LibService.History.Energy
andLibService.History.Motion
. Still todo: mergeFakegatoHistory
class intoLibService.History
class and re-useEveHomeKitTypes
.
Bump versions:
- NodeJS v10.13.0 LTS.
- moment v2.22.2.
Make sure to upgrade npm and to re-install homebridge after upgrading node from 8.x to 10.x:
sudo npm -g i npm
sudo npm -g un homebridge
sudo npm -g i homebridge --unsafe-perm