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

Removing deprecated service and characteristic definitions #989

Merged
merged 1 commit into from
Nov 28, 2022

Conversation

Supereg
Copy link
Member

@Supereg Supereg commented Nov 28, 2022

♻️ Current situation

The current implementation exposes service and characteristic definitions which are marked deprecated for a long time now.

💡 Proposed solution

This PR removes the deprecated service and characteristic definitions.
The services serve no function anymore because their functionality got removed or was never implemented on the HomeKit client side.

⚙️ Release Notes

  • This PR removes deprecated service and characteristic definitions. The following services (and the corresponding characteristics) got removed BridgeConfiguration, BridgingState, CloudRelay (or Relay), TimeInformation and Tunnel. If you rely on the services (which you probably won't, as there technical functionality got removed on the HomeKit client side) you may copy those definitions from an older release of hap-nodejs.

➕ Additional Information

Testing

Removed the corresponding test cases.

Reviewer Nudging

--

@github-actions github-actions bot added the chore label Nov 28, 2022
@coveralls
Copy link

Pull Request Test Coverage Report for Build 3562421843

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.3%) to 64.708%

Totals Coverage Status
Change from base Build 3562375861: -0.3%
Covered Lines: 7245
Relevant Lines: 10438

💛 - Coveralls

@Supereg Supereg marked this pull request as ready for review November 28, 2022 08:21
@Supereg Supereg merged commit 264cabb into beta-1.0.0 Nov 28, 2022
@Supereg Supereg deleted the chore/remove-deprecated-definitions branch November 28, 2022 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants