From 3897502da51b948753346290af56792d5240953e Mon Sep 17 00:00:00 2001 From: Florian Hotze Date: Sun, 5 May 2024 22:39:24 +0200 Subject: [PATCH] Add breaking change warnings for 5.0.0 --- distributions/openhab/src/main/resources/bin/update.lst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/distributions/openhab/src/main/resources/bin/update.lst b/distributions/openhab/src/main/resources/bin/update.lst index ca0bf2015..c577ec22a 100644 --- a/distributions/openhab/src/main/resources/bin/update.lst +++ b/distributions/openhab/src/main/resources/bin/update.lst @@ -135,6 +135,8 @@ ALERT;AndroidTV Binding: The thing configuration of 'port' has been renamed and ALERT;evcc Binding: Update to evcc API version 0.123.1 results in several new or updated channels. Existing Items will need to be adjusted. ALERT;ISM8 Binding: Most channels have changed and are now using Units of Measurements. Items must be adapted and the things must be recreated. ALERT;JavaScript Scripting Automation: The 'Item' suffix has been removed from Item.type, i.e. 'SwitchItem' becomes 'Switch'. +ALERT;JavaScript Scripting Automation: The 'Item.history' API has been replaced by 'Item.persistence', which mostly provides the same functionality, but some return types changed and 'historicState' has been renamed to 'persistedState'. Please read the docs to learn about the API. +ALERT;JavaScript Scripting Automation: Deprecated methods 'actions.ScriptExecution.createTimerWithArgument' (use 'createTimer'), 'cache.get', 'cache.put', 'cache.remove' & 'cache.exists' (use the private or shared cache) and fields 'state' (use 'receivedState') & 'receivedTrigger' (use 'receivedEvent') have been removed from the event object. ALERT;Jython Scripting: Default python lib path changed from "/automation/lib/python" to "/automation/jython/lib" and default python script path changed from "automation/jsr223" to "automation/jython". Just move your python scripts and libraries to new locations. The path "automation/jsr223" is still working, because it is used as a deprecated path for all automation add-ons. ALERT;OpenWeatherMap Binding: One Call API version 2.5 is to be shut down in June 2024. Read the binding's documentation for the migration process.