From a679e1affb351c68b09689e2fe4240ae5ff2d032 Mon Sep 17 00:00:00 2001 From: DutchmanNL Date: Tue, 31 Aug 2021 11:59:30 +0200 Subject: [PATCH] chore: release v0.6.0 System load reduced All warnings related to JS-Controller 3.x checks solved Ensure legacy support of WLED FW < 0.12 (fallback to http-API instead of websocket) Communication by websocket implemented, this feature allows live data updates (instead of interval polling). Requires WLED firmware >= 12 --- README.md | 9 +++------ io-package.json | 48 ++++++++++++----------------------------------- package-lock.json | 20 ++++++++++---------- package.json | 8 ++++---- 4 files changed, 29 insertions(+), 56 deletions(-) diff --git a/README.md b/README.md index 0fcd84b..b957cc1 100644 --- a/README.md +++ b/README.md @@ -52,14 +52,11 @@ When the adapter crashes or an other Code error happens, this error message that Placeholder for the next version (at the beginning of the line): ### __WORK IN PROGRESS__ --> -### 0.6.0-3 (2021-08-30) -* (DutchmanNL) ensure legacy support of WLED FW < 0.13-b2 -### 0.6.0-2 (2021-08-28) -* (DutchmanNL) Bug of adding devices manually solved -* -### 0.6.0-1 (2021-08-28) +### 0.6.0 (2021-08-31) - Support Websocket connections * (DutchmanNL) System load reduced +* (DutchmanNL) All warnings related to JS-Controller 3.x checks solved +* (DutchmanNL) Ensure legacy support of WLED FW < 0.12 (fallback to http-API instead of websocket) * (DutchmanNL) Communication by websocket implemented, this feature allows live data updates (instead of interval polling). Requires WLED firmware >= 12 ### 0.5.9 (2021-08-11) diff --git a/io-package.json b/io-package.json index 657866c..a0f3447 100644 --- a/io-package.json +++ b/io-package.json @@ -1,43 +1,19 @@ { "common": { "name": "wled", - "version": "0.6.0-3", + "version": "0.6.0", "news": { - "0.6.0-3": { - "en": "ensure legacy support of WLED FW < 0.13-b2", - "de": "Gewährleistung der Legacy-Unterstützung von WLED FW < 0,13-b2", - "ru": "обеспечить устаревшую поддержку WLED FW <0,13-b2", - "pt": "garantir suporte legado de WLED FW <0,13-b2", - "nl": "zorgen voor legacy-ondersteuning van WLED FW < 0.13-b2", - "fr": "assurer la prise en charge héritée du WLED FW < 0,13-b2", - "it": "garantire il supporto legacy di WLED FW < 0,13-b2", - "es": "garantizar el soporte heredado de WLED FW <0.13-b2", - "pl": "zapewnić obsługę starszej wersji WLED FW < 0,13-b2", - "zh-cn": "确保 WLED FW < 0.13-b2 的传统支持" - }, - "0.6.0-2": { - "en": "Bug of adding devices manually solved\n", - "de": "Fehler beim manuellen Hinzufügen von Geräten behoben\n", - "ru": "Ошибка добавления устройств вручную решена\n", - "pt": "Bug de adicionar dispositivos resolvido manualmente\n", - "nl": "Bug van handmatig toevoegen van apparaten opgelost\n", - "fr": "Bug d'ajout de périphériques résolu manuellement\n", - "it": "Bug relativo all'aggiunta manuale di dispositivi risolto\n", - "es": "Error de agregar dispositivos resuelto manualmente\n", - "pl": "Błąd ręcznego dodawania urządzeń rozwiązany\n", - "zh-cn": "解决手动添加设备的bug\n" - }, - "0.6.0-1": { - "en": "System load reduced\nCommunication by websocket implemented, this feature allows live data updates (instead of interval polling). Requires WLED firmware >= 12", - "de": "Systemlast reduziert\nKommunikation per Websocket implementiert, diese Funktion ermöglicht Live-Datenaktualisierungen (anstelle von Intervallabfragen). Benötigt WLED-Firmware >= 12", - "ru": "Снижена нагрузка на систему\nРеализована связь через веб-сокет, эта функция позволяет обновлять данные в реальном времени (вместо интервального опроса). Требуется прошивка WLED> = 12", - "pt": "Carga do sistema reduzida\nImplementada a comunicação por websocket, esse recurso permite atualizações de dados ao vivo (em vez de polling de intervalo). Requer firmware WLED> = 12", - "nl": "Systeembelasting verminderd\nCommunicatie via websocket geïmplementeerd, deze functie maakt live gegevensupdates mogelijk (in plaats van intervalpolling). Vereist WLED-firmware >= 12", - "fr": "Charge du système réduite\nCommunication par websocket implémentée, cette fonctionnalité permet des mises à jour des données en direct (au lieu de l'interrogation par intervalles). Nécessite le micrologiciel WLED >= 12", - "it": "Carico del sistema ridotto\nImplementata la comunicazione tramite websocket, questa funzione consente aggiornamenti dei dati in tempo reale (invece del polling a intervalli). Richiede firmware WLED >= 12", - "es": "Carga del sistema reducida\nImplementada la comunicación por websocket, esta función permite actualizaciones de datos en vivo (en lugar de sondeos por intervalos). Requiere firmware WLED> = 12", - "pl": "Zmniejszone obciążenie systemu\nZaimplementowana komunikacja przez websocket, ta funkcja umożliwia aktualizację danych na żywo (zamiast odpytywania interwałowego). Wymaga oprogramowania WLED >= 12", - "zh-cn": "系统负载减少\n通过 websocket 实现通信,此功能允许实时数据更新(而不是间隔轮询)。需要 WLED 固件 >= 12" + "0.6.0": { + "en": "System load reduced\nAll warnings related to JS-Controller 3.x checks solved\nEnsure legacy support of WLED FW < 0.12 (fallback to http-API instead of websocket)\nCommunication by websocket implemented, this feature allows live data updates (instead of interval polling). Requires WLED firmware >= 12", + "de": "Systemlast reduziert\nAlle Warnungen zu JS-Controller 3.x-Prüfungen behoben\nSicherstellen der Legacy-Unterstützung von WLED FW < 0.12 (Fallback auf http-API statt Websocket)\nKommunikation per Websocket implementiert, diese Funktion ermöglicht Live-Datenaktualisierungen (anstelle von Intervallabfragen). Benötigt WLED-Firmware >= 12", + "ru": "Снижена нагрузка на систему\nВсе предупреждения, связанные с проверками JS-Controller 3.x, устранены\nОбеспечьте устаревшую поддержку WLED FW <0.12 (откат к http-API вместо веб-сокета)\nРеализована связь через веб-сокет, эта функция позволяет обновлять данные в реальном времени (вместо интервального опроса). Требуется прошивка WLED> = 12", + "pt": "Carga do sistema reduzida\nTodos os avisos relacionados às verificações do JS-Controller 3.x resolvidos\nGaranta suporte legado de WLED FW <0,12 (fallback para http-API em vez de websocket)\nImplementada a comunicação por websocket, esse recurso permite atualizações de dados ao vivo (em vez de polling de intervalo). Requer firmware WLED> = 12", + "nl": "Systeembelasting verminderd\nAlle waarschuwingen met betrekking tot JS-Controller 3.x-controles opgelost\nZorg voor legacy-ondersteuning van WLED FW < 0.12 (fallback naar http-API in plaats van websocket)\nCommunicatie via websocket geïmplementeerd, deze functie maakt live gegevensupdates mogelijk (in plaats van intervalpolling). Vereist WLED-firmware >= 12", + "fr": "Charge du système réduite\nTous les avertissements liés aux contrôles JS-Controller 3.x résolus\nAssurer la prise en charge héritée de WLED FW < 0,12 (repli à http-API au lieu de websocket)\nCommunication par websocket implémentée, cette fonctionnalité permet des mises à jour des données en direct (au lieu de l'interrogation par intervalles). Nécessite le micrologiciel WLED >= 12", + "it": "Carico del sistema ridotto\nTutti gli avvisi relativi ai controlli JS-Controller 3.x sono stati risolti\nGarantire il supporto legacy di WLED FW < 0,12 (fallback a http-API anziché websocket)\nImplementata la comunicazione tramite websocket, questa funzione consente aggiornamenti dei dati in tempo reale (invece del polling a intervalli). Richiede firmware WLED >= 12", + "es": "Carga del sistema reducida\nTodas las advertencias relacionadas con las comprobaciones de JS-Controller 3.x resueltas\nAsegure el soporte heredado de WLED FW <0.12 (respaldo a http-API en lugar de websocket)\nImplementada la comunicación por websocket, esta función permite actualizaciones de datos en vivo (en lugar de sondeos por intervalos). Requiere firmware WLED> = 12", + "pl": "Zmniejszone obciążenie systemu\nWszystkie ostrzeżenia związane z kontrolami JS-Controller 3.x rozwiązane\nZapewnij starszą obsługę WLED FW < 0,12 (powrót do http-API zamiast websocket)\nZaimplementowana komunikacja przez websocket, ta funkcja umożliwia aktualizację danych na żywo (zamiast odpytywania interwałowego). Wymaga oprogramowania WLED >= 12", + "zh-cn": "系统负载减少\n解决了与 JS-Controller 3.x 检查相关的所有警告\n确保 WLED FW < 0.12 的传统支持(回退到 http-API 而不是 websocket)\n通过 websocket 实现通信,此功能允许实时数据更新(而不是间隔轮询)。需要 WLED 固件 >= 12" }, "0.5.9": { "en": "added new state attributes reported by Sentry\nadded min & max for brightness value to support iOT adapter", diff --git a/package-lock.json b/package-lock.json index a200dcc..e053d94 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "iobroker.wled", - "version": "0.6.0-3", + "version": "0.6.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -457,9 +457,9 @@ "dev": true }, "@types/node": { - "version": "16.4.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.4.13.tgz", - "integrity": "sha512-bLL69sKtd25w7p1nvg9pigE4gtKVpGTPojBFLMkGHXuUgap2sLqQt2qUnqmVCDfzGUL0DRNZP+1prIZJbMeAXg==" + "version": "16.7.8", + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.7.8.tgz", + "integrity": "sha512-8upnoQU0OPzbIkm+ZMM0zCeFCkw2s3mS0IWdx0+AAaWqm4fkBb0UJp8Edl7FVKRamYbpJC/aVsHpKWBIbiC7Zg==" }, "@types/proxyquire": { "version": "1.3.28", @@ -4010,9 +4010,9 @@ } }, "mocha": { - "version": "9.0.3", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-9.0.3.tgz", - "integrity": "sha512-hnYFrSefHxYS2XFGtN01x8un0EwNu2bzKvhpRFhgoybIvMaOkkL60IVPmkb5h6XDmUl4IMSB+rT5cIO4/4bJgg==", + "version": "9.1.1", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-9.1.1.tgz", + "integrity": "sha512-0wE74YMgOkCgBUj8VyIDwmLUjTsS13WV1Pg7l0SHea2qzZzlq7MDnfbPsHKcELBRk3+izEVkRofjmClpycudCA==", "dev": true, "requires": { "@ungap/promise-all-settled": "1.1.2", @@ -5914,9 +5914,9 @@ "dev": true }, "ws": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.1.0.tgz", - "integrity": "sha512-0UWlCD2s3RSclw8FN+D0zDTUyMO+1kHwJQQJzkgUh16S8d3NYON0AKCEQPffE0ez4JyRFu76QDA9KR5bOG/7jw==" + "version": "8.2.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.2.1.tgz", + "integrity": "sha512-XkgWpJU3sHU7gX8f13NqTn6KQ85bd1WU7noBHTT8fSohx7OS1TPY8k+cyRPCzFkia7C4mM229yeHr1qK9sM4JQ==" }, "xtend": { "version": "4.0.2", diff --git a/package.json b/package.json index 8e6d197..0bd89bc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "iobroker.wled", - "version": "0.6.0-3", + "version": "0.6.0", "description": "A fast and feature-rich implementation of an ESP8266/ESP32 webserver to control NeoPixel (WS2812B, WS2811, SK6812, APA102) LEDs!", "author": { "name": "DutchmanNL", @@ -32,7 +32,7 @@ "bonjour": "^3.5.0", "hex-rgb": "^4.3.0", "rgb-hex": "^3.0.0", - "ws": "^8.1.0" + "ws": "^8.2.1" }, "devDependencies": { "@alcalzone/release-script": "^2.2.1", @@ -41,7 +41,7 @@ "@types/chai-as-promised": "^7.1.4", "@types/gulp": "^4.0.9", "@types/mocha": "^9.0.0", - "@types/node": "^16.4.13", + "@types/node": "^16.7.8", "@types/proxyquire": "^1.3.28", "@types/sinon": "^10.0.2", "@types/sinon-chai": "^3.2.4", @@ -50,7 +50,7 @@ "chai-as-promised": "^7.1.1", "eslint": "^7.32.0", "gulp": "^4.0.2", - "mocha": "^9.0.3", + "mocha": "^9.1.1", "proxyquire": "^2.1.3", "sinon": "^11.1.2", "sinon-chai": "^3.7.0"