Commit Graph
2986 Commits
Author SHA1 Message Date
dependabot[bot]andGitHub 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 FriedrichandGitHub 81e3a05614 Simplify switch statements, Java 21 (#5012)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-09-07 19:54:05 +02:00
NadaharandGitHub 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 HotzeandGitHub 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
Дилян ПалаузовandGitHub 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 FriedrichandGitHub 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
lolodomoandGitHub 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
Holger FriedrichandGitHub b7c742f95b Upgrade io.methvin.directory-watcher to 0.19.1 (#5003)
* Upgrade io.methvin.directory-watcher from 0.18.0 to 0.19.1
Changelog:
https://github.com/gmethvin/directory-watcher/compare/v0.18.0...v0.19.1

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-09-03 18:44:17 +02:00
Holger FriedrichandGitHub 74a08d89e2 Upgrade Eclipse Equinox dependencies (#4986)
* Upgrade Eclipse Equinox dependencies

* Upgrade org.eclipse.equinox.metatype from 1.4.500 to 1.6.400
* Upgrade org.eclipse.equinox.event from 1.6.200 to 1.6.300
* Upgrade org.eclipse.equinox.log.stream from 1.1.100 to 1.1.200
* Upgrade org.osgi.util.pushstream from 1.0.0 to 1.1.0

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>

* Resolve

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>

---------

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-09-03 18:26:15 +02:00
Holger FriedrichandGitHub 088b0576e2 Fix LSP after xtend upgrade (#5000)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-09-01 18:30:21 +02:00
Holger FriedrichandGitHub 25adeb1e4d Upgrade jmdns to 3.6.2 (#5002)
Upgrades jmdns from 3.6.1 to 3.6.2.
Changelogs:
https://github.com/jmdns/jmdns/releases/tag/v3.6.2

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-09-01 18:29:30 +02:00
lolodomoandGitHub c787ce953a [REST] Fix version number in YAML examples (#4978)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2025-08-31 12:36:23 +02:00
lolodomoandGitHub 69d4c83991 Fix USB discovery on Windows in case there is no USB port (#4996)
Fix #4993

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2025-08-31 11:48:49 +02:00
Holger FriedrichandGitHub 7d8aca474b Upgrade Xtext/Xtend to 2.40 (#4981)
* Upgrade Xtext/Xtend to 2.40

* Upgrade Xtext/Xtend from 2.39 to 2.40
* Upgrade gson from 2.11.0 to 2.13.1
* Upgrade classgraph 4.8.176 to 4.8.180
* Change repo from org.eclipse.xtend to org.eclipse.xtext

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>

* Add error_prone_annotations as dependency for gson

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>

---------

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-08-30 16:00:22 +02:00
Holger FriedrichandGitHub 3d0ec786d0 Upgrade Units of Measurement dependencies (#4979)
Upgrades UoM dependencies to:

* si-units 2.2.3
* use osgiified si-quantity 2.2.3
* indriya 2.2.3

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-08-30 15:59:00 +02:00
Holger FriedrichandGitHub 264c5284fe Use felix.http.servlet-api 1.2.0 (#4963)
* Use felix.http.servlet-api 1.2.0

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>

* Exclude conflicting dependency on tomcat

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>

---------

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-08-30 15:58:00 +02:00
Holger FriedrichandGitHub c8ce7daa2b Downgrade eclipse.osgi to 3.18.0 (#4985)
This was updated to a wrong version in #4932.
Downgrade from 3.19.0 to 3.18.0 to sync with Karaf 4.4.8.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-08-30 15:57:18 +02:00
Holger FriedrichandGitHub cdcf96fb5c Upgrade commons-net to 3.12.0 (#4982)
* Upgrade commons-net to 3.12.0

Upgrade commons-net from 3.11.1 to 3.12.0, see changelog:
https://commons.apache.org/proper//commons-net/changes.html#a3.12.0

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>

* Add dependency to feature

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>

---------

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-08-30 15:56:28 +02:00
Holger FriedrichandGitHub 7ae821947b Upgrade i18n-maven-plugin to 5.0.1 (#4984)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-08-30 15:55:51 +02:00
Holger FriedrichandGitHub d3e2d9c527 Upgrade servicemix.specs.annotation-api to 1.3_3 (#4987)
* Upgrade org.apache.servicemix.specs.annotation-api-1.3 from 1.3_1 to
  1.3_3, in sync with Karaf.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-08-30 15:55:24 +02:00
Holger FriedrichandGitHub 02804f8f8e Upgrade jmdns to 3.6.1 (#4997)
Upgrades jmdns from 3.5.12 to 3.6.1.
Changelogs:
https://github.com/jmdns/jmdns/releases/tag/3.6.0
https://github.com/jmdns/jmdns/releases/tag/3.6.1

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-08-30 15:45:31 +02:00
lolodomoandGitHub 478a7deb63 YAML config: enhance hashCode() and add new unit tests (#4941)
Reduce potential collisions in hashCode()

Make identical a null list/set and an empty list/set

Test hashCode in addition to equals in unit tests.
Add new tests for YamlItemDTO (equals/hashCode)

Related to #4936

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2025-08-24 18:55:13 +02:00
Holger FriedrichandWouter Born f7e07bdda3 Upgrade netty to 4.1.122 to adapt to hivemq
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-08-24 12:57:43 +02:00
Holger FriedrichandWouter Born ae98bb11b0 Revert "Upgrade hivemq-mqtt-client to 1.3.8 (#4968)"
This reverts commit f23304e3d9.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-08-24 12:57:43 +02:00
NadaharandGitHub 8537a1b822 Reintroduce a check with scriptEngineManager if the script type is supported before attempting to compile it (#4971)
It was removed in 8154dce3076d56df5e1d87b2fd465c8232f7cba1 (#4922) and might be causing the logging of errors during startup, as reported in #4965.

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>
2025-08-24 08:22:29 +02:00
dependabot[bot]andGitHub 73c9cbd763 Bump actions/setup-java from 4 to 5 (#4970)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 4 to 5.
- [Release notes](https://github.com/actions/setup-java/releases)

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-23 00:36:36 +02:00
Holger FriedrichandGitHub f23304e3d9 Upgrade hivemq-mqtt-client to 1.3.8 (#4968)
Upgrade hivemq-mqtt-client from 1.3.7 to 1.3.8.
Changelog:

https://github.com/hivemq/hivemq-mqtt-client/releases/tag/v1.3.8

Upgrades transitive dependency Dagger from 2.27 to 2.42.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-08-22 07:21:47 +02:00
Wouter BornandGitHub c4360f3353 Revert "* Add ItemChannelLinkRegistry to DefaultScriptScopeProvider so it can…" (#4966)
This reverts commit 91d21a1a83.
2025-08-21 09:24:29 +02:00
Dan CunninghamandGitHub 4783cd9831 [rules actions] Add new HTTP actions for images (#4961)
* [rules actions] Add new HTTP actions for images
This adds new functions for downloading images to image Items. This is usefull for exposing images to push notifications, updating album art, showing camera snapshots in the Main UI, etc...

I went back and forth if this was a new action space, or part of the HTTP actions, in the end i think it belongs as additional HTTP actions (since it also mostly wraps HTTPUtils.java)

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2025-08-20 20:47:11 +02:00
Holger FriedrichandGitHub acd186e892 Upgrade hivemq-mqtt-client to 1.3.7 (#4958)
Upgrade hivemq-mqtt-client from 1.3.5 to 1.3.7.
Changelog:

https://github.com/hivemq/hivemq-mqtt-client/releases/tag/v1.3.7

https://github.com/hivemq/hivemq-mqtt-client/releases/tag/v1.3.6

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-08-19 22:42:15 +02:00
Holger FriedrichandGitHub bfbcce5449 Upgrade cxf to 3.6.8 (#4950)
Upgrade cxf from 3.6.5 to 3.6.8

Find the list of relevant changes here:
https://github.com/apache/cxf/blob/3.6.x-fixes/distribution/src/main/release/release_notes.txt

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-08-19 22:41:33 +02:00
Holger FriedrichandGitHub bc671efaa6 Upgrade Swagger to 2.2.35 (#4962)
Follow-up to incomplete PR #4957.

Upgrade Swagger from 2.2.28 to 2.2.35.
For changelog, see https://github.com/swagger-api/swagger-core/releases/tag/v2.2.35

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-08-18 19:15:14 +02:00
Oleg AndreychandGitHub 91d21a1a83 * Add ItemChannelLinkRegistry to DefaultScriptScopeProvider so it can be used from scripts (#4937)
Signed-off-by: Oleg Andreych <kjiec4@gmail.com>
2025-08-17 22:04:42 +02:00
Holger FriedrichandGitHub a95a770e1f Upgrade jbbp to 3.0.1 (#4954)
* Upgrade jbbp from 1.4.1 to 3.0.1,
  changelog: https://github.com/raydac/java-binary-block-parser?tab=readme-ov-fie#change-log

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-08-17 21:42:31 +02:00
Holger FriedrichandGitHub a53d9a8894 Use aries.javax.jax.rs-api 1.0.4 (#4953)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-08-17 21:16:24 +02:00
Holger FriedrichandGitHub 3d86b53a2b Allow ecj in Dependabot config (#4955)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-08-17 21:11:17 +02:00
Holger FriedrichandGitHub 704ac77c71 Bump osgi.service.jdbc to 1.1.0 (#4956)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-08-17 21:10:35 +02:00
Holger FriedrichandGitHub 224988d9d6 Upgrade Swagger to 2.2.35 (#4957)
Upgrade Swagger from 2.2.28 to 2.2.35.
For changelog, see https://github.com/swagger-api/swagger-core/releases/tag/v2.2.35

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-08-17 21:10:04 +02:00
Florian HotzeandGitHub 9c27b896d0 [automation] AbstractScriptModuleHandler: Remove prefixes from context entries before injecting ctx into execution context (#4919)
This aligns the keys of the injected `ctx` HashMap with the keys used when injecting the single entries of that HashMap.

It will allow JS Scripting to provide event information in a native JS object in UI-based scripts similarly to how it's done for file-based scripts.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2025-08-16 13:15:08 +02:00
dependabot[bot]andGitHub 92346e5faf Bump actions/checkout from 4 to 5 (#4952)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [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/v4...v5)

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-15 08:33:32 +02:00
Florian HotzeandGitHub e3ecd8d4d2 [rest] Remove faulty caching from add-on resource (#4925)
Fixes #4834.
Partly reverts #4107.

The caching of the add-on resource is faulty, e.g. changes to the community marketplace settings don't invalidate the cache.
As Main UI now better handles add-on store loading, caching is no more needed there.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2025-08-15 00:31:44 +02:00
Florian HotzeandGitHub 2689f5f2dc AbstractScriptModuleHandler: Recompile scripts on dependency change (#4922)
* AbstractScriptModuleHandler: Recompile scripts on dependency change

When a script's dependency changes, it should recompile the compiled script similarly to resetting the engine for uncompiled scripts.
Fixing this behaviour fixes an issue where compiled scripts stopped working after a dependency changed.

This also simplifies the code a bit.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2025-08-15 00:25:42 +02:00
Andrew Fiddian-GreenandGitHub 13ffa1c6ea Apply timeout logging to the task scheduler (#4948)
Activate the logging via

log:set DEBUG org.openhab.core.internal.common.WrappedScheduledExecutorService

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2025-08-12 00:05:27 +02:00
Holger FriedrichandGitHub b8e3dd047d Upgrade Karaf from 4.4.7 to 4.4.8 (#4932)
* Upgrade Karaf from 4.4.7 to 4.4.8
* Upgrade Xtext/Xtend from 2.37.0 to 2.39.0
* Sync runtime dependencies with Karaf 4.4.7, most notably:
  * PaxWeb 8.0.33
  * commons-fileupload 1.6.0
  * commons-io 2.20.0
  * commons-lang3 3.18.0
  * JNA 5.17.0
  * XBean 4.27
  * Guava 33.4.8
  * ASM 9.8
  * PaxLogging 2.3.0
  * Bouncy Castle 1.81
  * lsp4j 0.24.0
  * emf.common 2.30.0
  * emf.ecore 2.36
  * emf.ecore.change 2.16.0
  * emf.ecore.xmi 2.37.0
  * guava.failureaccess 1.0.3
  * jose4j 0.9.6
  * logback 1.5.18
* Resolve itest runbundles
* Modularize imports

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-08-09 21:25:39 +02:00
openhab-botandGitHub 9cff9f5248 New Crowdin updates (#4944)
* New translations tags.properties (Hebrew)
* New translations defaultsystemchannels.properties (Hebrew)
2025-08-08 22:36:40 +02:00
Wouter BornandGitHub e6e2a579a7 Add jackson-datatype-jdk8 bundle to Jackson feature (#4943)
It is required by the Jinja transformation.
Because it uses the same version of OHC and is missing in the feature, it needs to be manually uploaded each time Jackson is upgraded.

Fixes #4399

Signed-off-by: Wouter Born <github@maindrain.net>
2025-08-08 22:07:16 +02:00
Wouter BornandGitHub 1167a9a0ad Update Jackson to 2.19.2 (#4942)
Updates Jackson from 2.18.2 to 2.19.2

For release notes, see:

- https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.18
- https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.19

Signed-off-by: Wouter Born <github@maindrain.net>
2025-08-03 06:37:47 +02:00
Oleg AndreychandGitHub 511f75860f Refactor ThingStatusTriggerHandler for improved clarity and modernization (#4938)
- Removed unnecessary instance fields (`thingUID` and `bundleContext`) and replaced with local variables where appropriate.
- Simplified `eventTopicFilter` initialization by using local `thingUID` variable.
- Applied pattern matching for `instanceof` to reduce explicit casting in `receive()` method.
- Cleaned up unused code and improved readability.

Signed-off-by: Oleg Andreych <kjiec4@gmail.com>
2025-08-01 23:43:55 +02:00
Wouter BornandGitHub 6f7d46caab Use Maven wrapper with GHA (#4934)
* Use Maven wrapper with GHA

Signed-off-by: Wouter Born <github@maindrain.net>
2025-07-28 16:37:15 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
04893a139a Bump org.apache.groovy:groovy-all from 4.0.27 to 4.0.28 (#4935)
Bumps [org.apache.groovy:groovy-all](https://github.com/apache/groovy) from 4.0.27 to 4.0.28.
- [Commits](https://github.com/apache/groovy/commits)

---
updated-dependencies:
- dependency-name: org.apache.groovy:groovy-all
  dependency-version: 4.0.28
  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-07-28 07:25:44 +02:00