Skip to content

Commit 5bc1f84

Browse files
committed
chore: release v2.0.0
* (crycode-de) Node.js >= 18, Admin >= 6.17, js-contoller >= 5.0.19 are required * (crycode-de) Changed how custom parser scripts are interpreted. Most custom parser scripts should work as before but they have a limited scope now. * (crycode-de) Custom parser scripts now support `getStateAsync`, `getForeignStateAsync`, `getObjectAsync` and `getForeignObjectAsync`. If you have used `getStateAsync`/`getObjectAsync` before you need to change them to `getForeignStateAsync`/`getForeignObjectAsync` or update the IDs if you get data from the same adapter instance. * (crycode-de) Custom write parser scripts an now return false to cancel the write * (crycode-de) Updated dependencies
1 parent 06c617c commit 5bc1f84

File tree

7 files changed

+106
-82
lines changed

7 files changed

+106
-82
lines changed

CHANGELOG_OLD.md

Lines changed: 60 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,63 @@ The newest change log is in README.md
3333
* (crycode-de) Parsers read on json state change with ack=false
3434

3535
### 0.0.1
36-
* (crycode-de) initial development release
36+
* (crycode-de) initial development release
37+
## 1.2.1 (2021-06-22)
38+
39+
* (crycode-de) Added option to automatically set a certain value in a given interval for each parser
40+
* (crycode-de) Added checks for duplicate parser IDs
41+
* (VeSler) Russian translation updates
42+
* (crycode-de) Use inline sourcemaps for the adapter build files to make remote debugging work
43+
* (crycode-de) Updated dependencies
44+
45+
## 1.1.4 (2021-04-30)
46+
47+
* (crycode-de) Added license information to import of well-known configurations
48+
* (crycode-de) Fixed "Parser returned wrong data type undefined" log message
49+
* (crycode-de) Updated dependencies
50+
51+
## 1.1.3 (2021-04-12)
52+
53+
* (crycode-de) Added definition of possible state values in admin
54+
* (crycode-de) Added selection of the state role for each parser in admin
55+
* (crycode-de) Fixed display bug of floating action buttons in admin
56+
* (crycode-de) Export uses defaults if some config parts are not defined (e.g. if the config is from an older version)
57+
* (crycode-de) Fixed wrong validation if a message/parser was deleted
58+
59+
## 1.1.2 (2021-04-06)
60+
61+
* (crycode-de) Added copy/paste function for message and parser configurations in admin
62+
63+
## 1.1.1 (2021-04-02)
64+
65+
* (crycode-de) Import bugfixes
66+
* (crycode-de) Prevent wrong log warning if a parser returned undefined
67+
* (crycode-de) Added react errorboundary for better clientside error handling
68+
69+
## 1.1.0 (2021-04-01)
70+
71+
* (crycode-de) Added import/export feature for messages in json or csv format
72+
* (crycode-de) Added import of well known configurations from GitHub
73+
* (crycode-de) Fixed config import in admin
74+
* (crycode-de) Added ioBroker state data type option for custom parsers
75+
76+
## 1.0.2 (2021-03-26)
77+
78+
* (crycode-de) Fixed issue where missing state prevented custom parser write
79+
* (DutchmanNL) Dutch translation updates
80+
* (UncleSamSwiss) French translation updates
81+
* (VeSler) Russian translation updates
82+
83+
## 1.0.1 (2021-03-12)
84+
85+
* (crycode-de) Use a queue to process *parser* and *send* state changes in the correct order
86+
* (crycode-de) Fixed some spelling issues
87+
* (crycode-de) Updated dependencies
88+
89+
## 1.0.0 (2021-02-23)
90+
91+
* (crycode-de) Sort messages in admin
92+
* (VeSler) Russian admin translations
93+
* (crycode-de) Updated dependencies
94+
95+
Older changelog is in CHANGELOG_OLD.md

README.md

Lines changed: 1 addition & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ By writing JSON data to the `raw.send` state you are able to send CAN messages c
164164
Placeholder for the next version (at the beginning of the line):
165165
### **WORK IN PROGRESS**
166166
-->
167-
### **WORK IN PROGRESS**
167+
### 2.0.0 (2024-11-02)
168168

169169
* (crycode-de) Node.js >= 18, Admin >= 6.17, js-contoller >= 5.0.19 are required
170170
* (crycode-de) Changed how custom parser scripts are interpreted. Most custom parser scripts should work as before but they have a limited scope now.
@@ -193,66 +193,6 @@ By writing JSON data to the `raw.send` state you are able to send CAN messages c
193193
* (crycode-de) Fixed text colors in dark theme of admin 5
194194
* (crycode-de) Updated dependencies
195195

196-
### 1.2.1 (2021-06-22)
197-
198-
* (crycode-de) Added option to automatically set a certain value in a given interval for each parser
199-
* (crycode-de) Added checks for duplicate parser IDs
200-
* (VeSler) Russian translation updates
201-
* (crycode-de) Use inline sourcemaps for the adapter build files to make remote debugging work
202-
* (crycode-de) Updated dependencies
203-
204-
### 1.1.4 (2021-04-30)
205-
206-
* (crycode-de) Added license information to import of well-known configurations
207-
* (crycode-de) Fixed "Parser returned wrong data type undefined" log message
208-
* (crycode-de) Updated dependencies
209-
210-
### 1.1.3 (2021-04-12)
211-
212-
* (crycode-de) Added definition of possible state values in admin
213-
* (crycode-de) Added selection of the state role for each parser in admin
214-
* (crycode-de) Fixed display bug of floating action buttons in admin
215-
* (crycode-de) Export uses defaults if some config parts are not defined (e.g. if the config is from an older version)
216-
* (crycode-de) Fixed wrong validation if a message/parser was deleted
217-
218-
### 1.1.2 (2021-04-06)
219-
220-
* (crycode-de) Added copy/paste function for message and parser configurations in admin
221-
222-
### 1.1.1 (2021-04-02)
223-
224-
* (crycode-de) Import bugfixes
225-
* (crycode-de) Prevent wrong log warning if a parser returned undefined
226-
* (crycode-de) Added react errorboundary for better clientside error handling
227-
228-
### 1.1.0 (2021-04-01)
229-
230-
* (crycode-de) Added import/export feature for messages in json or csv format
231-
* (crycode-de) Added import of well known configurations from GitHub
232-
* (crycode-de) Fixed config import in admin
233-
* (crycode-de) Added ioBroker state data type option for custom parsers
234-
235-
### 1.0.2 (2021-03-26)
236-
237-
* (crycode-de) Fixed issue where missing state prevented custom parser write
238-
* (DutchmanNL) Dutch translation updates
239-
* (UncleSamSwiss) French translation updates
240-
* (VeSler) Russian translation updates
241-
242-
### 1.0.1 (2021-03-12)
243-
244-
* (crycode-de) Use a queue to process *parser* and *send* state changes in the correct order
245-
* (crycode-de) Fixed some spelling issues
246-
* (crycode-de) Updated dependencies
247-
248-
### 1.0.0 (2021-02-23)
249-
250-
* (crycode-de) Sort messages in admin
251-
* (VeSler) Russian admin translations
252-
* (crycode-de) Updated dependencies
253-
254-
Older changelog is in CHANGELOG_OLD.md
255-
256196
## License
257197

258198
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)

admin/build/index.js

Lines changed: 26 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

admin/build/index.js.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

io-package.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,21 @@
11
{
22
"common": {
33
"name": "canbus",
4-
"version": "1.3.1",
4+
"version": "2.0.0",
55
"news": {
6+
"2.0.0": {
7+
"en": "Node.js >= 18, Admin >= 6.17, js-contoller >= 5.0.19 are required\nChanged how custom parser scripts are interpreted. Most custom parser scripts should work as before but they have a limited scope now.\nCustom parser scripts now support `getStateAsync`, `getForeignStateAsync`, `getObjectAsync` and `getForeignObjectAsync`. If you have used `getStateAsync`/`getObjectAsync` before you need to change them to `getForeignStateAsync`/`getForeignObjectAsync` or update the IDs if you get data from the same adapter instance.\nCustom write parser scripts an now return false to cancel the write\nUpdated dependencies",
8+
"de": "Node.js >= 18, Admin >= 6.17, js-contoller >= 5.0.19 sind erforderlich\nArt der Ausführung der Skripte in benutzerdefinierten Parsern geändert. Skripte sollten wie früher funktionieren, aber sie werden jetzt in einer eingeschränkten Umgebung ausgeführt.\nSkripte benutzerdefinierter Parser unterstützen jetzt `getStateAsync`, `getForeignStateAsync`, `getObjectAsync` und `getForeignObjectAsync`. Wenn zuvor `getStateAsync`/`getObjectAsync` verwendet wurde, müssen diese ggf. auf `getForeignStateAsync`/`getForeignObjectAsync geändert werden oder die IDs müssen aktualisiert werden, wenn Sie Daten von der gleichen Adapterinstanz erhalten.\nSchreiben-Skripte benutzerdefinierter Parser können jetzt `false` zurückgeben, um das Schreiben abzubrechen\nAbhängigkeiten aktualisiert",
9+
"ru": "Node.js >= 18, Админ >= 6.17, js-contoller >= 5.0.19 требуется\nИзменился способ интерпретации пользовательских сценариев. Большинство пользовательских сценариев парсера должны работать так, как раньше, но теперь они имеют ограниченный охват.\nCustom parserScripts теперь поддерживает `getStateAsync', `getForeignStateAsync', `getObjectAsync' и `getForeignObjectAsync'. Если вы использовали `getStateAsync'/`getObjectAsync', прежде чем вам нужно изменить их на `getForeignStateAsync'/`getForeignObjectAsync' или обновить идентификаторы, если вы получите данные из того же экземпляра адаптера.\nПользовательский писать парсер скрипты теперь возвращается ложным, чтобы отменить запись\nОбновленные зависимости",
10+
"pt": "Node.js >= 18, Admin >= 6.17, js-contoller >= 5.0.19 são necessários\nAlterado como scripts de parser personalizados são interpretados. A maioria dos scripts de parser personalizados deve funcionar como antes, mas eles têm um escopo limitado agora.\nScripts de parser personalizados agora suportam `getStateAsync`, `getForeignStateAsync`, `getObjectAsync` e `getForeignObjectAsync`. Se você tiver usado `getStateAsync`/`getObjectAsync` antes de precisar alterá-los para `getForeignStateAsync`/`getForeignObjectAsync ou atualizar os IDs se você receber dados da mesma instância do adaptador.\nCustom escrever scripts parser um agora retornar falso para cancelar a gravação\nDependências atualizadas",
11+
"nl": "Voor de toepassing van deze onderverdeling wordt verstaan onder: 5.0.19 zijn vereist\nVeranderd hoe aangepaste parser scripts worden geïnterpreteerd. De meeste aangepaste parser scripts moeten werken als voorheen, maar ze hebben een beperkte reikwijdte nu.\nAangepaste parser scripts ondersteunen nu Als u gebruik hebt gemaakt van .\nAangepast schrijven parser scripts an now return false to cancel the write\nBijgewerkte afhankelijkheden",
12+
"fr": "Node.js >= 18, Admin >= 6,17, js-contoller >= 5.0.19 sont nécessaires\nModification de l'interprétation des scripts d'analyse personnalisés. La plupart des scripts d'analyseurs personnalisés devraient fonctionner comme avant mais ils ont une portée limitée maintenant.\nLes scripts d'analyse personnalisés prennent désormais en charge `getStateAsync`, `getForeignStateAsync`, `getObjectAsync` et `getForeignObjectAsync`. Si vous avez utilisé `getStateAsync`/`getObjectAsync` avant de devoir les modifier pour `getForeignStateAsync`/`getForeignObjectAsync` ou mettre à jour les identifiants si vous obtenez des données de la même instance d'adaptateur.\nScripts d'analyse d'écriture personnalisés un retour false maintenant pour annuler l'écriture\nDépendances actualisées",
13+
"it": "Node.js >= 18, Admin >= 6.17, js-contoller >= 5.0.19 sono necessari\nCambiato come vengono interpretati gli script parser personalizzati. La maggior parte degli script parser personalizzati dovrebbe funzionare come prima, ma ora hanno un campo limitato.\nGli script di parser personalizzati ora supportano `getStateAsync`, `getForeignStateAsync`, `getObjectAsync` e `getForeignObjectAsync`. Se hai usato `getStateAsync`/`getObjectAsync` prima di dover cambiarli in `getForeignStateAsync`/`getForeignObjectAsync` o aggiornare gli ID se si ottengono i dati dalla stessa istanza dell'adattatore.\nScriva su ordinazione copioni parser un ora restituire falso per annullare la scrittura\nDipendenze aggiornate",
14+
"es": "Node.js \"= 18, Admin \"= 6.17, js-contoller \"= 5.0.19 Se requieren\nCambia cómo se interpretan los scripts de parser personalizados. La mayoría de los scripts de parser personalizados deben funcionar como antes pero ahora tienen un alcance limitado.\nLos scripts de parser personalizados ahora soportan `getStateAsync`, `getForeignStateAsync`, `getObjectAsync` y `getForeignObjectAsync`. Si ha utilizado `getStateAsync`/`getObjectAsync` antes de tener que cambiarlos a `getForeignStateAsync`/`getForeignObjectAsync` o actualizar los IDs si obtiene datos de la misma instancia del adaptador.\nEscrituras de parser de escritura personalizadas un ahora retorno falso para cancelar el escrito\nDependencias actualizadas",
15+
"pl": "Node.js > = 18, Admin > = 6,17, js- contoller > = 5.0.19 są wymagane\nZmieniono sposób interpretacji własnych skryptów parsera. Większość niestandardowych skryptów parser powinny działać jak wcześniej, ale mają ograniczony zakres teraz.\nNiestandardowe skrypty parsera obsługują teraz 'getStateAsync', 'getForeignStateAsync', 'getObjectAsync' i 'getForeignObjectAsync'. Jeśli użyłeś 'getStateAsync' / 'getObjectAsync', zanim musisz je zmienić na 'getForeignStateAsync' / 'getForeignObjectAsync' lub zaktualizować identyfikatory, jeśli otrzymasz dane z tej samej instancji adaptera.\nWłasny write parser skrypty a teraz zwraca false, aby anulować zapis\nAktualizacja zależności",
16+
"uk": "Node.js >= 18, Адміністратор >= 6.17, js-contoller >= 5.0.19 потрібно\nЗмінено, як інтерпретуються користувацькі сценарії. Більшість користувальницьких сценаріїв парсера повинні працювати як раніше, але вони мають обмежений обсяг.\n`getForeignStateAsync`, `getForeignStateAsync`, `getObjectAsync` та `getForeignObjectAsync`. Якщо ви використовували `getStateAsync`/`getObjectAsync` перед тим, як вам потрібно змінити їх до `getForeignStateAsync`/`getForeignObjectAsync` або оновити ID, якщо ви отримуєте дані з того ж екземпляра адаптера.\nКористувальницькі написання сценаріїв тепер повернути false для скасування запису\nОновлені залежності",
17+
"zh-cn": "节点.js QQ 18,行政 QQ 6.17,js-contoller QQ 所需经费5.0.19美元\n更改自定义解析脚本的解释方式 。 大多数自定义解析器脚本应该和以前一样有效,但它们现在的范围有限.\n自定义解析脚本现在支持“get State Async”、“getForegnation Async”、“getObjectAsync”和“getForegineObjectAsync”。 如果您先使用“ getState Async” /“ get ObjectAsync ” ,然后需要将其修改为“ getForeign State Async” /“ getForeign ObjectAsync ” ,或者如果您从同一个适配器实例获得数据,则更新了ID.\n自定义写入解析脚本 \n更新的依赖关系"
18+
},
619
"1.3.1": {
720
"en": "Fixed `autoSetValue` defaults for parsers, Fixed sentry admin integration, Updated dependencies",
821
"de": "`autoSetValue`-Standardwerte für Parser korrigiert, Sentry-Admin-Integration korrigiert, Abhängigkeiten aktualisiert",

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "iobroker.canbus",
3-
"version": "1.3.1",
3+
"version": "2.0.0",
44
"description": "CAN Bus integration",
55
"author": {
66
"name": "Peter Müller",

0 commit comments

Comments
 (0)