3475 Commits
Author SHA1 Message Date
Daniel DemusandGithub Action 45700d4d44 Create fork-autosync.yml
Signed-off-by: Daniel Demus <daniel-github@demus.dk>
2026-07-24 05:26:44 +00:00
dependabot[bot]andGitHub eb77b72442 Bump com.mycila:license-maven-plugin from 5.0.0 to 5.1.1 (#5728)
Bumps [com.mycila:license-maven-plugin](https://github.com/mathieucarbou/license-maven-plugin) from 5.0.0 to 5.1.1.
- [Release notes](https://github.com/mathieucarbou/license-maven-plugin/releases)
- [Changelog](https://github.com/mathieucarbou/license-maven-plugin/blob/master/docs/releases.md)
- [Commits](https://github.com/mathieucarbou/license-maven-plugin/compare/v5.0.0...v5.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-23 17:26:35 +02:00
Holger FriedrichandGitHub 0046933547 Configure maven-shade-plugin for bc in jetty.certificate (#5647)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2026-07-21 18:19:51 +02:00
Holger FriedrichandGitHub a129375e9d [GHA] Fix rebuild label (#5724)
actions/checkout v7 no longer allows checking out foreign repositories,
unless allow-unsafe-pr-checkout: true is specified.
This PR actually removes the foreign repo checkout, as the gh tool calls
should work on the base repo as well.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2026-07-21 18:13:12 +02:00
maniac103andGitHub e9090ca84d Fix chart not being rendered if item has a label with state only (#5723)
XCharts is unhappy about an empty series name. #5722 fixed the case
where the label is empty to begin with, but omitted the case where the
item label consists only of state (e.g. "[0 %]"). Extend the item name
fallback to that case as well.

Signed-off-by: Danny Baumann <dannybaumann@web.de>
2026-07-20 16:29:42 +02:00
maniac103andGitHub 645e3069ac Fix chart not being rendered if item has no label (#5722)
XCharts is unhappy about an empty series name (see [1]), so use the item
name in that case.

Signed-off-by: Danny Baumann <dannybaumann@web.de>
2026-07-20 12:39:10 +02:00
openhab-botandGitHub 3fb49c7105 New Crowdin updates (#5721)
* New translations languagesupport.properties (Italian)

[ci skip]

* New translations systemprofiles.properties (Italian)

[ci skip]

* New translations hli.properties (Italian)

[ci skip]

* New translations automation.properties (Italian)

[ci skip]

* New translations jsr223.properties (Italian)

[ci skip]
2026-07-19 19:23:12 +02:00
NadaharandGitHub bfa4982ed3 [DSL] Make context information available for rules/scripts (#5607)
* Make context information available for DSL scripts

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>
2026-07-16 22:39:42 +02:00
jimtngandGitHub 7499f08a6e Replace remote‑addon ExpiringCache with explicit refresh to avoid expiry‑induced UI stalls (#5710)
The automatic 15‑minute cache expiry occasionally caused slow or stalled marketplace addon loads.
Users can now request a refresh on demand, ensuring predictable behaviour and consistently responsive UI performance.

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2026-07-16 14:18:26 +02:00
Holger FriedrichandGitHub 0d0bf9427b [io.monitor] Upgrade dependencies (#5660)
* metrics-core from 4.2.38 to 4.2.39

  Release notes:
  https://github.com/dropwizard/metrics/releases

* micrometer-core from 1.16.3 to 1.17.0

  Release notes:
  https://github.com/micrometer-metrics/micrometer/releases

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2026-07-15 20:07:48 +02:00
dependabot[bot]andGitHub c44cf2326b Bump org.bouncycastle:bcprov-jdk18on to 1.85 (#5718)
* Bump org.bouncycastle:bcprov-jdk18on to 1.85

Bumps [org.bouncycastle:bcprov-jdk18on](https://github.com/bcgit/bc-java) to 1.85.
- [Changelog](https://github.com/bcgit/bc-java/blob/main/docs/releasenotes.html)
- [Commits](https://github.com/bcgit/bc-java/commits)

---
updated-dependencies:
- dependency-name: org.bouncycastle:bcprov-jdk18on
  dependency-version: '1.85'
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-15 20:00:01 +02:00
Holger FriedrichandGitHub 758234f655 Upgrade bouncycastle to 1.85 (#5717)
- Upgrade bouncycastle from 1.84 to 1.85, see https://github.com/bcgit/bc-java/blob/main/docs/releasenotes.html
- Introduce bouncycastle.version, also covering version in feature.xml
- Remove excludes from dependabot.yml

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2026-07-15 18:18:42 +02:00
Holger Friedrich fef0487f43 Revert "Set system property to run GraalVM Truffle on unsupported platforms (#5715)"
This reverts commit 5a8886a06f.
2026-07-15 12:45:02 +02:00
Florian HotzeandGitHub 5a8886a06f Set system property to run GraalVM Truffle on unsupported platforms (#5715)
Refs https://github.com/openhab/openhab-addons/issues/19276.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2026-07-14 18:24:49 +02:00
NadaharandGitHub cd816f493a Make YAML rule and rule template module order "triggers-conditions-actions" instead of "conditions-actions-triggers" (#5701)
Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>
2026-07-12 13:01:07 +02:00
NadaharandGitHub ad519ff055 Fix potential NPE in ScriptTransformationServiceFactory (#5702)
Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>
2026-07-10 00:08:59 +02:00
NadaharandGitHub 58ebd6266c Prevent ClassCastException in XmlThingTypeProvider (#5703)
Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>
2026-07-09 18:46:17 +02:00
jimtngandGitHub 8e8449aab0 Addon Resource: Add installedOnly option to speed up UI binding selection (#5692)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2026-07-07 08:57:29 +02:00
github-actions[bot]andGitHub 6901413e76 Resolve itest dependencies (#5698)
Signed-off-by: openhab-bot <bot@openhab.org>
2026-07-06 23:03:40 +02:00
Florian HotzeandGitHub 1c983bedba [automation] ScriptTransformationService: Fix exception during script disposal aborts disposal (#5683)
At the moment, any exception thrown during script engine removal is able to abort disposal of the related script record.
This even propagates up so a single exception in any engine removal can make disposal of the script transformation service abort.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2026-07-06 22:14:20 +02:00
dependabot[bot]andGitHub 166f7b33b8 Bump org.codehaus.gmavenplus:gmavenplus-plugin from 5.0.0 to 5.1.0 (#5696)
Bumps [org.codehaus.gmavenplus:gmavenplus-plugin](https://github.com/groovy/GMavenPlus) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/groovy/GMavenPlus/releases)
- [Commits](https://github.com/groovy/GMavenPlus/compare/5.0.0...5.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-06 22:11:47 +02:00
Florian HotzeandGitHub 69bb176c59 [automation] AbstractScriptFileWatcher: Fix exception swallowing during script unloading (#5682)
Signed-off-by: Florian Hotze <dev@florianhotze.com>
2026-07-06 22:07:08 +02:00
Holger FriedrichandGitHub 018402b325 Prepare for OH 5.3.0 (#5697)
* Fix spotless after unleash
* Resolve itest runbundles

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2026-07-06 21:48:19 +02:00
openhab-bot 30223a011f [unleash-maven-plugin] Preparation for next development cycle. 2026-07-05 11:32:48 +00:00
Florian HotzeandGitHub e9848dc68a [voice] Refactor LLMToolCall to a standard class to allow inheritance (#5689)
Signed-off-by: Florian Hotze <dev@florianhotze.com>
2026-07-02 17:06:38 +02:00
openhab-botandGitHub 29ec4c78bf New translations languagesupport.properties (German) (#5688) 2026-07-01 14:00:33 +02:00
Florian HotzeandGitHub 0b91bafdf6 Log WebSocket: Require ADMIN role (#5687)
* Log WebSocket: Require ADMIN role

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2026-06-30 19:03:46 +02:00
Florian HotzeandGitHub 31d7ca67a8 [automation] ScriptEngineManagerImpl: Fix exception in scriptUnloaded fails engine removal (#5684)
* [automation] ScriptEngineManagerImpl: Fix exception in scriptUnloaded invocation causes engine removal to fail

When `inv.invokeFunction("scriptUnloaded")` throws an arbitrary exception that is not NSME or SE, removeEngine fails without closing the engine and removing script extensions.
Due to exception swallowing in AbstractScriptFileWatcher::removeFile (see https://github.com/openhab/openhab-core/pull/5682),
the engine removal fail was silent and not directly noticeable.

However did this cause a situation where rules (and other stuff) created in script files kept existing, causing failure of script file reloading in AbstractScriptFileWatcher.
In JS Scripting, additionally to the reloading failure, the still existing rules may fail to execute due to closed org.graalvm.polyglot.Engine context.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2026-06-28 21:53:49 +02:00
Florian HotzeandGitHub ca1babab94 Fix ScriptProfile holding reference to old, disposed instance of ScriptTransformationService (#5685)
* Script profile: Don't hold reference to disposed ScriptTransformationService instance, always use latest instance

When a ScriptTransformationService OSGi service instance restarted,
a ScriptProfile still hold a reference to the old and now disposed instance.
When using JS Scripting, this led to the famous "The context is already closed" errors,
because the ScriptEngines used by the disposed ScriptTransformationService instance were already closed.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2026-06-28 21:50:51 +02:00
dependabot[bot]andGitHub c24bbb6715 Bump actions/cache from 5 to 6 (#5680)
Bumps [actions/cache](https://github.com/actions/cache) from 5 to 6.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v5...v6)

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-26 12:28:55 +02:00
github-actions[bot]andGitHub 6deaeda692 Resolve itest dependencies (#5679) 2026-06-26 00:22:44 +02:00
lolodomoandGitHub 316db3d1d7 Delay refresh of DSL scripts until start level 20 is reached (#5665)
* Delay refresh of DSL scripts until start level 20 is reached

Align the behaviour for DSL scripts with the behaviour for DSL rules.

This can avoid usekess DSL script refreshes at OH startup due to script refresher starting too early.

The DSL rule provider is now waiting for both markers rules=refresh and scripts=refresh to provide scripts and rules to the rule registry.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2026-06-25 22:58:21 +02:00
Florian HotzeandGitHub ca7ae3e37a ScriptTransformationService: Cleanup ScriptEngines on corresponding ScriptEngineFactory removal (#5670)
Make `ScriptTransformationService` listen for the addition and removal of `ScriptEngineFactory` and clean up `ScriptEngine`s if their factory has been removed.
This fixes an issue where script transformations attempt to execute in a closed ScriptEngine.

Allows to revert the "workaround" from #4437.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2026-06-25 21:53:33 +02:00
Andrew Fiddian-GreenandGitHub 6291d2c9c1 Use alternative method to get userdata folder (#5677)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2026-06-25 21:51:08 +02:00
Florian HotzeandGitHub b4e0cffb92 [voice] LLMItemSerializer: Serialize to a token-optimized format instead of YAML (#5678)
For the LLMItemSerializerTest cases,
this reduces token usage by approximately 60%.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2026-06-25 20:50:54 +02:00
Florian HotzeandGitHub f327fae8e1 [voice] LLMItemSerializer: Add commandOptions if defined (#5676)
Signed-off-by: Florian Hotze <dev@florianhotze.com>
2026-06-25 12:34:33 +02:00
Florian HotzeandGitHub 3b151db1c2 [voice] ItemCommandLLMTool: Explain command options & Shorten description (#5675)
Signed-off-by: Florian Hotze <dev@florianhotze.com>
2026-06-25 12:13:04 +02:00
Florian HotzeandGitHub 2aad9ef6f3 [automation] AbstractScriptModuleHandler: Handle ScriptEngineFactory lifecycle (#5672)
Signed-off-by: Florian Hotze <dev@florianhotze.com>
2026-06-25 11:20:48 +02:00
Florian HotzeandGitHub a2b007acf3 [voice] ItemCommandLLMTool: Explain Item types and accepted commands in tool description (#5673)
Signed-off-by: Florian Hotze <dev@florianhotze.com>
2026-06-25 11:11:34 +02:00
lolodomoandGitHub 77fa7c4a33 Make sure createIsolatedModel clean up cache in providers before returning null (#5666)
Related to that review comment:
https://github.com/openhab/openhab-core/pull/5590#discussion_r3444716219

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2026-06-23 08:58:22 +02:00
NadaharandGitHub dcf17852bf Additional "new YAML" marketplace fixes (#5662)
* Improve exception handling when trying to install UI add-ons
* Improve robustness of "new YAML" detection
* Make sure that DTO equals() doesn't match "sibling classes" with identical content.
* Create getParsedObjects() for specific types

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>
2026-06-21 01:27:07 +02:00
NadaharandGitHub 9dae5b1021 Support "new YAML" on the marketplace for rule templates, widgets and block libraries (#5590)
* Implement support for both "new" and "old" YAML syntax for the add-on marketplace

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>
2026-06-20 00:18:58 +02:00
Mark HerwegeandGitHub b30b3e3744 Persistence extensions: preserve item unit in results (#4951)
* Preserve item unit

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2026-06-19 23:45:47 +02:00
Holger Friedrich 9837a4bab5 Revert "Disable Graal language cache (#5614)"
This reverts commit f842e2692d.
2026-06-19 21:15:22 +02:00
Andrew Fiddian-GreenandGitHub e836b08f62 Save Startlevel to a file (#5657)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2026-06-19 19:38:23 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
55258f5b66 Bump actions/checkout from 6 to 7 (#5659)
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-19 17:45:20 +02:00
NadaharandGitHub f842e2692d Disable Graal language cache (#5614)
Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>
2026-06-19 17:37:17 +02:00
Mark HerwegeandGitHub b585911ce9 Put locations first in semantic tags code (#5655)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2026-06-19 16:44:15 +02:00
NadaharandGitHub 22f29c5d10 [automation] Enable asynchronous execution of rules and lock engine lock when loading scripts (#5635)
Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>
2026-06-19 14:50:35 +02:00
NadaharandGitHub 29cfacf293 Try to fix the flaky automation integration test (#5656)
Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>
2026-06-18 22:35:57 +02:00