Skip to content

Commit

Permalink
v2.9.1
Browse files Browse the repository at this point in the history
## [Version 2.9.1](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.9.1) (2023-10-14)

## What's Changed

- Fix issue with `FirmwareRevision` causing Homebridge Crash. Fixes [#839](#839), [#832](#832), [#829](#829), & [#828](#828)
- Housekeeping and updated dependencies.

**Full Changelog**: <v2.9.0....v2.9.1>
  • Loading branch information
donavanbecker committed Oct 15, 2023
1 parent 1c2c64b commit 777cd54
Show file tree
Hide file tree
Showing 35 changed files with 757 additions and 449 deletions.
61 changes: 47 additions & 14 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,35 +9,68 @@
"ecmaVersion": 2021,
"sourceType": "module"
},
"ignorePatterns": ["dist", "server"],
"ignorePatterns": [
"dist",
"server"
],
"rules": {
"quotes": ["warn", "single"],
"quotes": [
"warn",
"single"
],
"indent": [
"warn",
2,
{
"SwitchCase": 1
}
],
"linebreak-style": ["warn", "unix"],
"semi": ["warn", "always"],
"comma-dangle": ["warn", "always-multiline"],
"linebreak-style": [
"warn",
"unix"
],
"semi": [
"warn",
"always"
],
"comma-dangle": [
"warn",
"always-multiline"
],
"dot-notation": "off",
"eqeqeq": "warn",
"curly": ["warn", "all"],
"brace-style": ["warn"],
"prefer-arrow-callback": ["warn"],
"max-len": ["warn", 150],
"no-console": ["warn"], // use the provided Homebridge log method instead
"no-non-null-assertion": ["off"],
"comma-spacing": ["error"],
"curly": [
"warn",
"all"
],
"brace-style": [
"warn"
],
"prefer-arrow-callback": [
"warn"
],
"max-len": [
"warn",
150
],
"no-console": [
"warn"
], // use the provided Homebridge log method instead
"no-non-null-assertion": [
"off"
],
"comma-spacing": [
"error"
],
"no-multi-spaces": [
"warn",
{
"ignoreEOLComments": true
}
],
"no-trailing-spaces": ["warn"],
"no-trailing-spaces": [
"warn"
],
"lines-between-class-members": [
"warn",
"always",
Expand All @@ -50,4 +83,4 @@
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-explicit-any": "off"
}
}
}
9 changes: 0 additions & 9 deletions .prettierrc

This file was deleted.

8 changes: 7 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@
}
],
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
"editor.defaultFormatter": "vscode.json-language-features"
},
"[markdown]": {
"editor.defaultFormatter": "DavidAnson.vscode-markdownlint"
},
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
}
}
149 changes: 79 additions & 70 deletions CHANGELOG.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ currently being supported with security updates.

| Version | Supported |
| ------- | ------------------ |
| 1.9.x | :white_check_mark: |
| < 1.8.2 | :x: |
| 2.9.1 | :white_check_mark: |
| < 2.9.0 | :x: |

## Reporting a Vulnerability

Expand Down

0 comments on commit 777cd54

Please sign in to comment.