iobroker.shoppingroute 0.3.4 → 0.3.5
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 +8 -1
- package/README_DE.md +8 -1
- package/build/lib/statistics.js +1 -1
- package/build/main.js +1 -1
- package/io-package.json +14 -1
- package/package.json +2 -3
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|

|
|
4
4
|
|
|
5
|
-
**Current version: 0.3.
|
|
5
|
+
**Current version: 0.3.5**
|
|
6
6
|
|
|
7
7
|
ShoppingRoute sorts Alexa shopping-list entries by market, product group and each store's individual walking route. It assigns visible two-digit keys such as `20> Bananas` and `40> ═════ ALDI ═════`; managed lists must therefore be set to **A–Z** in the Alexa app. ShoppingRoute reuses the local Alexa2 authentication for direct item updates, deletes and batch creates, while Alexa2 list states remain the external change trigger.
|
|
8
8
|
|
|
@@ -40,6 +40,13 @@ See `README_DE.md` for the detailed German documentation.
|
|
|
40
40
|
|
|
41
41
|
## Changelog
|
|
42
42
|
|
|
43
|
+
### 0.3.5 (2026-08-17)
|
|
44
|
+
|
|
45
|
+
- Completed the remaining repository re-review cleanup with an English statistics fallback.
|
|
46
|
+
- Aligned release deployment with the regular tested `npm run build` path.
|
|
47
|
+
- Removed the obsolete `stable:build` / source-map cleanup path and updated its regression protection.
|
|
48
|
+
- No sorting behavior or adapter functionality was changed.
|
|
49
|
+
|
|
43
50
|
### 0.3.4 (2026-08-14)
|
|
44
51
|
|
|
45
52
|
- Added Admin 8 compatibility for all custom Admin components and set the minimum Admin version to 8.0.0.
|
package/README_DE.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|

