* [jsscripting] Fix console logger name is missing for UI scripts
* [jsscripting] Fix timer identifier "missing" for setTimeout/setInterval for UI scripts
Fixes#17165.
Caused by https://github.com/openhab/openhab-core/pull/4289.
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
The command to install an npm package that was suggested in the documentation would not work, as it was missing the required path. I've added information to explain this is required.
Signed-off-by: SkyLined <cojmpjum_github.com@sxd.be>
* New translations volumio.properties (French)
* New translations astro.properties (Finnish)
* New translations chromecast.properties (Finnish)
* New translations icloud.properties (Finnish)
* New translations tradfri.properties (Finnish)
* New translations icalendar.properties (Finnish)
* New translations dali.properties (Finnish)
* New translations fmiweather.properties (Finnish)
* New translations modbus.properties (Finnish)
* New translations mybmw.properties (Finnish)
* New translations netatmo.properties (Finnish)
* New translations rollershutter.properties (Finnish)
* New translations vat.properties (Finnish)
* New translations avmfritz.properties (Italian)
* New translations enigma2.properties (Italian)
* New translations astro.properties (Dutch)
* New translations openweathermap.properties (Dutch)
* New translations dsmr.properties (Dutch)
* New translations systeminfo.properties (Dutch)
* New translations unifi.properties (Dutch)
* New translations jsscripting.properties (Dutch)
* New translations inmemory.properties (Dutch)
* New translations mapdb.properties (Dutch)
* New translations rrd4j.properties (Dutch)
* New translations smhi.properties (Swedish)
* New translations plex.properties (Italian)
* New translations openwebnet.properties (Italian)
* New translations solarforecast.properties (Finnish)
* New translations nikohomecontrol.properties (Dutch)
* New translations emotiva.properties (Italian)
* New translations volumio.properties (Italian)
* New translations siemenshvac.properties (Italian)
Second attempt to fix a problem, where persisting TimeSeries failed when injection caching was enabled.
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
* [jsscripting] Improve script error logging
* [jsscripting] Suppress some warnings
* [jsscripting] Throw ISE instead of RE
* [jsscripting] Minor null annotation improvements
Include fileName or ruleUID or transformation UID in the logger name used by the logged error stack trace.
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
* New translations openwebnet.properties (Italian)
* New translations jsscripting.properties (Danish)
* New translations hdpowerview.properties (Danish)
* New translations netatmo.properties (Italian)
* New translations danfossairunit.properties (Danish)
* New translations jsscripting.properties (Italian)
* [automation] Code optimization for Java17: instanceof matching and multiline strings
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
* [automation] Make use of Java17 features
Use Map/Set/List.of instead of Collections.
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
* review comment
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
---------
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
It was found out that a recent change to the webpack config for the library injection bundle heavily affected performance of the evaluation of the cached injection.
openhab-js 4.5.1 fixes that regression and one minor bug, see https://github.com/openhab/openhab-js/blob/main/CHANGELOG.md#451.
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>