Skip to content

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps hap-nodejs from 0.4.53 to 0.9.4.

Release notes

Sourced from hap-nodejs's releases.

v0.9.4 (2021-03-16)

Bug Fixes

  • Fixed a characteristic warning emitted by the SelectedRTPStreamConfiguration characteristic of a CameraController.
  • TLV8 and DATA characteristic won't emit a characteristic warning anymore when null is supplied as a value.

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.

... (truncated)

Commits
  • c6f1622 0.9.4
  • b0d816f Regenerate docs with latest typedoc version
  • 95a2490 Upgrade dev dependencies
  • 2b4a255 Adding regression tests for passing null to tlv8 and data characteristics
  • d686b20 Supress some "simplfy" warnings
  • 4f8c8c5 Allow null as a value for formats where null is the default value (e.g. tlv8,...
  • eb37489 Refactor how default values are initialized on CameraRTPStreamManagement service
  • def8b2e Prepare 0.9.4 beta version
  • cef9ed1 0.9.3
  • 278866b Fix Validate Client Supplied Values + float min/max (#890)
  • 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 22, 2021
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