Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add breaking change warning for openhab-js #1646

Merged
merged 2 commits into from May 6, 2024

Conversation

florian-h05
Copy link
Contributor

@florian-h05 florian-h05 commented Apr 11, 2024

@florian-h05 florian-h05 requested a review from a team as a code owner April 11, 2024 10:25
@@ -134,6 +134,7 @@ 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'.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also document the action users need to do e.g. update rules? Is this optional or mandatory?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That’s quite difficult because there is much you can do with this.
E.g. for logging, this change doesn’t matter, but when using the equals operator to check for a given Item type, you would need to update one side of the comparison.

@holgerfriedrich
Copy link
Member

@florian-h05 can you please rebase?

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
@florian-h05
Copy link
Contributor Author

@holgerfriedrich Done 👍

@florian-h05 florian-h05 marked this pull request as draft May 2, 2024 12:43
@florian-h05
Copy link
Contributor Author

Converting to draft as I will add more warnings soon.

@florian-h05 florian-h05 force-pushed the patch-1 branch 2 times, most recently from 5b0af4e to e9e55c4 Compare May 5, 2024 20:40
@florian-h05 florian-h05 marked this pull request as ready for review May 5, 2024 20:41
@florian-h05
Copy link
Contributor Author

@kaikreuzer Can you please merge this PR for the next milestone?

@kaikreuzer kaikreuzer merged commit b470f75 into openhab:main May 6, 2024
3 checks passed
@kaikreuzer kaikreuzer added this to the 4.2 milestone May 6, 2024
@florian-h05 florian-h05 deleted the patch-1 branch May 6, 2024 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants