Skip to content

Releases: ebaauw/homebridge-lib

v3.1.3

23 Dec 11:56
Compare
Choose a tag to compare
v3.1.3 Pre-release
Pre-release

Enhancements:

  • OptionParser:
    • Add objectKey();
    • Change toPath(): only return leading / when input starts with /;
  • LibPlatform:
    • Handle changed toPath() logic in RestClient.get().
    • Cascade heartbeat and shutdown events to accessory delegates. When delegate would issue a this.platform.on(), the event would still be fired after the delegate has been deleted.
  • LibAccessory:
    • Remove listeners for heartbeat and shutdown events when accessory (delegate) is removed.
  • LibService:
    • Handle heartbeat and shutdown events from accessory delegate instead of from platform.
  • MyHomeKitTypes:
    • Add Night Sound and Speech Enhancement characteristics for homebridge-zp.

Bump versions:

  • debug: 4.1.1;
  • moment v2.23.0.

v3.0.1

20 Dec 16:28
Compare
Choose a tag to compare
v3.0.1 Pre-release
Pre-release

Enhancement:

  • Write history file once a day (in addition to on exiting homebridge).

Bug fix:

  • Create a copy of history entry, instead of referring to same memory location.

Bump versions:

  • NodeJS v10.14.2 LTS.

v3.0.0

15 Dec 10:40
Compare
Choose a tag to compare
v3.0.0 Pre-release
Pre-release

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

04 Nov 13:21
Compare
Choose a tag to compare
v2.0.0 Pre-release
Pre-release

Enhancements:

  • Refactor LibService and LibCharacteristic;
  • 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 and LibService.History.Motion. Still todo: merge FakegatoHistory class into LibService.History class and re-use EveHomeKitTypes.

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

v1.0.11

21 Oct 18:09
Compare
Choose a tag to compare
v1.0.11 Pre-release
Pre-release

Bump dependencies:

  • debug v4.1.0;
  • semver v5.6.0.

v1.0.10

12 Oct 10:55
Compare
Choose a tag to compare
v1.0.10 Pre-release
Pre-release

Various enhancements.
Refactor code.

v1.0.8

13 Sep 16:45
Compare
Choose a tag to compare
v1.0.8 Pre-release
Pre-release

Bug fixes:

  • Include ID in accessoryRestored event.
  • Display error message on fatal()

Bump versions:

  • NodeJS v8.12.0 LTS;
  • homebridge v0.4.45;
  • debug v4.0.1;
  • semver v5.5.1.

v1.0.7

19 Aug 11:34
Compare
Choose a tag to compare
v1.0.7 Pre-release
Pre-release

Bump versions:

  • Node v8.11.4 LTS;
  • request v2.88.0.

v1.0.6

28 Jul 10:20
Compare
Choose a tag to compare
v1.0.6 Pre-release
Pre-release

Bump versions:

  • fakegato-history v1.0.6

v1.0.5

29 Jun 13:10
Compare
Choose a tag to compare
v1.0.5 Pre-release
Pre-release

Enhancements:

  • Support shutdown event from homebridge v0.4.44;
  • Move WsMonitor.js to homebridge-hue-utils (as it's specific to deCONZ);
  • Delete dependencies on ws (only used for WsMonitor) and xml2js (not used).

Bump versions:

  • homebridge v0.4.44.