|
|
4
4
|
|
|
5
|
-
**Aktuelle Version: 0.3.
|
|
5
|
+
**Aktuelle Version: 0.3.5**
|
|
6
6
|
|
|
7
7
|
ShoppingRoute sortiert Alexa-Einkaufslisteneinträge nach Markt, Produktgruppe und dem individuellen Laufweg durch den jeweiligen Markt. Dazu vergibt es sichtbare zweistellige Schlüssel wie `20> Bananen` und `40> ═════ ALDI ═════`; verwaltete Listen müssen deshalb in der Alexa-App auf **A–Z** stehen. ShoppingRoute übernimmt lokal die Alexa2-Authentifizierung für direkte Updates, Deletes und Batch-Creates; Alexa2-Listenstates bleiben die Triggerquelle für externe Änderungen.
|
|
8
8
|
|
|
@@ -73,6 +73,13 @@ ShoppingRoute wird unter der **MIT-Lizenz** veröffentlicht. Frühere bereits ve
|
|
|
73
73
|
|
|
74
74
|
## Changelog
|
|
75
75
|
|
|
76
|
+
### 0.3.5 (2026-08-17)
|
|
77
|
+
|
|
78
|
+
- Verbleibende Repository-Re-Review-Bereinigung mit englischem Statistik-Fallback abgeschlossen.
|
|
79
|
+
- Release-Deploy auf denselben regulären und getesteten `npm run build`-Pfad vereinheitlicht.
|
|
80
|
+
- Veralteten `stable:build`-/Source-Map-Bereinigungspfad entfernt und die zugehörige Regression-Prüfung angepasst.
|
|
81
|
+
- Sortierverhalten und Adapterfunktionalität wurden nicht verändert.
|
|
82
|
+
|
|
76
83
|
### 0.3.4 (2026-08-14)
|
|
77
84
|
|
|
78
85
|
- Admin-8-Kompatibilität für alle benutzerdefinierten Admin-Komponenten ergänzt und die Admin-Mindestversion auf 8.0.0 gesetzt.
|
package/build/lib/statistics.js
CHANGED
|
@@ -37,7 +37,7 @@ function normalizeUsageStatistics(value, now = new Date()) {
|
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
function increment(map, key) {
|
|
40
|
-
const safe = String(key || '').trim() || '
|
|
40
|
+
const safe = String(key || '').trim() || 'Unknown';
|
|
41
41
|
map[safe] = (Number(map[safe]) || 0) + 1;
|
|
42
42
|
}
|
|
43
43
|
function recordAddedItem(stats, listName, parsed) {
|
package/build/main.js
CHANGED
|
@@ -48,7 +48,7 @@ const statistics_1 = require("./lib/statistics");
|
|
|
48
48
|
const review_tools_1 = require("./lib/review-tools");
|
|
49
49
|
const state_change_1 = require("./lib/state-change");
|
|
50
50
|
const direct_sort_lifecycle_1 = require("./lib/direct-sort-lifecycle");
|
|
51
|
-
const VERSION = '0.3.
|
|
51
|
+
const VERSION = '0.3.5';
|
|
52
52
|
const COLLECT_WINDOW_MS = 5000;
|
|
53
53
|
const MAX_ACTIVE_ITEMS = 99;
|
|
54
54
|
const OWN_REFRESH_MAX_MS = 30000;
|
package/io-package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "shoppingroute",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.5",
|
|
5
5
|
"titleLang": {
|
|
6
6
|
"en": "ShoppingRoute",
|
|
7
7
|
"de": "ShoppingRoute",
|
|
@@ -60,6 +60,19 @@
|
|
|
60
60
|
"icon": "shoppingroute.png",
|
|
61
61
|
"tier": 3,
|
|
62
62
|
"news": {
|
|
63
|
+
"0.3.5": {
|
|
64
|
+
"en": "Changed the remaining statistics fallback to English, aligned release deployment with the tested `npm run build` path, removed the obsolete `stable:build` and `prepare-stable-build.js` source-map cleanup path, and updated regression protection; sorting behavior is unchanged.",
|
|
65
|
+
"de": "Den verbleibenden Statistik-Fallback auf Englisch umgestellt, Release-Deploy mit dem getesteten `npm run build`-Pfad vereinheitlicht, den veralteten `stable:build`-/`prepare-stable-build.js`-Source-Map-Bereinigungspfad entfernt und die Regression-Prüfung angepasst; das Sortierverhalten bleibt unverändert.",
|
|
66
|
+
"ru": "Оставшийся резервный текст статистики переведён на английский, развёртывание релиза приведено к протестированному пути `npm run build`, устаревший путь очистки карт исходного кода `stable:build` / `prepare-stable-build.js` удалён, а регрессионная проверка обновлена; поведение сортировки не изменилось.",
|
|
67
|
+
"pt": "O texto de recurso restante das estatísticas foi alterado para inglês, a implementação da versão foi alinhada com o caminho testado `npm run build`, o caminho obsoleto de limpeza de mapas de origem `stable:build` / `prepare-stable-build.js` foi removido e a proteção contra regressões foi atualizada; o comportamento da ordenação não mudou.",
|
|
68
|
+
"nl": "De resterende statistiekfallback is Engels gemaakt, de release-implementatie is afgestemd op het geteste `npm run build`-pad, het verouderde bronkaartopschoonpad `stable:build` / `prepare-stable-build.js` is verwijderd en de regressiecontrole is bijgewerkt; het sorteergedrag is ongewijzigd.",
|
|
69
|
+
"fr": "Le dernier texte de repli des statistiques est passé en anglais, le déploiement de version a été aligné sur le chemin testé `npm run build`, l’ancien nettoyage des sources maps via `stable:build` / `prepare-stable-build.js` a été supprimé et la protection contre les régressions mise à jour ; le comportement de tri est inchangé.",
|
|
70
|
+
"it": "Il fallback rimanente delle statistiche è stato reso inglese, il deploy della release è stato allineato al percorso testato `npm run build`, il percorso obsoleto di pulizia delle source map `stable:build` / `prepare-stable-build.js` è stato rimosso e la protezione dalle regressioni aggiornata; il comportamento di ordinamento non è cambiato.",
|
|
71
|
+
"es": "El texto de reserva restante de las estadísticas se cambió a inglés, el despliegue de la versión se alineó con la ruta probada `npm run build`, se eliminó la ruta obsoleta de limpieza de mapas de origen `stable:build` / `prepare-stable-build.js` y se actualizó la protección contra regresiones; el comportamiento de ordenación no cambió.",
|
|
72
|
+
"pl": "Pozostały tekst zastępczy statystyk zmieniono na angielski, wdrażanie wydania ujednolicono z testowaną ścieżką `npm run build`, usunięto przestarzałą ścieżkę czyszczenia map źródłowych `stable:build` / `prepare-stable-build.js` i zaktualizowano ochronę regresyjną; zachowanie sortowania nie uległo zmianie.",
|
|
73
|
+
"uk": "Залишковий резервний текст статистики змінено на англійський, розгортання випуску узгоджено з протестованим шляхом `npm run build`, застарілий шлях очищення карт вихідного коду `stable:build` / `prepare-stable-build.js` видалено, а регресійний захист оновлено; поведінку сортування не змінено.",
|
|
74
|
+
"zh-cn": "将剩余的统计回退文本改为英文,使发布部署使用经过测试的 `npm run build` 路径,移除过时的 `stable:build` / `prepare-stable-build.js` 源映射清理流程,并更新相应的回归保护;排序行为未改变。"
|
|
75
|
+
},
|
|
63
76
|
"0.3.4": {
|
|
64
77
|
"en": "Added Admin 8 compatibility for custom Admin components, clearer optional sort-summary logging and market headings, fixed the review queue “Accept all” action, required acknowledged foreign Alexa2 states, and removed obsolete configuration, internal npm checks and code obfuscation for improved repository compatibility.",
|
|
65
78
|
"de": "Admin-8-Kompatibilität für benutzerdefinierte Admin-Komponenten ergänzt, optionales Abschluss-Logging und Marktüberschriften verständlicher gestaltet, „Alle auf Übernehmen stellen“ repariert, bestätigte Werte für fremde Alexa2-States vorausgesetzt sowie veraltete Konfiguration, interne npm-Prüfung und Code-Obfuscation für bessere Repository-Kompatibilität entfernt.",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iobroker.shoppingroute",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.5",
|
|
4
4
|
"description": "Smart Alexa shopping-list routing by market, product group and individual store walking route with learning, multi-list support and API protection.",
|
|
5
5
|
"author": "RaviniZib",
|
|
6
6
|
"license": "MIT",
|
|
@@ -42,8 +42,7 @@
|
|
|
42
42
|
"lint": "eslint src src-admin test scripts && npm run check",
|
|
43
43
|
"prepublishOnly": "node scripts/block-root-publish.js",
|
|
44
44
|
"test:integration": "mocha test/integration.js --exit",
|
|
45
|
-
"test:package": "mocha test/package.js --exit"
|
|
46
|
-
"stable:build": "npm run build && node scripts/prepare-stable-build.js"
|
|
45
|
+
"test:package": "mocha test/package.js --exit"
|
|
47
46
|
},
|
|
48
47
|
"dependencies": {
|
|
49
48
|
"@iobroker/adapter-core": "^3.4.1"
|