Commit Graph
2972 Commits
Author SHA1 Message Date
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
Holger FriedrichandGitHub cc340bdd4c Fix upgradetool dependencies, regression of #4855 (#4924)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-07-24 11:43:17 +02:00
maniac103andGitHub a4c6b49be1 Map chart interpolation parameter into sitemap JSON response (#4917)
This was missed in #4610 / commit a9a289e3f2

Signed-off-by: Danny Baumann <dannybaumann@web.de>
2025-07-22 07:08:20 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
88d05e54f4 Bump org.apache.maven.plugins:maven-enforcer-plugin from 3.6.0 to 3.6.1 (#4916)
Bumps [org.apache.maven.plugins:maven-enforcer-plugin](https://github.com/apache/maven-enforcer) from 3.6.0 to 3.6.1.
- [Release notes](https://github.com/apache/maven-enforcer/releases)
- [Commits](https://github.com/apache/maven-enforcer/compare/enforcer-3.6.0...enforcer-3.6.1)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-enforcer-plugin
  dependency-version: 3.6.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-07-21 22:10:17 +02:00
Holger FriedrichandGitHub ddf04e2419 Prepare for OH 5.1.0 (#4918)
* Prepare for OH 5.1.0

* Fix spotless after unleash
* Resolve itest runbundles

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-07-21 21:10:15 +02:00
openhab-bot 36e9e60f14 [unleash-maven-plugin] Preparation for next development cycle. 2025-07-21 07:17:39 +00:00
openhab-botandGitHub 0dd5c4c050 New Crowdin updates (#4915)
* New translations defaultsystemchannels.properties (Italian)
* New translations defaultsystemchannels.properties (French)
2025-07-20 00:07:24 +02:00
openhab-botandGitHub b05cdfd235 New Crowdin updates (#4914)
* New translations defaultsystemchannels.properties (German)
* New translations defaultsystemchannels.properties (Danish)
2025-07-18 23:34:10 +02:00
Christoph WeitkampandGitHub 5711db7fb1 Fix translations for system-channel-type electric:energy (#4912)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2025-07-18 22:43:37 +02:00
openhab-botandGitHub cfdb31c517 New translations tags.properties (German) (#4908) 2025-07-17 15:25:49 +02:00
jimtngandGitHub 07503c2b70 Allow extended unit names for days, hours, minutes, seconds, milliseconds and allow spaces before the unit in expire duration parser (#4873)
* Allow extended unit names for days, hours, minutes, seconds, milliseconds in expire duration parser

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-07-17 14:47:38 +02:00
jimtngandGitHub a010cdb128 Yaml Model Repository: skip non-existent paths during the initial scan instead of logging a warning (#4899)
* Yaml Model Repository: skip non-existent paths during the initial scan instead of logging a warning

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-07-17 14:46:30 +02:00
NadaharandGitHub a6ea26f8f5 Prevent file system access for WatchService DELETE events in FolderObserver (#4907)
Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>
2025-07-17 12:10:13 +02:00
openhab-botandGitHub 2ae969431c New translations tags.properties (French) (#4906) 2025-07-16 13:41:16 +02:00
Kai KreuzerandGitHub 3d2f10d770 Restrict CORS logging to a single time (#4905)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2025-07-16 10:11:57 +02:00