8000 v1.0.0 (#1042) · homebridge/HAP-NodeJS@c3591d5 · GitHub
[go: up one dir, main page]

Skip to content

Commit c3591d5

Browse files
v1.0.0 (#1042)
## v1.0.0 (2024-07-10) ### Breaking Changes - **The minimum Node.js version required is now `v18`.** - **Important notice:** Because of the cleanup of the Deprecated code, you will need to migrate you code base. - Remove the long-deprecated init(). - Deprecate Core, BridgedCore, legacy Camera characteristics. (#1058) (@hjdhjd) - For deprecated `Core` and `BridgedCore` see: https://github.com/homebridge/HAP-NodeJS/wiki/Deprecation-of-Core-and-BridgeCore - Legacy code deprecation cleanup. (#1059) (@hjdhjd) - For deprecated `storagePath` switch to `HAPStorage.setCustomStoragePath`, `AudioCodec` switch to `AudioStreamingCodec`, `VideoCodec` switch to `H264CodecParameters`,`StreamAudioParams` switch to `AudioStreamingOptions`, `StreamVideoParams` switch to `VideoStreamingOptions`,`cameraSource` switch to `CameraController`. - Others deprecated code to highlight removed: `useLegacyAdvertiser`, `AccessoryLoader`. - Fix: Naming for Characteristic.ProgramMode has been corrected from `PROGRAM_SCHEDULED_MANUAL_MODE_` to `PROGRAM_SCHEDULED_MANUAL_MODE` ### Fixed - Fix: Build Issues (#1041) (@NorthernMan54) - Fix: Ensure data is only transmitted on open and ready connections. (#1051) (@hjdhjd) - Fix: Ensure we check names using the full UTF-8 character set. (#1052) (@hjdhjd) - Fix: ConfiguredName (#1049) (@donavanbecker) - Fix: Manufacturer looking at checkName but should look at checkValue. (#1053) (@donavanbecker) ### Other Changes - Implement warning messages for invalid characters in names (#1009) (@NorthernMan54) - Mitigate event emitter "memory leak" warnings when a significant number of camera streaming events occur simultaneously (#1037) (@hjdhjd) - AdaptiveLightingController fix & improvement (#1038) (@Shaquu) - Minor fixes to recording logging and one change in logging. (#1040) (@hjdhjd) - Bridged core and core cleanup (#1048) (@Shaquu) - Increase snapshot handler warning timeout to 8000ms. (#1055) (@hjdhjd) - Cleanup and refactor getLocalNetworkInterface and address a potential edge case. (#1056) (@hjdhjd) - Correct log spacing - Updated and fixed `typedoc` config file - Updated dependencies ### Homebridge Dependencies - `@homebridge/ciao` @ `v1.3.0` - `bonjour-hap` @ `v3.8.0`
2 parents 9f3a8d9 + 7242ab5 commit c3591d5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+562
-2134
lines changed

.github/workflows/pr-labeler.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name: PR Labeler
22

33
on:
4-
pull_request: # required for autolabeler
4+
pull_request_target: # required for auto labeler
55
types: [opened, reopened, synchronize]
66
workflow_dispatch:
77

88
jobs:
99
stale:
1010
uses: homebridge/.github/.github/workflows/pr-labeler.yml@latest
1111
secrets:
12-
token: ${{ secrets.GITHUB_TOKEN }}
12+
token: ${{ secrets.GITHUB_TOKEN }}

CHANGELOG.md

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,46 @@
22

33
All notable changes to `hap-nodejs` will be documented in this file. This project tries to adhere to [Semantic Versioning](http://semver.org/).
44

5-
## v0.12.3 (2024-06-22)
5+
## v1.0.0 (2024-07-10)
6+
7+
### Breaking Changes
8+
9+
- **The minimum Node.js version required is now `v18`.**
10+
- **Important notice:** Because of the cleanup of the Deprecated code, you will need to migrate you code base.
11+
- Remove the long-deprecated init().
12+
- Deprecate Core, BridgedCore, legacy Camera characteristics. (#1058) (@hjdhjd)
13+
- For deprecated `Core` and `BridgedCore` see: https://github.com/homebridge/HAP-NodeJS/wiki/Deprecation-of-Core-and-BridgeCore
14+
- Legacy code deprecation cleanup. (#1059) (@hjdhjd)
15+
- For deprecated `storagePath` switch to `HAPStorage.setCustomStoragePath`, `AudioCodec` switch to `AudioStreamingCodec`, `VideoCodec` switch to `H264CodecParameters`,`StreamAudioParams` switch to `AudioStreamingOptions`, `StreamVideoParams` switch to `VideoStreamingOptions`,`cameraSource` switch to `CameraController`.
16+
- Others deprecated code to highlight removed: `useLegacyAdvertiser`, `AccessoryLoader`.
17+
- Fix: Naming for Characteristic.ProgramMode has been corrected from `PROGRAM_SCHEDULED_MANUAL_MODE_` to `PROGRAM_SCHEDULED_MANUAL_MODE`
18+
19+
### Fixed
20+
21+
- Fix: Build Issues (#1041) (@NorthernMan54)
22+
- Fix: Ensure data is only transmitted on open and ready connections. (#1051) (@hjdhjd)
23+
- Fix: Ensure we check names using the full UTF-8 character set. (#1052) (@hjdhjd)
24+
- Fix: ConfiguredName (#1049) (@donavanbecker)
25+
- Fix: Manufacturer looking at checkName but should look at checkValue. (#1053) (@donavanbecker)
626

727
### Other Changes
828

929
- Implement warning messages for invalid characters in names (#1009) (@NorthernMan54)
1030
- Mitigate event emitter "memory leak" warnings when a significant number of camera streaming events occur simultaneously (#1037) (@hjdhjd)
31+
- AdaptiveLightingController fix & improvement (#1038) (@Shaquu)
32+
- Minor fixes to recording logging and one change in logging. (#1040) (@hjdhjd)
33+
- Bridged core and core cleanup (#1048) (@Shaquu)
34+
- Increase snapshot handler warning timeout to 8000ms. (#1055) (@hjdhjd)
35+
- Cleanup and refactor getLocalNetworkInterface and address a potential edge case. (#1056) (@hjdhjd)
36+
- Correct log spacing
37+
- Updated and fixed `typedoc` config file
1138
- Updated dependencies
1239

40+
### Homebridge Dependencies
41+
42+
- `@homebridge/ciao` @ `v1.3.0`
43+
- `bonjour-hap` @ `v3.8.0`
44+
1345
## v0.12.2 (2024-05-31)
1446

1547
### Changed
@@ -47,12 +79,12 @@ All notable changes to `hap-nodejs` will be documented in this file. This projec
4779
### Changed
4880

4981
- Create `CHANGELOG.md` file
50-
- Fix typos + add logo to `README.md`
82+
- Fix: typos + add logo to `README.md`
5183
- Refresh `package-lock.json` (no major changes to dep versions)
5284
- general repo updates
5385
- add alpha releases
5486
- dependency updates
55-
- fix typedoc generation
87+
- Fix: typedoc generation
5688
- update homebridge dependencies
5789
- regenerate docs
5890

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
<a href="https://www.npmjs.com/package/hap-nodejs"><img title="npm version" src="https://badgen.net/npm/v/hap-nodejs" ></a>
99
<a href="https://www.npmjs.com/package/hap-nodejs/v/beta"><img title="npm version beta" src="https://badgen.net/npm/v/hap-nodejs/beta" ></a>
10+
<a href="https://www.npmjs.com/package/hap-nodejs/v/alpha"><img title="npm version apha" src="https://badgen.net/npm/v/hap-nodejs/alpha" ></a><br>
1011
<a href="https://www.npmjs.com/package/hap-nodejs"><img title="npm downloads" src="https://badgen.net/npm/dt/hap-nodejs" ></a>
1112
<a href="https://github.com/homebridge/HAP-NodeJS/actions/workflows/build.yml"><img title="Node Build" src="https://github.com/homebridge/HAP-NodeJS/actions/workflows/build.yml/badge.svg" ></a>
1213
<a href='https://coveralls.io/github/homebridge/HAP-NodeJS'><img src='https://coveralls.io/repos/github/homebridge/HAP-NodeJS/badge.svg' alt='Coverage Status' /></a>

0 commit comments

Comments
 (0)
0