Skip to content

v4.0.5

Choose a tag to compare

@bwp91 bwp91 released this 26 May 10:27
· 36 commits to latest since this release

Changed

  • fix: guard against missing username in HAP advertisement
  • fix: skip splice when failing instance is no longer in pool
  • fix: tear down previous monitor before replacing in monitorCharacteristics
  • fix: clear stale startDiscoveryTimeout in resetInstancePool
  • fix: clear pending resetInstancePoolTimeout before reassigning
  • fix: null-check browser before stopping in resetInstancePool
  • fix: handle null Name characteristic value when deriving serviceName
  • fix: skip unmatched or value-less entries in characteristic refresh response
  • fix: guard getCharacteristic against empty or value-less response
  • fix: skip empty PUT when setCharacteristicsByTypes payload is filtered out
  • fix: remove browser listeners on discovery stop
  • fix: guard against undefined socket in refreshMonitorConnection
  • fix: route HapMonitor errors to logger.error
  • fix: use byte length for Content-Length in evented HTTP client
  • fix: parse full body when Content-Length missing in httpParser
  • fix: surface refreshInstances browser.update errors
  • fix: parse multiple HTTP messages per TCP chunk in monitor
  • chore: add and format eslint rules for test files
  • chore: remove unused tslint.json file
  • fix: harden httpParser request-line regex against ReDoS
  • chore: lint whole repo via "eslint ." and apply autofix formatting
  • chore: dependency updates