Skip to content

Commit 64cd2ad

Browse files
authored
Add breaking changes of next pythonscripting (#1826)
* Add breaking changes of next pythonscripting Signed-off-by: Holger Hees <holger.hees@gmail.com>
1 parent 7e0b352 commit 64cd2ad

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • distributions/openhab/src/main/resources/bin

distributions/openhab/src/main/resources/bin/update.lst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,11 @@ ALERT;Freebox Binding: The binding has been removed from the distribution. You s
182182
ALERT:Guntamatic Binding: Channel ID spelling errors (such as `079-interuption-0` and `080-interuption-1`) have been corrected. You may need to update items linked to these channels.
183183
ALERT;JavaScript Automation: The event object in UI-based environments has been aligned with the file-based event object. Properties are now pure JavaScript types and property names have changed. Blockly users need to resave their scripts.
184184
ALERT;JavaScript Automation: Automatic injection of the openHAB JavaScript library now allows for more fine-grained control. It is recommended to manually import required namespaces from the openhab library in file-based scripts and transformations and disable automatic injection for file-based scripts and transformations.
185+
ALERT;PythonScripting Automation: Python "openhab.Timer" removed. Can be replaced with default Threading or Timer implementation.
186+
ALERT;PythonScripting Automation: Changed parameter of "openhab.Registry.addItem"
187+
ALERT;PythonScripting Automation: Replace "NotInitialisedException" with "NotFoundException" in "openhab.Registry.getItem, "openhab.Registry.removeItem", "openhab.Registry.getThing", "openhab.Registry.getChannel"
188+
ALERT;PythonScripting Automation: "openhab.Registry.getItemMetadata", "openhab.Registry.setItemMetadata" and "openhab.Registry.removeItemMetadata" replaced by "<Item>.getMetadata().get", "<Item>.getMetadata().set" and "<Item>.getMetadata().remove"
189+
ALERT;PythonScripting Automation: "openhab.Registry.safeItemName" move to "openhab.Item.buildSafeName"
185190

186191
[[PRE]]
187192
[2.2.0]

0 commit comments

Comments
 (0)