Skip to content

Commit

Permalink
chore: release v4.10.5
Browse files Browse the repository at this point in the history
null timeouts are checked now
  • Loading branch information
GermanBluefox committed Nov 15, 2020
1 parent d3e2f04 commit 32f131b
Show file tree
Hide file tree
Showing 15 changed files with 51 additions and 32 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG_OLD.md
@@ -1,5 +1,11 @@
The newest change log is in README.md

## 4.9.7 (2020-10-28)
* (Apollon77) Fix possible crash case (Sentry IOBROKER-JAVASCRIPT-47, IOBROKER-JAVASCRIPT-44)
* (AlCalzone) pass ID as the result, not the error to the callback of createState
* (AlCalzone) update the editor's type declarations when switching scripts
* (AlCalzone) The corrections for typescript were added

## 4.9.4 (2020-10-19)
* (AlCalzone) corrected the crash IOBROKER-JAVASCRIPT-40
* (AlCalzone) corrected typescript for async/await
Expand Down
9 changes: 3 additions & 6 deletions README.md
Expand Up @@ -38,6 +38,9 @@ And then call "npm run build".
-->

## Changelog
### 4.10.5 (2020-11-15)
* (bluefox) null timeouts are checked now

### 4.10.4 (2020-11-09)
* (bluefox) null timeouts are checked now
* (AlCalzone) Correction for the typescript with async functions
Expand All @@ -60,12 +63,6 @@ And then call "npm run build".
### 4.9.8 (2020-11-01)
* (bluefox) Corrected search in blockly

### 4.9.7 (2020-10-28)
* (Apollon77) Fix possible crash case (Sentry IOBROKER-JAVASCRIPT-47, IOBROKER-JAVASCRIPT-44)
* (AlCalzone) pass ID as the result, not the error to the callback of createState
* (AlCalzone) update the editor's type declarations when switching scripts
* (AlCalzone) The corrections for typescript were added

## License

The MIT License (MIT)
Expand Down
10 changes: 5 additions & 5 deletions admin/asset-manifest.json
@@ -1,26 +1,26 @@
{
"files": {
"main.css": "/static/css/main.ec63fb86.chunk.css",
"main.js": "/static/js/main.74fb53f3.chunk.js",
"main.js.map": "/static/js/main.74fb53f3.chunk.js.map",
"main.js": "/static/js/main.805d303a.chunk.js",
"main.js.map": "/static/js/main.805d303a.chunk.js.map",
"runtime-main.js": "/static/js/runtime-main.36ac425a.js",
"runtime-main.js.map": "/static/js/runtime-main.36ac425a.js.map",
"static/css/2.a45507c4.chunk.css": "/static/css/2.a45507c4.chunk.css",
"static/js/2.df5a5b09.chunk.js": "/static/js/2.df5a5b09.chunk.js",
"static/js/2.df5a5b09.chunk.js.map": "/static/js/2.df5a5b09.chunk.js.map",
"index.html": "/index.html",
"precache-manifest.93ab6e4207269e1677bf84492d79be6c.js": "/precache-manifest.93ab6e4207269e1677bf84492d79be6c.js",
"precache-manifest.a2cae4031fba9993e3cd556791b3ff1b.js": "/precache-manifest.a2cae4031fba9993e3cd556791b3ff1b.js",
"service-worker.js": "/service-worker.js",
"static/css/2.a45507c4.chunk.css.map": "/static/css/2.a45507c4.chunk.css.map",
"static/css/main.ec63fb86.chunk.css.map": "/static/css/main.ec63fb86.chunk.css.map",
"static/js/2.df5a5b09.chunk.js.LICENSE.txt": "/static/js/2.df5a5b09.chunk.js.LICENSE.txt",
"static/js/main.74fb53f3.chunk.js.LICENSE.txt": "/static/js/main.74fb53f3.chunk.js.LICENSE.txt"
"static/js/main.805d303a.chunk.js.LICENSE.txt": "/static/js/main.805d303a.chunk.js.LICENSE.txt"
},
"entrypoints": [
"static/js/runtime-main.36ac425a.js",
"static/css/2.a45507c4.chunk.css",
"static/js/2.df5a5b09.chunk.js",
"static/css/main.ec63fb86.chunk.css",
"static/js/main.74fb53f3.chunk.js"
"static/js/main.805d303a.chunk.js"
]
}
@@ -1,14 +1,14 @@
self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": "f362cd440c9e22c7ec6124ff514da842",
"revision": "700a02b27936a75e51660d11a0641684",
"url": "/index.html"
},
{
"revision": "f59d7c38f25a63e263d2",
"url": "/static/css/2.a45507c4.chunk.css"
},
{
"revision": "702b06a9141f862c361f",
"revision": "5402a3ef6429bc8f75f3",
"url": "/static/css/main.ec63fb86.chunk.css"
},
{
Expand All @@ -20,12 +20,12 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/static/js/2.df5a5b09.chunk.js.LICENSE.txt"
},
{
"revision": "702b06a9141f862c361f",
"url": "/static/js/main.74fb53f3.chunk.js"
"revision": "5402a3ef6429bc8f75f3",
"url": "/static/js/main.805d303a.chunk.js"
},
{
"revision": "578fa69920ac4a551e6d340a37256bed",
"url": "/static/js/main.74fb53f3.chunk.js.LICENSE.txt"
"url": "/static/js/main.805d303a.chunk.js.LICENSE.txt"
},
{
"revision": "0bb40a41b8abfdf8d583",
Expand Down
2 changes: 1 addition & 1 deletion admin/service-worker.js
Expand Up @@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");

importScripts(
"/precache-manifest.93ab6e4207269e1677bf84492d79be6c.js"
"/precache-manifest.a2cae4031fba9993e3cd556791b3ff1b.js"
);

self.addEventListener('message', (event) => {
Expand Down

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.

Binary file modified admin/vs/base/browser/ui/codicons/codicon/codicon.ttf
Binary file not shown.
14 changes: 13 additions & 1 deletion io-package.json
Expand Up @@ -20,8 +20,20 @@
"Apollon77 <iobroker@fischer-ka.de>",
"AlCalzone"
],
"version": "4.10.4",
"version": "4.10.5",
"news": {
"4.10.5": {
"en": "null timeouts are checked now",
"de": "Null-Timeouts werden jetzt überprüft",
"ru": "нулевые таймауты проверены сейчас",
"pt": "tempos limites nulos são verificados agora",
"nl": "null-time-outs worden nu gecontroleerd",
"fr": "les délais d'expiration nuls sont vérifiés maintenant",
"it": "i timeout nulli sono controllati ora",
"es": "los tiempos de espera nulos están marcados ahora",
"pl": "zerowe limity czasu są teraz sprawdzane",
"zh-cn": "现在检查空超时"
},
"4.10.4": {
"en": "null timeouts are checked now\nCorrection for the typescript with async functions",
"de": "Null-Timeouts werden jetzt überprüft\nKorrektur für das Typoskript mit asynchronen Funktionen",
Expand Down
18 changes: 11 additions & 7 deletions lib/sandbox.js
Expand Up @@ -1293,14 +1293,18 @@ function sandBox(script, name, verbose, debug, context) {
errorInCallback(e); //adapter.log.error('Error in callback: ' + e)
}
});
schedule._ioBroker = {
type: 'cron',
pattern,
scriptName: sandbox.name,
id: 'cron_' + Date.now() + '_' + Math.round((Math.random() * 100000))
};
if (schedule) {
schedule._ioBroker = {
type: 'cron',
pattern,
scriptName: sandbox.name,
id: 'cron_' + Date.now() + '_' + Math.round((Math.random() * 100000))
};

script.schedules.push(schedule);
script.schedules.push(schedule);
} else {
sandbox.log('schedule(cron=' + pattern + '): cannot create schedule', 'error');
}

sandbox.verbose && sandbox.log('schedule(cron=' + pattern + ')', 'info');

Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "iobroker.javascript",
"version": "4.10.4",
"version": "4.10.5",
"description": "Javascript/Coffescript Script 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": "4.10.4",
"version": "4.10.5",
"private": true,
"dependencies": {
"@material-ui/core": "^4.11.0",
Expand Down
Binary file modified src/public/vs/base/browser/ui/codicons/codicon/codicon.ttf
Binary file not shown.

0 comments on commit 32f131b

Please sign in to comment.