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

Bump hap-nodejs from 0.4.53 to 0.9.3 #185

Closed

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps hap-nodejs from 0.4.53 to 0.9.3.

Release notes

Sourced from hap-nodejs's releases.

v0.9.3 (2021-03-09)

Bug Fixes

  • #890 - Fix regression in the validateClientSuppliedValue method (renamed from validClientSuppliedValue) so it now transforms values to their corresponding types as expected (eg. transforms false to 0 for a UINT8 data type).
    • Background: Requests made via Siri sometimes have unexpected values for the data type, eg. Siri sends the request with true while the Home app sends the same request with 1 - for a UINT8 data type. This change normalises the value before it is sent to the characteristic setter method.
  • #890 - When a number type is thrown or returned as a callback error in a characteristic setter or getter, HAP-NodeJS will now verify it's a valid hap status number, if not it will transform it into HAPStatus.SERVICE_COMMUNICATION_FAILURE.

Other Changes

  • #890 - Check for non-finite numbers such as Infinity and NaN in client/user input validation methods and Characteristic.setProps().
  • #890 - Added the DEBUG_MESSAGE level to CharacteristicWarningType.
  • #890 - Warnings about invalid write responses from a SET handler are now debug level characteristic warnings.

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.

... (truncated)

Commits
  • cef9ed1 0.9.3
  • 278866b Fix Validate Client Supplied Values + float min/max (#890)
  • 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)
  • 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)

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

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Mar 15, 2021
@dependabot-preview
Copy link
Contributor Author

Superseded by #187.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/hap-nodejs-0.9.3 branch March 22, 2021 05:41
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