Skip to content

Conversation

@dependabot-preview
Copy link
Contributor

Bumps hap-nodejs from 0.4.53 to 0.7.4.

Release notes

Sourced from hap-nodejs's releases.

v0.7.4

Bug Fixes

  • The Microphone and Speaker services are now properly referenced to the CameraController (or removed/added when the options changed) when the Accessory is deserialized from disk (#828)
  • Duplicate definition of the Version characteristic was removed (#822)

v0.7.3

Bug Fixes

  • A regression introduced in 0.7.0 was fixed, which caused Characteristic.setProps throwing an error when minValue was set equal to maxValue

v0.7.2

Other

  • The typescript compiler was configured to output a target of ES5 again. Caused compatibilities when subclassing for example the Characteristic class (#821)

v0.7.1

Other

  • TypeScript type definition for the Characteristic event handler now allow the use of the string value such as get or set instead of forcing the use of the CharacteristicEventTypes enum.

v0.7.0

Core.ts and BridgeCore.ts got deprecated in this release and are schedule to be remove by the end of 2020. Have a look at the wiki which explains this further and provides some help to create a project using HAP-NodeJS as a library.

New API

  • AccessControlManagement was introduced to easily handle the AccessControl service

Improvements

  • Moved to nodes crypto library (supported by the underlying openssl library) for chacha20-poly1305 encryption and decryption. This gives a 10x performance boost when doing crypto. Requires a node version of >= 10.17.0
  • Moved to the futoin-hkdf library for doing HKDF. Its more efficient buffer handling gives a performance boost of about 30-40%
  • To prevent brute force attacks, HAP-NodeJS will now move into an UNPAIRABLE state after 100 unsuccessful pair attempts rejecting any further attempts to pair. A restart will reset this to accept pairings again. We might improve on this in the future, that it will require some "reset" method, to clear the state.
  • HAP enforces a strict limit of a maximum of 100 services per accessory and a maximum of 100 characteristics per service. HAP-NodeJS enforces this limits now to prevent accessory showing "No response" in the Home App (#814)
  • All Debuggers are now prefixed with the library name HAP-NodeJS: to be conform with the conventions made by the debug library (#126)
  • Mitigated a Denial of Service when setting minValue higher than maxValue (#690)

Other

  • Added CONTRIBUTING.md and SECURITY.d and restructured the README.md a bit.
  • Removed legacy code related for the old Relay server
  • The wiki was rewritten (and still is) with the ongoing beta of this release.

v0.6.3

Note: All enum types where move to const enum types to improve how homebridge plugins can import those. You may need to recompile your Typescript code if you apply this update.

Commits
  • 3d1a073 0.7.4
  • 129f4de Bump jest to 26.x; bump typescript to 3.9.x
  • 334f3e5 Properly initialize microphone and speaker services when CameraController is ...
  • f3f0325 Remove duplicated version characteristic (#822)
  • a9d30b0 0.7.3
  • d03c628 Fixed: characteristic propreties wouldn't allow the minValue to be equal to t...
  • c2e283e 0.7.2
  • de5ff86 Revert back to ES5 for now (#821)
  • 9599585 0.7.1
  • 0dc7c6e allow use of string value for CharacteristicEventTypes
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jun 22, 2020
@dependabot-preview
Copy link
Contributor Author

Superseded by #155.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/hap-nodejs-0.7.4 branch June 29, 2020 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant