Skip to content

Commit

Permalink
chore: release v7.9.1
Browse files Browse the repository at this point in the history
* (klein0r) Configurable trigger warning limit (default: 100 per script)
* (klein0r) Allow to use objects in create state blocks for common
* (klein0r) Added warning if latitude or longitude is not configured correctly
  • Loading branch information
klein0r committed Mar 15, 2024
1 parent e7fdeee commit 1e93c05
Show file tree
Hide file tree
Showing 14 changed files with 45 additions and 42 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG_OLD.md
@@ -1,4 +1,11 @@
The newest change log is in README.md
## 7.6.2 (2024-01-02)

* (klein0r) Added missing console.info()
* (klein0r) Added missing type hints
* (klein0r) Creation of astro states is now optional
* (klein0r) Fixed logging of objects/sets

## 7.6.0 (2023-12-26)

* (klein0r) Added schedules by state value (scheduleById)
Expand Down
9 changes: 1 addition & 8 deletions README.md
Expand Up @@ -46,7 +46,7 @@ Since v5.5.0 of the JavaScript adapter the following locations (relative to the
<!--
### **WORK IN PROGRESS**
-->
### **WORK IN PROGRESS**
### 7.9.1 (2024-03-15)

* (klein0r) Configurable trigger warning limit (default: 100 per script)
* (klein0r) Allow to use objects in create state blocks for common
Expand Down Expand Up @@ -74,13 +74,6 @@ Since v5.5.0 of the JavaScript adapter the following locations (relative to the

* (klein0r) Fixed bug in formatTimeDiff Blockly

### 7.6.2 (2024-01-02)

* (klein0r) Added missing console.info()
* (klein0r) Added missing type hints
* (klein0r) Creation of astro states is now optional
* (klein0r) Fixed logging of objects/sets

## License
The MIT License (MIT)

Expand Down
1 change: 1 addition & 0 deletions admin/adminWords.js

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

10 changes: 5 additions & 5 deletions admin/asset-manifest.json
@@ -1,8 +1,8 @@
{
"files": {
"main.js": "/static/js/main.1ba668af.js",
"main.js": "/static/js/main.3fb899c6.js",
"static/css/864.42bfc5f3.chunk.css": "/static/css/864.42bfc5f3.chunk.css",
"static/js/864.d74c524e.chunk.js": "/static/js/864.d74c524e.chunk.js",
"static/js/864.475570a4.chunk.js": "/static/js/864.475570a4.chunk.js",
"static/js/805.7c367e53.chunk.js": "/static/js/805.7c367e53.chunk.js",
"static/js/431.a62490cf.chunk.js": "/static/js/431.a62490cf.chunk.js",
"static/js/702.1692c400.chunk.js": "/static/js/702.1692c400.chunk.js",
Expand Down Expand Up @@ -160,9 +160,9 @@
"static/media/Garage Doors.svg": "/static/media/Garage Doors.0c2a1cfca7ad1ea59625.svg",
"static/media/Outdoor Blinds.svg": "/static/media/Outdoor Blinds.37b85a9c060a4af48da9.svg",
"static/media/Upstairs.svg": "/static/media/Upstairs.441813e54e0daca0882d.svg",
"main.1ba668af.js.map": "/static/js/main.1ba668af.js.map",
"main.3fb899c6.js.map": "/static/js/main.3fb899c6.js.map",
"864.42bfc5f3.chunk.css.map": "/static/css/864.42bfc5f3.chunk.css.map",
"864.d74c524e.chunk.js.map": "/static/js/864.d74c524e.chunk.js.map",
"864.475570a4.chunk.js.map": "/static/js/864.475570a4.chunk.js.map",
"805.7c367e53.chunk.js.map": "/static/js/805.7c367e53.chunk.js.map",
"431.a62490cf.chunk.js.map": "/static/js/431.a62490cf.chunk.js.map",
"702.1692c400.chunk.js.map": "/static/js/702.1692c400.chunk.js.map",
Expand Down Expand Up @@ -195,6 +195,6 @@
"96.fe9915d5.chunk.js.map": "/static/js/96.fe9915d5.chunk.js.map"
},
"entrypoints": [
"static/js/main.1ba668af.js"
"static/js/main.3fb899c6.js"
]
}
8 changes: 2 additions & 6 deletions admin/google-blockly/own/blocks_system.js
Expand Up @@ -640,15 +640,11 @@ Blockly.JavaScript['create'] = function(block) {
let paraC = '';

if (value !== null && value !== '') {
paraV = ', ' + value;
paraV = `, ${value}`;
}

if (common !== null && common !== '') {
if (typeof common === 'object') {
paraC = `, JSON.parse(${JSON.stringify(common)})`;
} else {
paraC = `, JSON.parse(${common})`;
}
paraC = `, ((common) => typeof common !== 'object' ? JSON.parse(common) : common)(${common})`;
}

return `createState('${name}'${paraV}${paraC}, async () => {\n` +
Expand Down
6 changes: 6 additions & 0 deletions admin/index_m.html
Expand Up @@ -530,6 +530,12 @@
<label for="maxSetStatePerMinute" class="translate">Maximum setState requests per Minute per Script</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<input class="value validate" placeholder="100" id="maxTriggersPerScript" type="number" min="20" max="100000">
<label for="maxTriggersPerScript" class="translate">Maximum triggers per Script (until warning)</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<input type="checkbox" id="allowSelfSignedCerts" class="value" />
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion admin/tab.html

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions io-package.json
Expand Up @@ -21,8 +21,21 @@
"AlCalzone <d.griesel@gmx.net>",
"Matthias Kleine <info@haus-automatisierung.com>"
],
"version": "7.9.0",
"version": "7.9.1",
"news": {
"7.9.1": {
"en": "Configurable trigger warning limit (default: 100 per script)\nAllow to use objects in create state blocks for common\nAdded warning if latitude or longitude is not configured correctly",
"de": "Konfigurierbare Triggerwarngrenze (Standard: 100 pro Skript)\nErlauben Sie, Objekte in erstellen Zustand Blöcke für gemeinsame\nWarnung hinzugefügt, wenn Breite oder Länge nicht korrekt konfiguriert ist",
"ru": "Настраиваемый предел триггерного предупреждения (по умолчанию: 100 за сценарий)\nПозволить использовать объекты в создании государственных блоков для общего\nДобавить предупреждение, если широта или долгота не настроены правильно",
"pt": "Limite de aviso de gatilho configurável (padrão: 100 por script)\nPermitir usar objetos em criar blocos de estado para comum\nAdicionado aviso se a latitude ou longitude não estiver configurada corretamente",
"nl": "Configureerbare waarschuwingslimiet voor triggers (standaard: 100 per script)\nObjecten in aanmaken van statusblokken toestaan voor gewone\nToegevoegde waarschuwing als breedte- of lengtegraad niet correct is ingesteld",
"fr": "Limite d'avertissement de déclenchement configurable (par défaut : 100 par script)\nPermettre d'utiliser des objets dans créer des blocs d'état pour commun\nAjout d'un avertissement si la latitude ou la longitude n'est pas configurée correctement",
"it": "Limite di avviso di trigger configurabile (default: 100 per script)\nConsentire di utilizzare oggetti in creare blocchi di stato per i comuni\nAvvertenza aggiunta se latitudine o longitudine non è configurata correttamente",
"es": "Límite de advertencia de disparador configurable (por defecto: 100 por script)\nPermitir utilizar objetos en crear bloques estatales para uso común\nAdvertencia agregada si la latitud o longitud no está configurada correctamente",
"pl": "Konfigurowalny limit ostrzegawczy (domyślnie: 100 na skrypt)\nPozwól używać obiektów w tworzeniu bloków stanu dla wspólnych\nDodano ostrzeżenie, jeśli szerokość lub długość geograficzna nie jest poprawnie skonfigurowana",
"uk": "Конфігураційне обмеження попередження пропуску (default: 100 за скрипт)\nДозволяє використовувати об'єкти у створенні державних блоків для загального користування\nДодано попередження, якщо широта або довгота не налаштована правильно",
"zh-cn": "可配置触发警告限制( 默认: 每个脚本100)\n允许在常见的创建状态块中使用对象\n如果未正确配置纬度或经度,则添加警告"
},
"7.9.0": {
"en": "Added block to create new objects\nAdded HTTP get and post function\nDroped support of coffeescript (deprecated since version 6.0.0)\nRaise warning if more than 100 triggers have been registered\nFixed astro state calculation (and display server time in dialog)",
"de": "Block hinzugefügt, um neue Objekte zu erstellen\nHTTP get und Post Funktion hinzugefügt\nDroped-Unterstützung von Coffeescript (abgeschrieben seit Version 6.0.0)\nRegelwarnung, wenn mehr als 100 Auslöser registriert wurden\nFeste Astro-Zustandsberechnung (und die Serverzeit im Dialog anzeigen)",
Expand Down Expand Up @@ -100,19 +113,6 @@
"pl": "Dodany harmonogram (planById)",
"uk": "Додано графіки державного значення (scheduleById)",
"zh-cn": "按国家价值开列的增加时间表(附表ById)"
},
"7.5.1": {
"en": "Added option for calendar week to Blockly\nFixed inpaired round brackets of getMinutes (Blockly)",
"de": "Option für Kalenderwoche zu Blockly hinzugefügt\nBefestigte runde Klammern von getMinutes (Blockly)",
"ru": "Добавлена опция для календарной недели на Blockly\nФиксированные инпарированные круглые скобки getMinutes (Blockly)",
"pt": "Adicionado opção para semana de calendário para Blockly\nSuportes redondos emparelhados fixos de getMinutes (Blockly)",
"nl": "Optie voor kalenderweek\nGereserveerd ronde tackets van getMinutes (Blockly)",
"fr": "Option ajoutée pour la semaine civile à Blockly\nFixed inpaired round brackets of getMinutes (Blockly)",
"it": "Aggiunta opzione per settimana di calendario a Blockly\nStaffe fisse rotonde di getMinutes (Blockly)",
"es": "Opción adicional para la semana calendario a Bloqueo\nSoportes fijos de redondeo de getMinutes (Blockly)",
"pl": "Poniższa opcja w tygodniu kalendarzowym\nFixed inpaired roundbrackets of getMinutes (Blockly) (ang.)",
"uk": "Додано варіант для календарного тижня до Blockly\nФіксовані круглі кронштейни getMinutes (Блокально)",
"zh-cn": "增加会议日历\n固定在粉碎的圆桌(锁定)"
}
},
"desc": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "iobroker.javascript",
"version": "7.9.0",
"version": "7.9.1",
"description": "Rules Engine for ioBroker",
"author": "bluefox <dogafox@gmail.com>",
"contributors": [
Expand Down
2 changes: 1 addition & 1 deletion src/package.json
@@ -1,6 +1,6 @@
{
"name": "js",
"version": "7.9.0",
"version": "7.9.1",
"private": true,
"dependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
Expand Down

0 comments on commit 1e93c05

Please sign in to comment.