Skip to content

Commit

Permalink
Add breaking change warning for openhab-js (#1646)
Browse files Browse the repository at this point in the history
* Add breaking change warning for openhab-js
* Add breaking change warnings for 5.0.0

Refs https://github.com/openhab/openhab-js/blob/main/CHANGELOG.md#500.

Signed-off-by: Florian Hotze <[email protected]>
  • Loading branch information
florian-h05 committed May 6, 2024
1 parent 354596c commit b470f75
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions distributions/openhab/src/main/resources/bin/update.lst
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ ALERT;Twitter Binding has become X. All related references to Twitter and Tweets
ALERT;AndroidTV Binding: The thing configuration of 'port' has been renamed and split to 'googletvPort' and 'shieldtvPort'
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'. Blockly users should search for '.history' using the developer sidebar and re-save all scripts that contain this search query.
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.
ALERT;Persistence Extensions: "historicState" and evolutionRate" have been deprecated and replaced by "persistedState" and "evolutionRateSince". They will be removed in a future version. Methods may now return QuantityType instead of DecimalType. See documentation for details.
Expand Down

0 comments on commit b470f75

Please sign in to comment.