Skip to content

Commit

Permalink
v1.10.0 (#218)
Browse files Browse the repository at this point in the history
## [Version 1.10.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.10.0) (2022-01-21)

## What's Changed
* Add option `pushOn`, this will allow the `On` commands to be sent along side `Status` change commands.
* Housekeeping and updated dependencies.

**Full Changelog**: v1.9.0...v1.10.0
  • Loading branch information
donavanbecker committed Jan 21, 2022
1 parent d7d5dc9 commit 36f5bc4
Show file tree
Hide file tree
Showing 40 changed files with 2,121 additions and 1,612 deletions.
4 changes: 3 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@
"ignoreEOLComments": true
}
],
"no-trailing-spaces": ["warn"],
"no-trailing-spaces": [
"warn"
],
"lines-between-class-members": [
"warn",
"always",
Expand Down
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Bug-Report
description: Report a Bug to help us improve
title: "Bug: "
title: 'Bug: '
labels: [bug]
assignees: 'donavanbecker'
body:
Expand Down Expand Up @@ -64,7 +64,7 @@ body:
label: Node.js Version
placeholder: v14.17.6
validations:
required: true
required: true
- type: input
attributes:
label: NPM Version
Expand All @@ -88,7 +88,7 @@ body:
label: Homebridge Config UI X Plugin Version
placeholder: v4.41.2
validations:
required: false
required: false
- type: input
attributes:
label: Operating System
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Feature Request
description: Suggest an idea for this project
title: "Feature Request: "
title: 'Feature Request: '
labels: [enhancement]
assignees: 'donavanbecker'
body:
Expand All @@ -15,7 +15,7 @@ body:
- type: input
attributes:
label: Problem
placeholder: A clear and concise description of what the problem is. Ex. I am always frustrated when [...]
placeholder: A clear and concise description of what the problem is. Ex. I am always frustrated when [...]
validations:
required: false
- type: input
Expand Down
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/support-request.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Support Request
description: Need help?
title: "Support Request: "
title: 'Support Request: '
labels: [question]
assignees: 'donavanbecker'
body:
Expand Down Expand Up @@ -52,7 +52,7 @@ body:
label: Node.js Version
placeholder: v14.17.6
validations:
required: true
required: true
- type: input
attributes:
label: NPM Version
Expand All @@ -76,7 +76,7 @@ body:
label: Homebridge Config UI X Plugin Version
placeholder: v4.41.2
validations:
required: false
required: false
- type: input
attributes:
label: Operating System
Expand Down
27 changes: 0 additions & 27 deletions .github/PULL_REQUEST_TEMPLATE/pull_requests.md

This file was deleted.

2 changes: 1 addition & 1 deletion .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ enhancement:

# Add 'workflow' to any changes within 'workflow' folder or any subfolders
workflow:
- .github/workflows/*
- .github/workflows/*
58 changes: 29 additions & 29 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"
name: 'CodeQL'

on:
push:
branches: [ beta ]
branches: [beta]
pull_request:
# The branches below must be a subset of the branches above
branches: [ beta ]
branches: [beta]
schedule:
- cron: '39 20 * * 5'

Expand All @@ -32,40 +32,40 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
language: ['javascript']
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed

steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Checkout repository
uses: actions/checkout@v2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release
#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
2 changes: 1 addition & 1 deletion .github/workflows/nodejs-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ jobs:
- run: npm ci
- run: node .github/workflows/prerelease-beta.js
- run: npm --no-git-tag-version version prerelease --preid=beta
- run: npm publish --tag=beta
- run: npm publish --tag=beta
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
2 changes: 1 addition & 1 deletion .github/workflows/prerelease-beta.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ const publishTag = semver.gt(package.version, latestNpmTag, {

// save the package.json
package.version = publishTag;
fs.writeFileSync('package.json', JSON.stringify(package, null, 4));
fs.writeFileSync('package.json', JSON.stringify(package, null, 4));
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ jobs:
exempt-pr-labels: 'awaiting-approval,work-in-progress'
remove-stale-when-updated: true
close-issue-message: 'This issue has been automatically closed because it has not had recent activity. Thank you for your contributions.'
close-pr-message: 'This pull request has been automatically closed because it has not had recent activity. Thank you for your contributions.'
close-pr-message: 'This pull request has been automatically closed because it has not had recent activity. Thank you for your contributions.'
9 changes: 9 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"semi": true,
"singleQuote": true,
"bracketSameLine": true,
"printWidth": 150,
"tabWidth": 2,
"trailingComma": "all",
"useTabs": false
}
14 changes: 13 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
{
"files.eol": "\n",
"prettier.requireConfig": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"typescript.format.enable": true,
"editor.rulers": [
150
],
Expand All @@ -11,5 +20,8 @@
{
"mode": "auto"
}
]
],
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

All notable changes to this project will be documented in this file. This project uses [Semantic Versioning](https://semver.org/)

## [Version 1.10.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.10.0) (2022-01-21)

## What's Changed
* Add option `pushOn`, this will allow the `On` commands to be sent along side `Status` change commands.
* Housekeeping and updated dependencies.

**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.9.0...v1.10.0

## [Version 1.9.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.9.0) (2022-01-20)

## What's Changed
Expand Down
Loading

0 comments on commit 36f5bc4

Please sign in to comment.