From 6d6399606c724ceffa1f116da4f142a62dbc3867 Mon Sep 17 00:00:00 2001 From: John Talbot Date: Sat, 12 Feb 2022 14:13:02 -0500 Subject: [PATCH] chore: Packaging for 6.1.2 --- CHANGELOG.md | 4 ++-- RUNNING_CHANGELOG.md | 9 +++++++++ index.js | 5 ++++- package.json | 2 +- 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2706dfe..496d51d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,8 @@ # Homebridges-cmd4 - CMD4 Plugin for Homebridge - Supports ~All Accessory Types and now all Characteristics too!! -#### 6.1.1 (2022-01-31) +#### 6.1.2 (2022-02-12) ##### Bug Fixes -* bug [#125](https://github.com/ztalbot2000/homebridge-cmd4/pull/125) Manufacturer, serialNumber and Model not displaying in Home ([715a2127](https://github.com/ztalbot2000/homebridge-cmd4/commit/715a21275229ffb395b98a2e7c4f9f3d3fd785dd)) +* bug [#127](https://github.com/ztalbot2000/homebridge-cmd4/pull/127") Resolve crash when no internet connection diff --git a/RUNNING_CHANGELOG.md b/RUNNING_CHANGELOG.md index d1d0c1a..792541e 100644 --- a/RUNNING_CHANGELOG.md +++ b/RUNNING_CHANGELOG.md @@ -3,6 +3,7 @@ ## Homebridge UI User. Do not click on any inline links. Homebridge UI does not supprt them. Bug#1098 ## ChangeLog +* **Whats new in 6.1.2** * **Whats new in 6.1.1** * **Whats new in 6.1.0** * **Whats new in 6.0.4** @@ -81,6 +82,14 @@ * **Whats new in 2.1** * **Whats new in 2.0** +## Whats new in 6.1.2 +#### 6.1.2 (2022-02-12) + +##### Bug Fixes + +* bug [#127](https://github.com/ztalbot2000/homebridge-cmd4/pull/127") Resolve crash when no internet connection + + ## Whats new in 6.1.1 #### 6.1.1 (2022-01-31) diff --git a/index.js b/index.js index 8a176b0..1fc15b3 100644 --- a/index.js +++ b/index.js @@ -74,6 +74,9 @@ function checkForUpdates( ) ( async( ) => { + // Fix for #127, constant crash loops when no internet connection + // trying to get latest Cmd4 version. + // thx nano9g try { let lv = await getLatestVersion( ); @@ -82,7 +85,7 @@ function checkForUpdates( ) { console.log( chalk.green( `[UPDATE AVAILABLE] ` ) + `Version ${lv} of ${myPkg.name} is available. Any release notes can be found here: ` + chalk.underline( `${myPkg.changelog}` ) ); } - + } catch( error ) { diff --git a/package.json b/package.json index f24b106..804144e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "homebridge-cmd4", "description": "Exec Plugin for Homebridge supporting all accessorys and characteristics", - "version": "6.1.1", + "version": "6.1.2", "license": "MIT", "author": { "name": "John Talbot"