Skip to content

bring latest up to date with release-0.x#1093

Merged
bwp91 merged 21 commits intolatestfrom
bp/next
Jun 8, 2025
Merged

bring latest up to date with release-0.x#1093
bwp91 merged 21 commits intolatestfrom
bp/next

Conversation

@bwp91
Copy link
Contributor

@bwp91 bwp91 commented Jun 8, 2025

Pull Request Overview

This PR synchronizes the latest branch with changes from release‑0.x, updating several modules, tests, and dependency definitions. Key changes include replacing inline ESLint suppression comments with explicit conditional statements, adjusting value rounding logic in Characteristic.ts with new tests for validateUserInput, and updating dependency versions and scripts in package.json.

Show a summary per file
File Description
src/lib/model/ControllerStorage.ts Replaced inline ESLint suppression with an explicit if-check for data storage.
src/lib/definitions/generate-definitions.ts Added type annotations using any with ESLint disable/enable comments for plist reads.
src/lib/camera/RTPStreamManagement.ts Converted inline callback calls into explicit if-checks before invocation.
src/lib/Characteristic.ts Changed numericMax declaration to let and adjusted its recalculation logic in the step adjustment block.
src/lib/Characteristic.spec.ts Added tests to verify correct behavior of validateUserInput with value quantization.
src/lib/Accessory.ts Updated multiple inline expressions to explicit if-checks to improve readability.
src/index.ts Removed an unnecessary ESLint disable comment regarding require usage.
package.json Updated several dependency versions and introduced a new generate-definitions script.
CHANGELOG.md Updated version numbers and improved the changelog formatting.

bwp91 and others added 21 commits June 1, 2025 14:19
…er of HomeKit camera streaming events occur simultaneously. (#1037)
* AdaptiveLightingController on update should provide some data without the need to build it yourself

* Fix TypeError

* Fixed linting and test issues

* Typedoc fixes

* Updated examples

* Eslint fixes

---------

Co-Authored-By: Tadeusz Wyrzykowski <shaquu@icloud.com>
* BridgedCore.ts and Core.ts cleanup (updated deprecation date from year 2022 to 2024).

* Removed not allowed char from Sprinkler accessory example

* Code review remarks

Co-Authored-By: Tadeusz Wyrzykowski <shaquu@icloud.com>
Co-Authored-By: Donavan Becker <beckersmarthome@icloud.com>
…1051)

Co-Authored-By: hjdhjd <hjdhjd@users.noreply.github.com>
Co-Authored-By: hjdhjd <hjdhjd@users.noreply.github.com>
…al edge case. (#1056)

Co-Authored-By: hjdhjd <hjdhjd@users.noreply.github.com>
@github-actions github-actions bot added the latest label Jun 8, 2025
@bwp91 bwp91 self-assigned this Jun 8, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR synchronizes the latest branch with changes from release‑0.x, updating several modules, tests, and dependency definitions. Key changes include replacing inline ESLint suppression comments with explicit conditional statements, adjusting value rounding logic in Characteristic.ts with new tests for validateUserInput, and updating dependency versions and scripts in package.json.

Reviewed Changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/lib/model/ControllerStorage.ts Replaced inline ESLint suppression with an explicit if-check for data storage.
src/lib/definitions/generate-definitions.ts Added type annotations using any with ESLint disable/enable comments for plist reads.
src/lib/camera/RTPStreamManagement.ts Converted inline callback calls into explicit if-checks before invocation.
src/lib/Characteristic.ts Changed numericMax declaration to let and adjusted its recalculation logic in the step adjustment block.
src/lib/Characteristic.spec.ts Added tests to verify correct behavior of validateUserInput with value quantization.
src/lib/Accessory.ts Updated multiple inline expressions to explicit if-checks to improve readability.
src/index.ts Removed an unnecessary ESLint disable comment regarding require usage.
package.json Updated several dependency versions and introduced a new generate-definitions script.
CHANGELOG.md Updated version numbers and improved the changelog formatting.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 15513709017

Details

  • 12 of 19 (63.16%) changed or added relevant lines in 4 files are covered.
  • 2 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.01%) to 64.324%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/lib/model/ControllerStorage.ts 1 2 50.0%
src/lib/Accessory.ts 8 10 80.0%
src/lib/camera/RTPStreamManagement.ts 0 4 0.0%
Files with Coverage Reduction New Missed Lines %
src/lib/camera/RTPStreamManagement.ts 2 45.01%
Totals Coverage Status
Change from base Build 14017380819: -0.01%
Covered Lines: 6242
Relevant Lines: 9306

💛 - Coveralls

@bwp91 bwp91 merged commit f396227 into latest Jun 8, 2025
16 checks passed
@bwp91 bwp91 deleted the bp/next branch June 8, 2025 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants