Skip to content

Commit

Permalink
v4.0.0 (#1476)
Browse files Browse the repository at this point in the history
## [4.0.0](https://github.com/homebridge-plugins/homebridge-camera-ffmpeg/releases/tag/v4.0.0) (2024-01-26)

### What's Changes
#### Breaking Changes
- *Alpha*: Added support for HKSV
- Now Supporting Node v20 ot v22
- In this version we force all cameras to be `unbridged`
  - If you do not unbridge your cameras before upgrading your cameras, you will loose functionality.
  - To unbridge in previous version go into the camera config and check the ubridged checkbox.
  - the unbridge config has been removed in this version since all cameras are unbridged.

#### Other Changes
- Move plugin over to scoped plugin

**Full Changelog**: v3.1.4...v4.0.0
  • Loading branch information
donavanbecker authored Jan 27, 2025
1 parent ed723d5 commit 0dcde0d
Show file tree
Hide file tree
Showing 40 changed files with 14,241 additions and 4,964 deletions.
39 changes: 0 additions & 39 deletions .eslintrc.js

This file was deleted.

21 changes: 12 additions & 9 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,15 @@ assignees: ''
<!-- You must use the issue template below -->

**Describe The Problem:**

<!-- A clear and concise description of what the bug is. -->

**To Reproduce:**

<!-- Steps to reproduce the behavior. -->

**Logs:**

<!-- Bug reports that do not contain logs may be closed without warning. -->

```
Expand All @@ -24,22 +27,22 @@ Remove any sensitive information.

**Homebridge Config:**

```json
\```json
Show your homebridge config.json here.
Remove any sensitive information, such as your homebridge-gsh / google-smarthome token.
```
\```

**Screenshots:**

<!-- If applicable, add screenshots to help explain your problem. -->

**Environment:**

* **Node.js Version**: <!-- node -v -->
* **NPM Version**: <!-- npm -v -->
* **Homebridge Version**: <!-- homebridge -V -->
* **Homebridge Camera FFmpeg Version**:
* **Homebridge Config UI X Plugin Version**:
* **Operating System**: <!-- Raspbian / Ubuntu / Debian / Windows / macOS / Docker -->

- **Node.js Version**: <!-- node -v -->
- **NPM Version**: <!-- npm -v -->
- **Homebridge Version**: <!-- homebridge -V -->
- **Homebridge Camera FFmpeg Version**:
- **Homebridge Config UI X Plugin Version**:
- **Operating System**: <!-- Raspbian / Ubuntu / Debian / Windows / macOS / Docker -->

<!-- Click the "Preview" tab before you submit to ensure the formatting is correct. -->
5 changes: 4 additions & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,19 @@ assignees: ''
---

**Is your feature request related to a problem? Please describe:**

<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -->

**Describe the solution you'd like:**

<!-- A clear and concise description of what you want to happen. -->

**Describe alternatives you've considered:**

<!-- A clear and concise description of any alternative solutions or features you've considered. -->

**Additional context:**
<!-- Add any other context or screenshots about the feature request here. -->

<!-- Add any other context or screenshots about the feature request here. -->

<!-- Click the "Preview" tab before you submit to ensure the formatting is correct. -->
6 changes: 4 additions & 2 deletions .github/ISSUE_TEMPLATE/tested_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,18 @@ assignees: ''
---

**Manufacturer/Model:**

<!-- Which camera is this config for? -->

**Homebridge Config:**

```json
\```json
Show your homebridge config.json here.
Remove any sensitive information, such as your homebridge-gsh / google-smarthome token.
```
\```

**Additional Information:**

<!-- If there is any other information that would be helpful, share it here. -->

<!-- Click the "Preview" tab before you submit to ensure the formatting is correct. -->
55 changes: 55 additions & 0 deletions .github/workflows/alpha-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Alpha Release

on:
push:
branches: [alpha-*.*.*, alpha]
workflow_dispatch:

jobs:
build_and_test:
uses: homebridge/.github/.github/workflows/nodejs-build-and-test.yml@latest
with:
enable_coverage: false
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
lint:
needs: build_and_test
uses: homebridge/.github/.github/workflows/eslint.yml@latest

publish:
needs: lint
if: ${{ github.repository == 'homebridge-plugins/homebridge-camera-ffmpeg' }}
permissions:
id-token: write
uses: homebridge/.github/.github/workflows/npm-publish-esm.yml@latest
with:
tag: 'alpha'
dynamically_adjust_version: true
npm_version_command: 'pre'
pre_id: 'alpha'
secrets:
npm_auth_token: ${{ secrets.npm_token }}

pre-release:
needs: publish
if: ${{ github.repository == 'homebridge-plugins/homebridge-camera-ffmpeg' }}
uses: homebridge/.github/.github/workflows/pre-release.yml@latest
with:
npm_version: ${{ needs.publish.outputs.NPM_VERSION }}
body: |
**Alpha Release**
**Version**: v${{ needs.publish.outputs.NPM_VERSION }}
[How To Test Alpha Releases](https://github.com/homebridge-plugins/homebridge-camera-ffmpeg/wiki/Alpha-Version)
github-releases-to-discord:
name: Discord Webhooks
needs: [build_and_test,publish]
if: ${{ github.repository == 'homebridge-plugins/homebridge-camera-ffmpeg' }}
uses: homebridge/.github/.github/workflows/discord-webhooks.yml@latest
with:
title: "Homebridge Camera FFmpeg Alpha Release"
description: |
Version `v${{ needs.publish.outputs.NPM_VERSION }}`
url: "https://github.com/homebridge-plugins/homebridge-camera-ffmpeg/releases/tag/v${{ needs.publish.outputs.NPM_VERSION }}"
secrets:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_URL_BETA || secrets.DISCORD_WEBHOOK_URL_LATEST }}
55 changes: 55 additions & 0 deletions .github/workflows/beta-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Beta Release

on:
push:
branches: [beta-*.*.*, beta]
workflow_dispatch:

jobs:
build_and_test:
uses: homebridge/.github/.github/workflows/nodejs-build-and-test.yml@latest
with:
enable_coverage: false
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
lint:
needs: build_and_test
uses: homebridge/.github/.github/workflows/eslint.yml@latest

publish:
needs: lint
if: ${{ github.repository == 'homebridge-plugins/homebridge-camera-ffmpeg' }}
permissions:
id-token: write
uses: homebridge/.github/.github/workflows/npm-publish-esm.yml@latest
with:
tag: 'beta'
dynamically_adjust_version: true
npm_version_command: 'pre'
pre_id: 'beta'
secrets:
npm_auth_token: ${{ secrets.npm_token }}

pre-release:
needs: publish
if: ${{ github.repository == 'homebridge-plugins/homebridge-camera-ffmpeg' }}
uses: homebridge/.github/.github/workflows/pre-release.yml@latest
with:
npm_version: ${{ needs.publish.outputs.NPM_VERSION }}
body: |
**Beta Release**
**Version**: v${{ needs.publish.outputs.NPM_VERSION }}
[How To Test Beta Releases](https://github.com/homebridge-plugins/homebridge-camera-ffmpeg/wiki/Beta-Version)
github-releases-to-discord:
name: Discord Webhooks
needs: [build_and_test,publish]
if: ${{ github.repository == 'homebridge-plugins/homebridge-camera-ffmpeg' }}
uses: homebridge/.github/.github/workflows/discord-webhooks.yml@latest
with:
title: "Homebridge Camera FFmpeg Beta Release"
description: |
Version `v${{ needs.publish.outputs.NPM_VERSION }}`
url: "https://github.com/homebridge-plugins/homebridge-camera-ffmpeg/releases/tag/v${{ needs.publish.outputs.NPM_VERSION }}"
secrets:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_URL_BETA || secrets.DISCORD_WEBHOOK_URL_LATEST }}
18 changes: 18 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Node Build

on:
push:
branches: [latest]
pull_request:
workflow_dispatch:

jobs:
build_and_test:
uses: homebridge/.github/.github/workflows/nodejs-build-and-test.yml@latest
with:
enable_coverage: false
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
lint:
needs: build_and_test
uses: homebridge/.github/.github/workflows/eslint.yml@latest
11 changes: 11 additions & 0 deletions .github/workflows/changerelease.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Changelog to Release

on:
release:
types: [published]

jobs:
changerelease:
uses: homebridge/.github/.github/workflows/change-release.yml@latest
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
67 changes: 0 additions & 67 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

9 changes: 9 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Labeler

on: [pull_request]

jobs:
labeler:
uses: homebridge/.github/.github/workflows/labeler.yml@latest
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
Loading

0 comments on commit 0dcde0d

Please sign in to comment.