Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps-dev): bump hap-nodejs from 0.7.3 to 0.9.2 #223

Closed

Conversation

dependabot-preview[bot]
Copy link

@dependabot-preview dependabot-preview bot commented Mar 1, 2021

Bumps hap-nodejs from 0.7.3 to 0.9.2.

Release notes

Sourced from hap-nodejs's releases.

v0.9.2 (2020-02-23)

Bug Fixes

  • #884 - Characteristic user input validator will now endeavour to always correct the provided value rather than throwing an error.
    • A warning will still be shown for invalid values.
  • #884 - Characteristic.setProps will now validate the minValue and maxValue do not exceed the minimum or maximum value allowed by the number format, and automatically correct them if required.
    • A warning will be displayed if invalid values are provided.
  • #884 - The Current Temperature characteristic now has a default minimum value of -273.15 (absolute zero) instead of 0.
  • #833 - All MulticastOptions properties are now correctly marked as optional.

v0.9.1 (2020-02-17)

Bug Fixes

  • Fixed an issue where the SupportedAudioStreamingConfiguration characteristic of a cameras RTPStreamManagement service would always encode that comfortNoise is supported, leading to audio being broken. HomeKit seems to take some time to read the updated audio configuration. A repair might be required.

v0.9.0 (2021-02-17)

Notable changes

  • Added support for Adaptive Lighting via the AdaptiveLightingController.
  • Added support for Promise based read and set handler: Configured via Characteristic.onGet and Characteristic.onSet.
  • Introduced the HAPStatusError for an easier way to return custom defined HAPStatus codes. Though be aware, that only a few HAPStatus codes are semantically correct for read and write handlers. Returning unexpected status codes might result in erroneous behavior. Refer to the HAP specification!
  • Introduced new PublishInfo options:
    • The advertiser property can be used to customize the MDNSAdvertiser library used (while bonjour-hap is back as the default).
    • The bind option allows to uniformly specify binding options, for the HAP socket as well as for the advertised mdns address records.
    • The addIdentifyingMaterial can be used to turn off the automatically added postfix (which is used to add identifying material based on the username).
  • Improved sanity checking for characteristic values. Characteristic values now run through a more extensive check trying to highlight common mistakes made (e.g. rendering the instance unresponsive). Watch out for warnings printed to the log indicating such issues. A brief Wiki article can be found here, though written within the context of homebridge.
  • Improved sanity checking when setting CharacteristicsProps using Characteristic.setProps. Again this will highlight coming mistakes, leading to HomeKit rejecting the accessory in most cases
  • Read and Write Handlers are now imposed with a timeout, printing a warning for handlers taking longer than 3 seconds and leading to a timeout being returned to HomeKit after 10 seconds. This change aims to make you aware of certain characteristics slowing down the response time of your accessory. In any case you should always aim to return immediately from read and write handlers.
  • Added Accessory.removeController to remove a given Controller instance (like a AdaptiveLightingController, CameraController or a RemoteController).
  • Request made to /accessories (used by HomeKit to read the accessory database), will now contact the read/GET handler to provide proper default values (as /accessories is typically the first call made to a freshly booted instance).
  • Added Characteristic.validValuesIterator to retrieve an iterator of valid values for a given characteristic independently of its way for representing valid values (e.g. validValues, validValueRanges, minValue/maxValue). You code should not assume that a given type of representation is present for a characteristic, thus you should migrate using this iterator when checking valid values, in order to maintain compatibility with future releases.
  • Added support for Characteristics with Additional Authorization, by using Characteristic.setupAdditionalAuthorization. This can only be utilized when used with a custom made iOS App.
  • Added preliminary typedoc support.
  • The old ./gen folder containing Service and Characteristics definitions was replaced with a new way of generating those definitions, making it again easier to incorporate the latest set of Apple defined Service and Characteristics. Those new definition files are now placed in the ./definitions folder, namely CharacteristicDefinitions.ts and ServiceDefinitions.ts.
  • Incorporate latest additions to the Service and Characteristics definitions of iOS 14.x releases.

Bug Fixes

  • Improvements and fixes regarding the conformance to the HAP specification:
    • Requesting metadata on GET /characteristics are now properly returned.
    • Event Notifications are now properly accumulated to a certain extent.
    • Removed usage of TCP Keepalive, as it drains the power of connected mobile devices. Instead, similar to the HomeKitADK, a periodic cleanup of connections is done once a certain amount is reached.
    • The internal http server is now limited to listen on the loopback interface only.
    • Response Encoding was optimized: Fixing rounding with a specified minStep value. Secondly bool formats are now encoded as 1 and 0 to optimize transmission size.
  • The instanceOf operator is now somewhat supported for deserialized characteristics and services. However it still fails to work on characteristics and services restored from preexisting caches. Thus it is still not recommended to make use of the instanceOf operator, instead please fall back to using a UUID based check.

... (truncated)

Commits
  • 410f400 0.9.2
  • 63c0004 pre 0.9.2
  • d0861d5 set characteristic warnings to warning level instead of error when the value ...
  • 3dd1ad0 unit tests for FLOAT precision and NaN handling
  • e5614c8 merge changes from master
  • 6fda875 Correctly state beta version
  • daad8d0 Make MulticastOptions properties all optional #883
  • fddb0af Update validateUserInput to fix invalid values in more scenarios (#884)
  • 1c143f6 0.9.1
  • f17a632 Prepare 0.9.1 release
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by supereg, a new releaser for hap-nodejs since your current version.


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 Mar 1, 2021
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/hap-nodejs-0.9.2 branch from 3c32595 to 4be217a Compare March 2, 2021 20:46
@dependabot-preview
Copy link
Author

Superseded by #235.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/hap-nodejs-0.9.2 branch May 1, 2021 13:20
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.

0 participants