Releases: Apollon77/hap-controller-node
Releases · Apollon77/hap-controller-node
Release v0.8.1
- (Apollon77) Make HTTP Client options optional
Release v0.8.0
- (Apollon77) Initialize transaction ID randomly for BLE
- (Apollon77) Add experimental flag options.subscriptionsUseSameConnection for HTTP Client to use the same connection for subscriptions and for all other calls to only have one connection from controller to the device.
Release v0.8.0-alpha.0
- (Apollon77) Add experimental flag options.subscriptionsUseSameConnection for HTTP Client to use the same connection for subscriptions and for all other calls to only have one connection from controller to the device.
Release v0.7.4
- (Apollon77) Add Host header to all HTTP calls because some devices seem to require it
- (Apollon77) Check that client was initialized before accessing the connected state
Release v0.7.2
- (Apollon77) Add method "closePersistentConnection" to HTTPClient to allow a close of this connection (e.g. when commands get timeouts or such)
Release v0.7.0
- (Apollon77) Introduce
close
method to tear down all connections that are potentially open - (Apollon77) Use a persistent connection by default to prevent the need to verify the pairing for each call. Can be disabled using a new
options
parameter in constructor. You must callclose()
if you do not need the instance any longer - (Apollon77) Make sure calls on a http connection are queued to not overlap
- (Apollon77) check ble status before start a new scanning process
- (Apollon77) remember that scanning was stopped when stop() is called
- (Apollon77) Fix pot. hanging response if multiple subscriptions are done on same device
- (Apollon77) Deprecate "GattConnection.iPeripheralConnected" in favor of a unified "isConnected" for BLE and HTTP connections
- (Apollon77) Prevent parallel pair verify calls by queuing them
- (Apollon77) Convert all examples to async/await for better readability and add close calls
Release v0.6.1
- (Apollon77) move error class in own file and adjust some typings
Release 0.6.0
see Changelog
Release 0.5.0
v0.5.0 Switch workflows to main branch.
Release 0.4.1
v0.4.1 Enable workflow on Node 16.