Skip to content

Commit 481d865

Browse files
author
Sefina-DS
committed
fix: correct release.sh side effects from v0.1.23 (LEARNINGS #35 pitfall)
Two real problems, both from the manual news entry having been inserted at the TOP of the news dict in the release-prep step instead of appended at the end (deviating from this file's established chronological/ insertion order): 1. README.md: release.sh prepended its own short "### 0.1.23" section without checking one already existed - documented pitfall from LEARNINGS #35. Removed the duplicate, kept the detailed entry. 2. io-package.json (more serious): release.sh's "keep max 7 news entries" pruning does `del news[keys[0]]` while there are more than 7 - i.e. it removes whichever entry is FIRST by dict insertion order. Because the manually-added "0.1.23" entry sat at position 0 (not the end, where 0.1.16-0.1.22 were originally ordered oldest-to-newest), the pruning step deleted the 0.1.23 entry itself instead of the actual oldest one (0.1.16) - result: common.version was 0.1.23 but the news block had NO matching entry. Re-added 0.1.23 correctly at the end, removed 0.1.16 to keep the max-7 convention intact. Note: the v0.1.23 tag was already pushed and GitHub Actions had already built/published to npm from the buggy commit before this was caught - that specific published release will show no "what's new" text in the ioBroker Admin UI. Not retagging/force-pushing to fix a live tag without separate sign-off; this commit only corrects `main` going forward.
1 parent 5f408ff commit 481d865

2 files changed

Lines changed: 13 additions & 16 deletions

File tree

‎README.md‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ All widgets use a consistent color palette:
3838

3939
## Changelog
4040

41-
### 0.1.23 (2026-09-20)
42-
- New widget: Thermostat - Temperature
43-
4441
### 0.1.23 (2026-09-20)
4542
- New widget "Thermostat - Temperature": heating/cooling circuit regulator with
4643
setpoint dial, actual temperature, humidity, and actuator status (flame/snowflake)

‎io-package.json‎

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,6 @@
55
"extIcon": "https://raw.githubusercontent.com/Sefina-DS/ioBroker.vis-2-widgets-technic/main/admin/vis-2-widgets-technic.png",
66
"version": "0.1.23",
77
"news": {
8-
"0.1.16": {
9-
"en": "Translate all widget names and labels to English, fix window blind open/close logic, add quick-set buttons (0/25/50/75/100%)",
10-
"de": "Widget-Namen und Labels auf Englisch übersetzt, Rollo Auf/Zu-Logik korrigiert, Schnellauswahl-Buttons (0/25/50/75/100%) hinzugefügt",
11-
"ru": "Исправления и улучшения",
12-
"pt": "Correções e melhorias",
13-
"nl": "Fixes en verbeteringen",
14-
"fr": "Corrections et améliorations",
15-
"it": "Correzioni e miglioramenti",
16-
"es": "Correcciones y mejoras",
17-
"pl": "Poprawki i usprawnienia",
18-
"uk": "Виправлення та покращення",
19-
"zh-cn": "修复和改进"
20-
},
218
"0.1.17": {
229
"en": "Release 0.1.17",
2310
"de": "Fehlerbehebungen und Verbesserungen",
@@ -95,6 +82,19 @@
9582
"pl": "Poprawki i usprawnienia",
9683
"uk": "Виправлення та покращення",
9784
"zh-cn": "修复和改进"
85+
},
86+
"0.1.23": {
87+
"en": "New widget: Thermostat - Temperature",
88+
"de": "Neues Widget: Thermostat - Temperature",
89+
"ru": "Исправления и улучшения",
90+
"pt": "Correções e melhorias",
91+
"nl": "Fixes en verbeteringen",
92+
"fr": "Corrections et améliorations",
93+
"it": "Correzioni e miglioramenti",
94+
"es": "Correcciones y mejoras",
95+
"pl": "Poprawki i usprawnienia",
96+
"uk": "Виправлення та покращення",
97+
"zh-cn": "修复和改进"
9898
}
9999
},
100100
"titleLang": {

0 commit comments

Comments
 (0)