8000 v1.0.0 by donavanbecker · Pull Request #1042 · homebridge/HAP-NodeJS · GitHub
[go: up one dir, main page]

Skip to content

v1.0.0 #1042

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

Merged
merged 30 commits into from
Jul 11, 2024
Merged

v1.0.0 #1042

Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
570abdc
v0.12.3
donavanbecker Jun 19, 2024
7f23d9a
Merge branch 'latest' into beta-0.12.3
donavanbecker Jun 24, 2024
e69e417
v0.12.3
donavanbecker Jun 24, 2024
ddd6de7
update bonjour-hap dependency
donavanbecker Jun 24, 2024
8000
e74efd9
Updated and fixed `typedoc` config file (#1043)
bwp91 Jun 24, 2024
4a8cea0
Merge branch 'latest' into beta-0.12.3
donavanbecker Jun 24, 2024
1717764
Build issues - https://github.com/homebridge/HAP-NodeJS/actions/runs/…
NorthernMan54 Jun 24, 2024
d6618ad
fixes
donavanbecker Jun 24, 2024
55bfbfa
AdaptiveLightingController fix & improvement (#1038)
Shaquu Jun 25, 2024
4a425fc
bonjour-hap: v3.8.0
donavanbecker Jun 27, 2024
1fc24f9
Bridged core and core cleanup (#1048)
Shaquu Jun 28, 2024
7089876
correct log spacing
donavanbecker Jun 26, 2024
380b879
fix: ensure we check names using the full UTF-8 character set. (#1052)
hjdhjd Jul 4, 2024
7982526
Fix ConfiguredName (#1049)
donavanbecker Jul 4, 2024
11b83d4
fix: Ensure data is only transmitted on open and ready connections. (…
hjdhjd Jul 4, 2024
21faa99
Update CHANGELOG.md
donavanbecker Jul 4, 2024
315111c
Fix Manufacturer looking at checkName but should look at checkValue (…
donavanbecker Jul 4, 2024
7576126
fix: Update characteristic naming convention warning message text and…
hjdhjd Jul 4, 2024
a168bf7
update beta ciao
donavanbecker Jul 6, 2024
1df8995
Merge branch 'latest' into beta-0.12.3
donavanbecker Jul 6, 2024
e569fdc
Update CHANGELOG.md
donavanbecker Jul 6, 2024
a311781
Cleanup and refactor getLocalNetworkInterface and address a potential…
hjdhjd Jul 8, 2024
6312adc
@homebridge/ciao: 1.3.0
donavanbecker Jul 9, 2024
f672861
Linting. (#1057)
hjdhjd Jul 9, 2024
d6ce9b8
Merge branch 'latest' into beta-0.12.3
bwp91 Jul 9, 2024
e20beba
Deprecate Core, BridgedCore, legacy Camera characteristics. (#1058)
hjdhjd Jul 10, 2024
ac79886
Legacy code deprecation cleanup (#1059)
hjdhjd Jul 10, 2024
e57bed2
v1.0.0
donavanbecker Jul 11, 2024
48f93ef
Merge branch 'latest' into beta-0.12.3
donavanbecker Jul 11, 2024
7242ab5
Update release date
donavanbecker Jul 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Prev Previous commit
Next Next commit
correct log spacing
Update README.md
  • Loading branch information
donavanbecker committed Jun 28, 2024
commit 7089876f58e3e861aef82f99c4d0c2e17077efef
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

<a href="https://www.npmjs.com/package/hap-nodejs"><img title="npm version" src="https://badgen.net/npm/v/hap-nodejs" ></a>
<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>
<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>
<a href="https://www.npmjs.com/package/hap-nodejs"><img title="npm downloads" src="https://badgen.net/npm/dt/hap-nodejs" ></a>
<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>
<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>
Expand Down
12 changes: 6 additions & 6 deletions src/lib/Characteristic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2941,12 +2941,12 @@ export class Characteristic extends EventEmitter {

if (this.props.validValueRanges && this.props.validValueRanges.length === 2) {
if (value < this.props.validValueRanges[0]) {
this.characteristicWarning(`characteristic was supplied illegal value: number ${value} not contained in valid value range of \
${this.props.validValueRanges}, supplying illegal values will throw errors in the future`, warningType);
this.characteristicWarning(`characteristic was supplied illegal value: number ${value} not contained in valid value range of `
+ `${this.props.validValueRanges}, supplying illegal values will throw errors in the future`, warningType);
value = this.props.validValueRanges[0];
} else if (value > this.props.validValueRanges[1]) {
this.characteristicWarning(`characteristic was supplied illegal value: number ${value} not contained in valid value range of \
${this.props.validValueRanges}, supplying illegal values will throw errors in the future`, warningType);
this.characteristicWarning(`characteristic was supplied illegal value: number ${value} not contained in valid value range of `
+ `${this.props.validValueRanges}, supplying illegal values will throw errors in the future`, warningType);
value = this.props.validValueRanges[1];
}
}
Expand All @@ -2966,8 +2966,8 @@ export class Characteristic extends EventEmitter {

// mirrors the case value = null at the beginning
if (value.length <= 1 && (this.UUID === Characteristic.Model.UUID || this.UUID === Characteristic.SerialNumber.UUID)) {
this.characteristicWarning(`[${this.displayName}] characteristic must have a length of more than 1 character otherwise \
HomeKit will reject this accessory, ignoring new value`, warningType);
this.characteristicWarning(`[${this.displayName}] characteristic must have a length of more than 1 character otherwise`
+ ` HomeKit will reject this accessory, ignoring new value ${warningType}`);
return this.value; // just return the current value
}

Expand Down
4 changes: 2 additions & 2 deletions src/lib/util/eventedhttp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -883,8 +883,8 @@ export class HAPConnection extends EventEmitter {
}
}

console.log(`WARNING couldn't map socket coming from remote address ${socket.remoteAddress}:${socket.remotePort} \
at local address ${socket.localAddress} to a interface!`);
console.log(`WARNING couldn't map socket coming from remote address ${socket.remoteAddress}:${socket.remotePort} `
+ `at local address ${socket.localAddress} to a interface!`);

return Object.keys(interfaces)[1]; // just use the first interface after the loopback interface as fallback
}
Expand Down
4 changes: 2 additions & 2 deletions src/lib/util/tlv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ export function decodeWithLists(buffer: Buffer): Record<number, Buffer | Buffer[
result[type] = Buffer.concat([existing, data]);
}
} else {
throw new Error(`Found duplicated tlv entry with type ${type} and length ${length} \
(lastItemWasDelimiter: ${lastItemWasDelimiter}, lastType: ${lastType}, lastLength: ${lastLength})`);
throw new Error(`Found duplicated tlv entry with type ${type} and length ${length} `
+ `(lastItemWasDelimiter: ${lastItemWasDelimiter}, lastType: ${lastType}, lastLength: ${lastLength})`);
}
} else {
result[type] = data;
Expand Down
Loading
0