这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@florian-h05
Copy link
Contributor

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/v4.5.1/CHANGELOG.md#451.

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.
@florian-h05 florian-h05 changed the title [jsscripting] Upgrade openhab-js to 4.5.1 to fix cached injection [jsscripting] Upgrade openhab-js to fix cached library injection Jul 30, 2023
@florian-h05 florian-h05 requested a review from jlaur July 30, 2023 12:24
Copy link
Contributor

@jlaur jlaur left a comment

Choose a reason for hiding this comment

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

Thanks! Can you fix the DCO? Would you agree this should be backported to 4.0.x as a regression?

@jlaur jlaur added the bug An unexpected problem or unintended behavior of an add-on label Jul 30, 2023
@florian-h05
Copy link
Contributor Author

Is it enough to comment DCO?

Signed-off-by: Florian Hotze florianh_dev@icloud.com

Would you agree this should be backported to 4.0.x as a regression?

Yes, just give me one or two day(s) to test the SNAPSHOT before backporting this.

@jlaur jlaur merged commit bf7f24c into openhab:main Jul 30, 2023
@jlaur jlaur added this to the 4.1 milestone Jul 30, 2023
@florian-h05 florian-h05 deleted the jsscripting-ohjs branch July 30, 2023 13:01
@florian-h05
Copy link
Contributor Author

@jlaur I've tested the fix, works great! This is ready to be backported now.

jlaur pushed a commit that referenced this pull request Aug 2, 2023
…5336)

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>
@jlaur jlaur added the backported A PR that has been cherry-picked to a patch release branch label Aug 2, 2023
@openhab-bot
Copy link
Collaborator

This pull request has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/20-seconds-delay-until-js-script-gets-executed/148181/6

austvik pushed a commit to austvik/openhab-addons that referenced this pull request Mar 27, 2024
…enhab#15336)

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>
Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backported A PR that has been cherry-picked to a patch release branch bug An unexpected problem or unintended behavior of an add-on

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants