iobroker.laundrylens 0.4.19 → 0.4.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -132,6 +132,10 @@ This also works inside the conditional `[...]` blocks: `[🌡️ Outside: {state
132
132
 
133
133
  ### **WORK IN PROGRESS**
134
134
 
135
+ ### 0.4.20 (2026-09-08)
136
+ - Fix: added Node.js 26 to the CI test matrix (`unit-tests` and `adapter-tests`)
137
+ - Fix: updated the `@iobroker/testing` devDependency to 6.1.0 - checked both 6.0.0's and 6.1.0's breaking changes against this adapter (no `prepare` script, no `encryptedNative` properties, no `changeAdapterConfig()` usage in the integration test - none apply); full test suite, `test:package`, and `test:integration` all still pass
138
+
135
139
  ### 0.4.19 (2026-09-05)
136
140
  - Fix: use `node:`-prefixed built-in module imports (`node:fs`, `node:path`) consistently everywhere (`lib/displayLabels.js`, `test/integration.js`, `test/package.js`), not just in `main.js`
137
141
  - Fix: updated `@iobroker/adapter-core` to the currently required minimum version (3.4.3)
package/io-package.json CHANGED
@@ -1,8 +1,21 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "laundrylens",
4
- "version": "0.4.19",
4
+ "version": "0.4.20",
5
5
  "news": {
6
+ "0.4.20": {
7
+ "en": "Fix: added Node.js 26 to the CI test matrix. Updated the @iobroker/testing devDependency to 6.1.0 (checked all breaking changes in 6.0.0/6.1.0 - none apply to this adapter: no \"prepare\" script, no encryptedNative properties, no changeAdapterConfig() usage in the integration test). Verified locally: full test suite, package test, and integration test all still pass.",
8
+ "de": "Fix: Node.js 26 zur CI-Test-Matrix hinzugefügt. @iobroker/testing-devDependency auf 6.1.0 aktualisiert (alle Breaking Changes in 6.0.0/6.1.0 geprüft - keine betrifft diesen Adapter: kein \"prepare\"-Script, keine encryptedNative-Eigenschaften, keine changeAdapterConfig()-Nutzung im Integrationstest). Lokal verifiziert: vollständige Testsuite, Package-Test und Integrationstest laufen weiterhin durch.",
9
+ "ru": "Исправление: добавлен Node.js 26 в матрицу тестирования CI. Обновлена devDependency @iobroker/testing до 6.1.0 (проверены все breaking changes в 6.0.0/6.1.0 - ни один не касается этого адаптера). Проверено локально: полный набор тестов, package test и integration test проходят успешно.",
10
+ "pt": "Correção: adicionado Node.js 26 à matriz de testes do CI. Atualizada a devDependency @iobroker/testing para 6.1.0 (verificadas todas as breaking changes em 6.0.0/6.1.0 - nenhuma se aplica a este adaptador). Verificado localmente: suíte de testes completa, teste de pacote e teste de integração continuam passando.",
11
+ "nl": "Fix: Node.js 26 toegevoegd aan de CI-testmatrix. @iobroker/testing devDependency bijgewerkt naar 6.1.0 (alle breaking changes in 6.0.0/6.1.0 gecontroleerd - geen ervan is van toepassing op deze adapter). Lokaal geverifieerd: volledige testsuite, package-test en integratietest slagen nog steeds.",
12
+ "fr": "Correction : ajout de Node.js 26 à la matrice de tests CI. Mise à jour de la devDependency @iobroker/testing vers 6.1.0 (tous les changements majeurs des versions 6.0.0/6.1.0 ont été vérifiés - aucun ne s'applique à cet adaptateur). Vérifié localement : la suite de tests complète, le test de package et le test d'intégration passent toujours.",
13
+ "it": "Correzione: aggiunto Node.js 26 alla matrice di test CI. Aggiornata la devDependency @iobroker/testing a 6.1.0 (verificati tutti i breaking changes in 6.0.0/6.1.0 - nessuno riguarda questo adattatore). Verificato localmente: la suite di test completa, il test del pacchetto e il test di integrazione passano ancora.",
14
+ "es": "Corrección: se añadió Node.js 26 a la matriz de pruebas de CI. Se actualizó la devDependency @iobroker/testing a 6.1.0 (se revisaron todos los cambios importantes en 6.0.0/6.1.0 - ninguno aplica a este adaptador). Verificado localmente: la suite de pruebas completa, la prueba de paquete y la prueba de integración siguen pasando.",
15
+ "pl": "Poprawka: dodano Node.js 26 do macierzy testów CI. Zaktualizowano devDependency @iobroker/testing do 6.1.0 (sprawdzono wszystkie zmiany łamiące kompatybilność w 6.0.0/6.1.0 - żadna nie dotyczy tego adaptera). Zweryfikowano lokalnie: pełny zestaw testów, test pakietu i test integracyjny nadal przechodzą pomyślnie.",
16
+ "uk": "Виправлення: додано Node.js 26 до матриці тестів CI. Оновлено devDependency @iobroker/testing до 6.1.0 (перевірено всі зміни, що порушують сумісність, у 6.0.0/6.1.0 - жодна не стосується цього адаптера). Перевірено локально: повний набір тестів, тест пакета та інтеграційний тест і далі проходять успішно.",
17
+ "zh-cn": "修复:将 Node.js 26 添加到 CI 测试矩阵。将 @iobroker/testing 开发依赖更新到 6.1.0(已检查 6.0.0/6.1.0 中的所有破坏性变更——均不影响本适配器)。已在本地验证:完整测试套件、包测试和集成测试均通过。"
18
+ },
6
19
  "0.4.19": {
7
20
  "en": "Fix: use node: prefixed built-in module imports (node:fs, node:path) consistently everywhere, not just in main.js. Updated @iobroker/adapter-core to the currently required minimum version. Corrected three incomplete Dutch/Polish/Ukrainian changelog translations for 0.4.12 that were noticeably shorter than the English original.",
8
21
  "de": "Fix: node:-Präfix für eingebaute Node.js-Module (node:fs, node:path) jetzt konsequent überall verwendet, nicht nur in main.js. @iobroker/adapter-core auf die aktuell benötigte Mindestversion angehoben. Drei unvollständige niederländische/polnische/ukrainische Changelog-Übersetzungen für 0.4.12 korrigiert, die merklich kürzer als das englische Original waren.",
@@ -80,19 +93,6 @@
80
93
  "pl": "Zastąpiono ikonę adaptera o niskiej rozdzielczości 128x128 nową, ostrzejszą wersją 256x256.",
81
94
  "uk": "Замінено іконку адаптера низької роздільної здатності 128x128 на нову, чіткішу версію 256x256.",
82
95
  "zh-cn": "将低分辨率的 128x128 适配器图标替换为更清晰的新版 256x256 图标。"
83
- },
84
- "0.4.13": {
85
- "en": "Fix: the \"running\" state's name was still German (\"Läuft\") on existing installations, even though the code has said \"Running\" for a long time - it was simply missing from the state-name migration list added in 0.4.12. Found via a fresh object dump. Added a test that checks every state id is covered by the migration, to catch this kind of gap automatically going forward.",
86
- "de": "Fix: Der Name des Status \"running\" war auf bestehenden Installationen noch Deutsch (\"Läuft\"), obwohl der Code schon lange \"Running\" sagt - er fehlte schlicht in der in 0.4.12 hinzugefügten State-Namen-Migrationsliste. Gefunden über einen frischen Object-Dump. Test ergänzt, der prüft, dass jede State-ID von der Migration abgedeckt ist, damit diese Art von Lücke künftig automatisch auffällt.",
87
- "ru": "Исправление: имя состояния \"running\" на существующих установках всё ещё было немецким (\"Läuft\"), хотя код уже давно использует \"Running\" - оно просто отсутствовало в списке миграции имён состояний, добавленном в 0.4.12. Найдено через свежий дамп объектов. Добавлен тест, проверяющий, что каждый идентификатор состояния охвачен миграцией.",
88
- "pt": "Correção: o nome do estado \"running\" ainda estava em alemão (\"Läuft\") em instalações existentes, embora o código já dissesse \"Running\" há muito tempo - simplesmente estava ausente da lista de migração de nomes de estado adicionada na 0.4.12. Encontrado através de um dump de objetos recente. Adicionado um teste que verifica se cada id de estado está coberto pela migração.",
89
- "nl": "Fix: de naam van de \"running\"-status was op bestaande installaties nog Duits (\"Läuft\"), hoewel de code al lang \"Running\" zegt - deze ontbrak simpelweg in de lijst met statenaam-migraties die in 0.4.12 is toegevoegd. Gevonden via een verse object-dump. Test toegevoegd die controleert of elke state-id door de migratie wordt gedekt.",
90
- "fr": "Correction : le nom de l'état \"running\" était encore en allemand (\"Läuft\") sur les installations existantes, alors que le code dit \"Running\" depuis longtemps - il manquait simplement dans la liste de migration des noms d'états ajoutée en 0.4.12. Trouvé via un dump d'objets récent. Ajout d'un test qui vérifie que chaque id d'état est couvert par la migration.",
91
- "it": "Correzione: il nome dello stato \"running\" era ancora in tedesco (\"Läuft\") sulle installazioni esistenti, anche se il codice dice \"Running\" da tempo - mancava semplicemente nell'elenco di migrazione dei nomi di stato aggiunto nella 0.4.12. Trovato tramite un nuovo dump degli oggetti. Aggiunto un test che verifica che ogni id di stato sia coperto dalla migrazione.",
92
- "es": "Corrección: el nombre del estado \"running\" seguía en alemán (\"Läuft\") en instalaciones existentes, aunque el código dice \"Running\" desde hace tiempo - simplemente faltaba en la lista de migración de nombres de estado añadida en la 0.4.12. Encontrado mediante un volcado de objetos reciente. Se añadió una prueba que verifica que cada id de estado esté cubierto por la migración.",
93
- "pl": "Poprawka: nazwa stanu \"running\" na istniejących instalacjach nadal była niemiecka (\"Läuft\"), mimo że kod od dawna używa \"Running\" - po prostu brakowało jej na liście migracji nazw stanów dodanej w 0.4.12. Znalezione dzięki nowemu zrzutowi obiektów. Dodano test sprawdzający, czy każdy identyfikator stanu jest objęty migracją.",
94
- "uk": "Виправлення: назва стану \"running\" на наявних інсталяціях досі була німецькою (\"Läuft\"), хоча код уже давно каже \"Running\" - її просто бракувало в списку міграції назв станів, доданому в 0.4.12. Знайдено через свіжий дамп об'єктів. Додано тест, який перевіряє, що кожен ідентифікатор стану охоплено міграцією.",
95
- "zh-cn": "修复:现有安装中\"running\"状态的名称仍为德文(\"Läuft\"),尽管代码早已使用\"Running\"——它只是在 0.4.12 中添加的状态名称迁移列表中被遗漏了。通过最新的对象转储发现此问题。新增了一个测试,用于检查每个状态 ID 是否都被迁移覆盖,以便日后自动发现此类遗漏。"
96
96
  }
97
97
  },
98
98
  "titleLang": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.laundrylens",
3
- "version": "0.4.19",
3
+ "version": "0.4.20",
4
4
  "description": "ioBroker adapter that detects washing machine and dryer cycles via smart plug power measurement, matches them against learned programs and estimates remaining time",
5
5
  "author": {
6
6
  "name": "backfisch88",
@@ -35,7 +35,7 @@
35
35
  "@iobroker/adapter-core": "^3.4.3"
36
36
  },
37
37
  "devDependencies": {
38
- "@iobroker/testing": "^5.3.0",
38
+ "@iobroker/testing": "^6.1.0",
39
39
  "@iobroker/eslint-config": "^2.3.4",
40
40
  "@iobroker/adapter-dev": "^1.5.0",
41
41
  "@alcalzone/release-script": "^5.2.1",