Skip to content

Conversation

@dependabot-preview
Copy link
Contributor

Bumps hap-nodejs from 0.4.53 to 0.7.0.

Release notes

Sourced from hap-nodejs's releases.

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 no 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
  • b14321f 0.7.0
  • ed5fd4b Replace node 13.x with 14.x in workflow file
  • 8ce4328 Remove old camera snapshot pic
  • 2e5ee12 Adding new AccessControlManagement API to easly access access level and passw...
  • 01e17a9 Enforce HAP limits of maximum services and characteristics of 100 per accesso...
  • 850e44e Move the security policy into a sparate file
  • 2db3188 Adjust the heading to correctly display it on the npm registry
  • b48403c Reference our wiki page about our release cycle
  • be39a05 Add beta version badge
  • 9c9a405 Adding CONTRIBUTING and updated the README
  • 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)

Bumps [hap-nodejs](https://github.com/KhaosT/HAP-NodeJS) from 0.4.53 to 0.7.0.
- [Release notes](https://github.com/KhaosT/HAP-NodeJS/releases)
- [Commits](KhaosT/HAP-NodeJS@v0.4.53...v0.7.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label May 4, 2020
@dependabot-preview
Copy link
Contributor Author

Superseded by #146.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/hap-nodejs-0.7.0 branch May 11, 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