2c6fdb3ee4
Bump org.apache.maven.plugins:maven-archetype-plugin from 3.4.0 to 3.4.1 ( #5071 )
...
Bumps [org.apache.maven.plugins:maven-archetype-plugin](https://github.com/apache/maven-archetype ) from 3.4.0 to 3.4.1.
- [Release notes](https://github.com/apache/maven-archetype/releases )
- [Commits](https://github.com/apache/maven-archetype/compare/maven-archetype-3.4.0...maven-archetype-3.4.1 )
---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-archetype-plugin
dependency-version: 3.4.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-11 11:15:09 +02:00
21335699e6
Bump org.apache.maven.archetype:archetype-packaging from 3.4.0 to 3.4.1 ( #5070 )
...
Bumps [org.apache.maven.archetype:archetype-packaging](https://github.com/apache/maven-archetype ) from 3.4.0 to 3.4.1.
- [Release notes](https://github.com/apache/maven-archetype/releases )
- [Commits](https://github.com/apache/maven-archetype/compare/maven-archetype-3.4.0...maven-archetype-3.4.1 )
---
updated-dependencies:
- dependency-name: org.apache.maven.archetype:archetype-packaging
dependency-version: 3.4.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-11 11:14:43 +02:00
Nadahar and GitHub
191b62df7f
Fix ActionHandler.execute() nullness annotation ( #4974 )
...
Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com >
2025-10-11 08:35:39 +02:00
lolodomo and GitHub
6282298b15
[YAML provider] Fix check of syntax for item names ( #5065 )
...
Closes #4903
Makes check consistent with what was done for DSL in #4928
Signed-off-by: Laurent Garnier <lg.hc@free.fr >
2025-10-10 23:32:33 +02:00
Florian Hotze and GitHub
26015ff8c5
ScriptTransformationService: Handle engine removal through ScriptEngineManager ( #5063 )
...
* ScriptTransformationService: Fix engine closed too early
Currently, there are two issues:
When a ScriptRecord is cleared from the cache,
the ScriptTransformationService currently closes the ScriptEngine itself, without involving the ScriptEngineManager.
If a transformation script is invoked again after it has been cleared from the scriptCache, the ScriptEngineManager::createScriptEngine call makes the ScriptEngineManager first remove the old engine from its internal "store",
which includes invoking the scriptUnloaded hook. This invocation can cause an exception because the engine is already closed (by ScriptTransformationService) and hence function/method invocations inside the engine are not possible anymore.
Ff the engine implement Compilable, it is even closed two times by ScriptTransformationService, possibly causing an exception if the ScriptEngine doesn't handle multiple close() calls gracefully.
These issues are fixed by properly notifying the ScriptEngineManager when an engine should be removed and leaving the removal handling to the ScriptEngineManager.
The issues were discovered while working on #5062 .
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-10-10 23:30:56 +02:00
Florian Hotze and GitHub
508f1f61cc
ScriptTransformationService: Implement missing script dependency tracking ( #5062 )
...
Closes #5046 .
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-10-10 23:26:34 +02:00
Nadahar and GitHub
5972b1ea31
Make TimerImpl thread-safe ( #5051 )
...
Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com >
2025-10-10 23:24:43 +02:00
Nadahar and GitHub
aa73ac8171
Isolate discovery result registrations from binding threads ( #5032 )
...
By using the discovery thread pool to do the actual registrations in AbstractDiscoveryService, binding threads won't have to wait for the registration to complete, which can be slow.
In addition, some thread-safety fixes have been done in AbstractDiscoveryService and DiscoveryServiceRegistryImpl, both to avoid contention and to ensure isolation of mutable objects.
Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com >
2025-10-10 23:19:14 +02:00
Nadahar and GitHub
9d679718ed
Fix AddonSuggestionService configuration ( #5042 )
...
AddonSuggestionService has had a delayed application of configuration because it was based on a timer that refreshed it every minute. This led to various issue where "wrong decision" were made based on stale information. This addresses the root cause for why the configuration wasn't delivered in a timely manner by OSGi, and removes the scheduled configuration refresh.
For the configuration to be accessible to multiple bundles, its "location" must be "a region". This must be configured before any bundle tries to use the configuration. To do this very early, it has been attached to the Activator of the "main core bundle". It doesn't have to be there, as long as it will always run very early during startup.
Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com >
2025-10-08 20:30:06 +02:00
Nadahar and GitHub
9aa597249a
Add tests for rules and rule templates JSON parser ( #4910 )
...
Additionally, change HashSet to LinkedHashSet in classes RuleGSONParser and TemplateGSONParser
to make iteration order predictable.
Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com >
2025-10-08 19:04:22 +02:00
Cody Cutrer and GitHub
71692e7b36
Add item overloads for providing source ( #5040 )
...
* Add item overloads for providing source
Signed-off-by: Cody Cutrer <cody@cutrer.us >
2025-10-07 22:39:40 +02:00
dependabot[bot] and GitHub
1517cc36ea
Bump org.codehaus.mojo:exec-maven-plugin from 3.6.0 to 3.6.1 ( #5060 )
...
Bumps [org.codehaus.mojo:exec-maven-plugin](https://github.com/mojohaus/exec-maven-plugin ) from 3.6.0 to 3.6.1.
- [Release notes](https://github.com/mojohaus/exec-maven-plugin/releases )
- [Commits](https://github.com/mojohaus/exec-maven-plugin/compare/3.6.0...3.6.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2025-10-06 07:25:29 +02:00
Florian Hotze and GitHub
f600c8dcba
[automation] AbstractScriptModuleHandler: Inject module type ID early ( #5058 )
...
Follow-up for #5054 .
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-10-05 20:50:35 +02:00
Gaël L'hopital and GitHub
4459088265
Semantics file correction ( #5050 )
...
* Correction of a small mistake on AirConditioner that puts synonyms in label
Signed-off-by: gael@lhopital.org <gael@lhopital.org >
2025-10-05 10:49:26 +02:00
Florian Hotze and GitHub
86e8adb42e
[automation] AbstractScriptModuleHandler: Inject module type ID into context ( #5054 )
...
* [automation] AbstractScriptModuleHandler: Inject module type ID into context
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-10-03 19:43:23 +02:00
dependabot[bot] and GitHub
3ed9b08744
Bump org.apache.maven.plugins:maven-dependency-plugin ( #5052 )
...
Bumps [org.apache.maven.plugins:maven-dependency-plugin](https://github.com/apache/maven-dependency-plugin ) from 3.8.1 to 3.9.0.
- [Release notes](https://github.com/apache/maven-dependency-plugin/releases )
- [Commits](https://github.com/apache/maven-dependency-plugin/compare/maven-dependency-plugin-3.8.1...maven-dependency-plugin-3.9.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2025-10-03 16:45:06 +02:00
dependabot[bot] and GitHub
c10f7b23d5
Bump org.apache.maven.plugins:maven-enforcer-plugin from 3.6.1 to 3.6.2 ( #5053 )
...
Bumps [org.apache.maven.plugins:maven-enforcer-plugin](https://github.com/apache/maven-enforcer ) from 3.6.1 to 3.6.2.
- [Release notes](https://github.com/apache/maven-enforcer/releases )
- [Commits](https://github.com/apache/maven-enforcer/compare/enforcer-3.6.1...enforcer-3.6.2 )
Signed-off-by: dependabot[bot] <support@github.com >
2025-10-03 16:44:11 +02:00
dependabot[bot] and GitHub
51110e96cb
Bump org.codehaus.mojo:exec-maven-plugin from 3.5.1 to 3.6.0 ( #5049 )
...
Bumps [org.codehaus.mojo:exec-maven-plugin](https://github.com/mojohaus/exec-maven-plugin ) from 3.5.1 to 3.6.0.
- [Release notes](https://github.com/mojohaus/exec-maven-plugin/releases )
- [Commits](https://github.com/mojohaus/exec-maven-plugin/compare/3.5.1...3.6.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2025-10-01 20:40:43 +02:00
Holger Friedrich and GitHub
cb5354ecd2
Fix ConcurrentModificationException during format conversion ( #5045 )
...
Regression from #4793
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-10-01 08:35:24 +02:00
openhab-bot and GitHub
a6a9a07691
New Crowdin updates ( #5047 )
...
* New translations addons.properties (Italian)
* New translations addons.properties (Danish)
* New translations addons.properties (German)
2025-09-30 23:45:36 +02:00
Andrew Fiddian-Green and GitHub
9448de46d0
Apply default semantic tags from linked channels to items ( #4913 )
...
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch >
2025-09-28 20:52:56 +02:00
Mark Herwege and GitHub
3f9eca44ea
MQTT transport: add cleanSession/cleanStart parameter ( #5030 )
...
Signed-off-by: Mark Herwege <mark.herwege@telenet.be >
2025-09-28 07:25:36 +02:00
Nadahar and GitHub
f5d2746c04
SDDP clarification ( #5031 )
...
* Clarify that SDDP isn't SSDP
Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com >
2025-09-27 15:51:02 +02:00
dependabot[bot] and GitHub
46f81a000d
Bump org.apache.maven.plugins:maven-compiler-plugin ( #5036 )
...
Bumps [org.apache.maven.plugins:maven-compiler-plugin](https://github.com/apache/maven-compiler-plugin ) from 3.14.0 to 3.14.1.
- [Release notes](https://github.com/apache/maven-compiler-plugin/releases )
- [Commits](https://github.com/apache/maven-compiler-plugin/compare/maven-compiler-plugin-3.14.0...maven-compiler-plugin-3.14.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-22 06:50:45 +02:00
dependabot[bot] and GitHub
44abd31b18
Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.11.2 to 3.12.0 ( #5035 )
...
Bumps [org.apache.maven.plugins:maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin ) from 3.11.2 to 3.12.0.
- [Release notes](https://github.com/apache/maven-javadoc-plugin/releases )
- [Commits](https://github.com/apache/maven-javadoc-plugin/compare/maven-javadoc-plugin-3.11.2...maven-javadoc-plugin-3.12.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-22 06:28:18 +02:00
Holger Friedrich and GitHub
b68a58dbe0
Fix tests when having spaces in path ( #5034 )
...
Regression of #4991
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-09-21 14:36:41 +02:00
jimtng and GitHub
7c848bf891
DSL Items Parser: Fix incorrect parsing of keywords encountered in the wrong context ( #4928 )
...
* DSL Items Parser: Fix incorrect parsing of keywords encountered in the wrong context
When specifying tag names that match one of the valid item types, e.g. `Switch`, the parser incorrectly treated it as a new start of an item definition.
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au >
2025-09-21 14:14:24 +02:00
lolodomo and GitHub
00b6a476a7
[REST] New API for conversion between file format and JSON ( #4793 )
...
* [REST] New API for conversion between file format and JSON
Related to #4585
This PR supports conversion of things and items.
It supports DSL and YAML file formats.
A first new API (POST /file-format/create) allows to create a file format (DSL or YAML) from a JSON object.
A second new API (POST /file-format/parse) allows to parse a file format (DSL or YAML) to a JSON object.
These 2 APIs should help Main UI displaying DSL and YAML file formats for things.
Signed-off-by: Laurent Garnier <lg.hc@free.fr >
2025-09-21 11:48:33 +02:00
Andrew Fiddian-Green and GitHub
0f7049347d
Apply blocked task logging to scheduled executor service ( #4969 )
...
* log dead tasks
* do log when tasks are scheduled and/or run
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch >
2025-09-21 11:38:54 +02:00
Mark Herwege and GitHub
32f08c2a28
Persistence extensions query optimization ( #4967 )
...
* remove double query to persistence
* call internal method
* remove double calls to now
Signed-off-by: Mark Herwege <mark.herwege@telenet.be >
2025-09-20 21:26:30 +02:00
lolodomo and GitHub
9c6d304b7d
Fix enabling/disabling of addons suggestors at OH startup ( #5020 )
...
Before this fix, the AddonSuggestionService service was started and an incomplete configuration was considered, a configuration containing none of the user settings defining if each suggestion finder should be enabled or disabled.
Later, when AddonFinderService service was added, the same incomplete configuration was reused.
Signed-off-by: Laurent Garnier <lg.hc@free.fr >
2025-09-20 20:54:34 +02:00
Mark Herwege and GitHub
75ceb0fcd0
Fix persistence extensions test reliability ( #4964 )
...
* Fix persistence extensions test reliability
* remove now dependency from irregular timespans tests
Signed-off-by: Mark Herwege <mark.herwege@telenet.be >
2025-09-16 22:07:01 +02:00
Nadahar and GitHub
44a9bb3280
Marketplace fixes ( #4929 )
...
* Remove forum compatibility range from add-on title
* Fix and unify error handling of missing content in community marketplace add-on handlers
Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com >
2025-09-16 22:02:03 +02:00
Gwendal Roulleau and GitHub
e993cd8972
Details cause message in ui transformation when a script is the cause. ( #5028 )
...
Use ScripProfile.java (executeScript) method as a reference.
Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com >
2025-09-16 21:46:33 +02:00
dependabot[bot] and GitHub
ab76c6b33b
Bump org.apache.groovy:groovy-all from 4.0.28 to 5.0.1 ( #5026 )
...
Bumps [org.apache.groovy:groovy-all](https://github.com/apache/groovy ) from 4.0.28 to 5.0.1.
- [Commits](https://github.com/apache/groovy/commits )
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-15 18:50:59 +02:00
dependabot[bot] and GitHub
50c0cf3404
Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.3 to 3.5.4 ( #5024 )
...
Bumps [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire ) from 3.5.3 to 3.5.4.
- [Release notes](https://github.com/apache/maven-surefire/releases )
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.5.3...surefire-3.5.4 )
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-15 18:47:54 +02:00
dependabot[bot] and GitHub
f2bb57281e
Bump org.apache.maven.plugins:maven-shade-plugin from 3.6.0 to 3.6.1 ( #5025 )
...
Bumps [org.apache.maven.plugins:maven-shade-plugin](https://github.com/apache/maven-shade-plugin ) from 3.6.0 to 3.6.1.
- [Release notes](https://github.com/apache/maven-shade-plugin/releases )
- [Commits](https://github.com/apache/maven-shade-plugin/compare/maven-shade-plugin-3.6.0...v3.6.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-15 18:45:37 +02:00
Nadahar and GitHub
e39fb12112
Make REST endpoints accept more logger name characters ( #4983 )
...
Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com >
2025-09-14 16:56:16 +02:00
jimtng and GitHub
f8cb21efcc
RulesDSL: Fix DateTimeItem trigger's offset ( #5015 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au >
2025-09-14 16:46:08 +02:00
Cody Cutrer and GitHub
5f72352a59
Pass event source to profiles ( #4990 )
...
So that a user can define a profile that takes different
actions depending on what's generating the command.
Signed-off-by: Cody Cutrer <cody@cutrer.us >
2025-09-14 16:39:21 +02:00
Mark Herwege and GitHub
31b43bc566
Persistence extensions: fix potential infinite loop ( #5018 )
...
* fix potential eternal loop on empty peristence
* tests
Signed-off-by: Mark Herwege <mark.herwege@telenet.be >
2025-09-10 20:54:05 +02:00
Holger Friedrich and GitHub
b535d22d4d
Upgrade Mockito to 5.19, junit-jupiter to 5.13.4 ( #4991 )
...
* Upgrade Mockito from 4.11 to 5.19.
Changelog: https://github.com/mockito/mockito/releases
* Upgrade junit-jupiter from 5.11.4 to 5.13.4
Changelog: https://docs.junit.org/5.13.4/release-notes
* Add workaround to allow junit-jupiter>=5.12 with OSGI
* Activate javaagent for tests to avoid JDK warnings
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-09-09 18:58:31 +02:00
dependabot[bot] and GitHub
49b48e1812
Bump org.eclipse.jdt:ecj from 3.41.0 to 3.43.0 ( #5014 )
...
Bumps [org.eclipse.jdt:ecj](https://github.com/eclipse-jdt/eclipse.jdt.core ) from 3.41.0 to 3.43.0.
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-08 00:53:04 +02:00
dependabot[bot] and GitHub
25f9a1111e
Bump actions/stale from 9 to 10 ( #5013 )
...
Bumps [actions/stale](https://github.com/actions/stale ) from 9 to 10.
- [Release notes](https://github.com/actions/stale/releases )
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/stale/compare/v9...v10 )
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-07 22:13:00 +02:00
Holger Friedrich and GitHub
81e3a05614
Simplify switch statements, Java 21 ( #5012 )
...
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-09-07 19:54:05 +02:00
Nadahar and GitHub
adfa286a3a
Fix network interface configuration option enumeration ( #5006 )
...
Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com >
2025-09-07 18:51:51 +02:00
Florian Hotze and GitHub
dc48fb8527
[automation] Skip pre-compilation if rule engine not yet started ( #5001 )
...
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-09-07 15:16:33 +02:00
Дилян Палаузов and GitHub
961de1a2ca
Remove all super(); calls ( #5009 )
...
by calling:
sed -i "/super();/d" $(git grep -l "super();")
2025-09-07 13:17:48 +02:00
Holger Friedrich and GitHub
459064fe5b
Upgrade hivemq-mqtt-client to 1.3.9 ( #5005 )
...
* Upgrade hivemq-mqtt-client from 1.3.7 to 1.3.9,
changelog:
https://github.com/hivemq/hivemq-mqtt-client/releases/tag/v1.3.8
https://github.com/hivemq/hivemq-mqtt-client/releases/tag/v1.3.9
* Upgrade netty from 4.1.122 to 4.1.126,
changelog:
https://netty.io/news/2025/07/16/4-1-123-Final.html
https://netty.io/news/2025/08/13/4-1-124-Final.html
https://netty.io/news/2025/09/03/4-1-126-Final.html
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-09-07 10:52:25 +02:00
lolodomo and GitHub
ebd6b06d75
[YAML config] Fix YAML loading to handle elements in file original order ( #5010 )
...
Change the implementation of the method listToMap
Signed-off-by: Laurent Garnier <lg.hc@free.fr >
2025-09-05 20:38:29 +02:00