Skip to content

Commit

Permalink
chore: release v2.0.0
Browse files Browse the repository at this point in the history
* (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
  • Loading branch information
crycode-de committed Nov 2, 2024
1 parent 06c617c commit 5bc1f84
Show file tree
Hide file tree
Showing 7 changed files with 106 additions and 82 deletions.
61 changes: 60 additions & 1 deletion CHANGELOG_OLD.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,63 @@ The newest change log is in README.md
* (crycode-de) Parsers read on json state change with ack=false

### 0.0.1
* (crycode-de) initial development release
* (crycode-de) initial development release
## 1.2.1 (2021-06-22)

* (crycode-de) Added option to automatically set a certain value in a given interval for each parser
* (crycode-de) Added checks for duplicate parser IDs
* (VeSler) Russian translation updates
* (crycode-de) Use inline sourcemaps for the adapter build files to make remote debugging work
* (crycode-de) Updated dependencies

## 1.1.4 (2021-04-30)

* (crycode-de) Added license information to import of well-known configurations
* (crycode-de) Fixed "Parser returned wrong data type undefined" log message
* (crycode-de) Updated dependencies

## 1.1.3 (2021-04-12)

* (crycode-de) Added definition of possible state values in admin
* (crycode-de) Added selection of the state role for each parser in admin
* (crycode-de) Fixed display bug of floating action buttons in admin
* (crycode-de) Export uses defaults if some config parts are not defined (e.g. if the config is from an older version)
* (crycode-de) Fixed wrong validation if a message/parser was deleted

## 1.1.2 (2021-04-06)

* (crycode-de) Added copy/paste function for message and parser configurations in admin

## 1.1.1 (2021-04-02)

* (crycode-de) Import bugfixes
* (crycode-de) Prevent wrong log warning if a parser returned undefined
* (crycode-de) Added react errorboundary for better clientside error handling

## 1.1.0 (2021-04-01)

* (crycode-de) Added import/export feature for messages in json or csv format
* (crycode-de) Added import of well known configurations from GitHub
* (crycode-de) Fixed config import in admin
* (crycode-de) Added ioBroker state data type option for custom parsers

## 1.0.2 (2021-03-26)

* (crycode-de) Fixed issue where missing state prevented custom parser write
* (DutchmanNL) Dutch translation updates
* (UncleSamSwiss) French translation updates
* (VeSler) Russian translation updates

## 1.0.1 (2021-03-12)

* (crycode-de) Use a queue to process *parser* and *send* state changes in the correct order
* (crycode-de) Fixed some spelling issues
* (crycode-de) Updated dependencies

## 1.0.0 (2021-02-23)

* (crycode-de) Sort messages in admin
* (VeSler) Russian admin translations
* (crycode-de) Updated dependencies

Older changelog is in CHANGELOG_OLD.md
62 changes: 1 addition & 61 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ By writing JSON data to the `raw.send` state you are able to send CAN messages c
Placeholder for the next version (at the beginning of the line):
### **WORK IN PROGRESS**
-->
### **WORK IN PROGRESS**
### 2.0.0 (2024-11-02)

* (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.
Expand Down Expand Up @@ -193,66 +193,6 @@ By writing JSON data to the `raw.send` state you are able to send CAN messages c
* (crycode-de) Fixed text colors in dark theme of admin 5
* (crycode-de) Updated dependencies

### 1.2.1 (2021-06-22)

* (crycode-de) Added option to automatically set a certain value in a given interval for each parser
* (crycode-de) Added checks for duplicate parser IDs
* (VeSler) Russian translation updates
* (crycode-de) Use inline sourcemaps for the adapter build files to make remote debugging work
* (crycode-de) Updated dependencies

### 1.1.4 (2021-04-30)

* (crycode-de) Added license information to import of well-known configurations
* (crycode-de) Fixed "Parser returned wrong data type undefined" log message
* (crycode-de) Updated dependencies

### 1.1.3 (2021-04-12)

* (crycode-de) Added definition of possible state values in admin
* (crycode-de) Added selection of the state role for each parser in admin
* (crycode-de) Fixed display bug of floating action buttons in admin
* (crycode-de) Export uses defaults if some config parts are not defined (e.g. if the config is from an older version)
* (crycode-de) Fixed wrong validation if a message/parser was deleted

### 1.1.2 (2021-04-06)

* (crycode-de) Added copy/paste function for message and parser configurations in admin

### 1.1.1 (2021-04-02)

* (crycode-de) Import bugfixes
* (crycode-de) Prevent wrong log warning if a parser returned undefined
* (crycode-de) Added react errorboundary for better clientside error handling

### 1.1.0 (2021-04-01)

* (crycode-de) Added import/export feature for messages in json or csv format
* (crycode-de) Added import of well known configurations from GitHub
* (crycode-de) Fixed config import in admin
* (crycode-de) Added ioBroker state data type option for custom parsers

### 1.0.2 (2021-03-26)

* (crycode-de) Fixed issue where missing state prevented custom parser write
* (DutchmanNL) Dutch translation updates
* (UncleSamSwiss) French translation updates
* (VeSler) Russian translation updates

### 1.0.1 (2021-03-12)

* (crycode-de) Use a queue to process *parser* and *send* state changes in the correct order
* (crycode-de) Fixed some spelling issues
* (crycode-de) Updated dependencies

### 1.0.0 (2021-02-23)

* (crycode-de) Sort messages in admin
* (VeSler) Russian admin translations
* (crycode-de) Updated dependencies

Older changelog is in CHANGELOG_OLD.md

## License

Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)
Expand Down
40 changes: 26 additions & 14 deletions admin/build/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions admin/build/index.js.map

Large diffs are not rendered by default.

15 changes: 14 additions & 1 deletion io-package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
{
"common": {
"name": "canbus",
"version": "1.3.1",
"version": "2.0.0",
"news": {
"2.0.0": {
"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",
"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",
"ru": "Node.js >= 18, Админ >= 6.17, js-contoller >= 5.0.19 требуется\nИзменился способ интерпретации пользовательских сценариев. Большинство пользовательских сценариев парсера должны работать так, как раньше, но теперь они имеют ограниченный охват.\nCustom parserScripts теперь поддерживает `getStateAsync', `getForeignStateAsync', `getObjectAsync' и `getForeignObjectAsync'. Если вы использовали `getStateAsync'/`getObjectAsync', прежде чем вам нужно изменить их на `getForeignStateAsync'/`getForeignObjectAsync' или обновить идентификаторы, если вы получите данные из того же экземпляра адаптера.\nПользовательский писать парсер скрипты теперь возвращается ложным, чтобы отменить запись\nОбновленные зависимости",
"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",
"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",
"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",
"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",
"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",
"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",
"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Оновлені залежності",
"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更新的依赖关系"
},
"1.3.1": {
"en": "Fixed `autoSetValue` defaults for parsers, Fixed sentry admin integration, Updated dependencies",
"de": "`autoSetValue`-Standardwerte für Parser korrigiert, Sentry-Admin-Integration korrigiert, Abhängigkeiten aktualisiert",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iobroker.canbus",
"version": "1.3.1",
"version": "2.0.0",
"description": "CAN Bus integration",
"author": {
"name": "Peter Müller",
Expand Down

0 comments on commit 5bc1f84

Please sign in to comment.