Commit Graph
550 Commits
Author SHA1 Message Date
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
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 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
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 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
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
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
Mark HerwegeandGitHub 69bb634ba6 Item REST endpoint include item parents (#4861)
* parents in item DTO

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2025-07-12 23:48:26 +02:00
Jacob LaursenandGitHub cdfd652ce2 Refactor timestamps to Instant in discovery methods (#4866)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2025-07-05 16:18:50 +02:00
Wouter BornandGitHub 3d0996bf83 Upgrade Jollyday to 1.5.4 (#4862)
Upgrades Jollyday from 1.5.0 to 1.5.4.

For release notes, see:

https://github.com/focus-shift/jollyday/releases

Signed-off-by: Wouter Born <github@maindrain.net>
2025-06-21 13:49:20 +02:00
Florian HotzeandGitHub 7b56bdbaf2 Fix itests after #4513 (#4856)
This change fixes the problem by explicitly retrieving the GenericItemProvider.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2025-06-17 22:45:45 +02:00
Holger FriedrichandGitHub 4e948db729 Resolve runbundles of linuxsysfs itest (#4839)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-06-12 18:55:24 +02:00
NadaharandGitHub 5b12280f5b Regenerate rules from templates (#4718)
* Rule template regeneration support

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>
2025-05-26 22:53:17 +02:00
Holger FriedrichandGitHub 8eb6eeae84 Revert "Upgrade JUnit to 5.12.1 (#4642)" (#4790)
* This reverts commit 8de8b4d4b4.
* Add note about itests not being executed with junit 5.12.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-05-07 07:54:16 +02:00
Andrew Fiddian-GreenandGitHub fc8d791dbd Semantic Tags: Overload Equipment tag setters for Things (#4713)
* overload tag setter methods
* run resolver

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2025-04-17 01:20:06 +02:00
85d539c35b Semantic Tags: set EQUIPMENT tags on Things (#4617)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
Co-authored-by: Holger Friedrich <mail@holger-friedrich.de>
2025-04-03 21:10:13 +02:00
jimtngandGitHub 9cd72164f5 Add lastStateUpdate, lastStateChange to ItemStateUpdatedEvent/ItemStateChangedEvent (#4606)
* Add `lastStateUpdate`, `lastStateChange` to `ItemStateUpdatedEvent`/`ItemStateChangedEvent`

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-04-02 21:59:16 +02:00
Holger FriedrichandGitHub f972e95c6b Upgrade glassfish hk2 to 3.1.1, upgrade units (#4658)
* Upgrade glassfish hk2 from 2.4.0-b34 to 3.1.1
* Upgrade jakarta.inject-api from 2.0.0 to 2.0.1
  https://github.com/jakartaee/inject/releases/tag/2.0.1
* Upgrade jakarta.annotation-api from 2.0.0 to 2.1.1
* Upgrade si.uom:si-units and si-quantity from 2.1 to 2.2, including
  transition from jakarta.annotation-api 1.3.4 to 2.0.0
* Upgrade tech.units.indriya from 2.2 to 2.2.2
* Adapt test to inriya >2.2 (year, yr)
* Resolve bundles
* Upgrade glassfish hk2 osgi-resource-locator to 3.0.0
* Upgrade osgi-resource-locator from 1.0.3 to 3.0.0

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-03-23 17:03:31 +01:00
Holger FriedrichandGitHub 8de8b4d4b4 Upgrade JUnit to 5.12.1 (#4642)
* Upgrade JUnit from 5.11.4 to 5.12.1
https://junit.org/junit5/docs/5.12.1/release-notes/#release-notes-5.12.1

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-03-16 22:40:06 +01:00
Wouter BornandGitHub 343470d98a Upgrade Jollyday to 1.5.0 (#4620)
Upgrades Jollyday from 1.4.0 to 1.5.0.

For release notes, see:

https://github.com/focus-shift/jollyday/releases

Signed-off-by: Wouter Born <github@maindrain.net>
2025-02-24 20:25:29 +01:00
Wouter BornandGitHub 6bf59605bd Use Spotless sortpom plug-in (#4618)
This simplifies the sortpom configuration and also allows for checking and reformatting them using the spotless:check and spotless:apply Maven goals.

Signed-off-by: Wouter Born <github@maindrain.net>
2025-02-23 19:04:47 +01:00
Holger FriedrichandGitHub 4f64c8d37b Revert ConfigUtil::normalizeType and fix null annotations (#4608)
Partly reverts 8e597bde76.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-02-18 18:24:48 +01:00
Arne SeimeandGitHub fe9af132aa Rule Template installation fixes (#4591)
* Fix file based rule templates
* Add YAML Template parser
* Refactor marketplace rule template parsing
* Prevent file system access for WatchService DELETE events

Trying to check if deleted files are hidden, are readable or are directories will result in IOExceptions on many file systems, so that no action will be taken for deletions.

Signed-off-by: Arne Seime <arne.seime@gmail.com>
2025-02-15 17:28:46 +01:00
jimtngandGitHub 7177759791 Add IntervalConditionHandler (#4583)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-02-15 16:53:22 +01:00
Holger FriedrichandGitHub 0d84485623 Dependency upgrades: californium, cxf, junit, swagger (#4584)
* Upgrade swagger to 2.2.28

* Upgrade swagger from 2.2.15 to 2.2.28
For changelog, see https://github.com/swagger-api/swagger-core/releases
* Upgrade javassist from 3.29.2-GA to 3.30.2-GA

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

* Upgrade cxf to 3.6.5

* Upgrade cxf from 3.6.4 to 3.6.5

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

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

* Upgrade junit to 5.11.4

* Upgrade junit from 5.10.0 to 5.11.4
* Upgrade junit-platform-* from 1.10.0 to 1.11.4

Release notes: https://junit.org/junit5/docs/5.11.4/release-notes/

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

* Upgrade californium to 4.0.0-M2

* Upgrade californium from 2.7.4 to 4.0.0-M2
* Replace special OH built net.i2p.crypto.eddsa by BouncyCastle
* Upgrade slf4j from 2.0.12 to 2.0.16

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

* Upgrade hamcrest to 3.0

* Upgrade hamcrest from 2.2 to 3.0

Release notes: https://github.com/hamcrest/JavaHamcrest/releases/tag/v3.0

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

---------

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-02-13 15:23:21 +01:00
Gaël L'hopitalandGitHub 94bd3fcf7c Some non null annotations (#4486)
Signed-off-by: Gaël L'hopital <gael@lhopital.org>
2025-02-09 14:55:45 +01:00
Holger FriedrichandWouter Born 6764b6d94c Upgrade Xtext/Xtend to 2.37.0
* Upgrade Xtext/Xtend from 2.36.0 to 2.37.0, see release notes:
  https://eclipse.dev/Xtext/releasenotes.html#/releasenotes/2024/11/19/version-2-37-0
  https://eclipse.dev/Xtext/xtend/releasenotes.html#/releasenotes/2024/11/19/version-2-37-0
* Upgrade dependencies
  * ecj from 3.36.0 to 3.39.0
  * gson from 2.10.1 to 2.11.0
  * classgraph to 4.8.176
  * guava from 3.33.0 to 3.33.1

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-01-26 15:15:29 +01:00
Holger FriedrichandWouter Born 4da70a2ed8 Upgrade Karaf from 4.4.6 to 4.4.7
* Sync runtime dependencies with Karaf 4.4.7, most notably:
   * PaxWeb 8.0.30
   * Jetty 9.4.57.v20241219
   * BouncyCastle 1.78.1
   * CXF 3.6.4
   * Jackson 2.18.2
   * JNA 5.16.0
   * JAXB 2.3.9
   * commons-io 2.17.0
   * commons-lang3 3.17.0
   * XBean 4.26
   * ASM 9.7.1
   * PaxLogging 2.2.8
 * Resolve itest runbundles

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-01-26 15:15:29 +01:00
Holger FriedrichandGitHub 7548f26db6 Remove RegistryHook (#4568)
Remove RegistryHook which is not longer used. Remove related methods
from ItemRegistry and ItemUiRegistry.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-01-26 14:55:08 +01:00
Wouter BornandGitHub ce374252fa Upgrade Jollyday to 1.4.0 (#4566)
Upgrades Jollyday from 0.35.1 to 1.4.0.

For release notes, see:

https://github.com/focus-shift/jollyday/releases

Signed-off-by: Wouter Born <github@maindrain.net>
2025-01-19 13:35:33 +01:00
Mark HerwegeandGitHub 9ad83bada4 Remove calls to deprecated URL constructor (#4551)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2025-01-12 22:18:10 +01:00
Wouter BornandGitHub f00c7700cb Start license headers with /* instead of /** (#4544)
Prevents JavaDoc tooling issues because these tools check comments starting with `/**`.

Signed-off-by: Wouter Born <github@maindrain.net>
2025-01-07 21:48:56 +01:00
Holger FriedrichandGitHub 40d079ae80 Java 21 language features (#4535)
* Java 21 language features

* use getFirst and getLast methods
* replace new Locale by Locale.of
* replace Paths.get by Path.of
* use ThreadLocalRandom.current().nextDouble()
* add @Serial annotations

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-01-06 23:22:43 +01:00
Holger FriedrichandGitHub 1e0b3c2410 Upgrade plugins (#4536)
* sortpom-maven-plugin to 4.0.0 (breaking change)
https://github.com/Ekryd/sortpom?tab=readme-ov-file#news
* maven-clean-plugin to 3.4.0
https://github.com/apache/maven-clean-plugin/releases/tag/maven-clean-plugin-3.4.0
* maven-deploy-plugin to 3.1.3
https://github.com/apache/maven-deploy-plugin/releases/tag/maven-deploy-plugin-3.1.3
* maven-enforcer-plugin to 3.5.0
https://github.com/apache/maven-enforcer/releases
* maven-install-plugin to 3.1.3
https://github.com/apache/maven-install-plugin/releases
* maven-plugin-plugin to 3.15.1
* license-maven-plugin to 4.6
https://github.com/mathieucarbou/license-maven-plugin/releases
* maven-jar-plugin to 3.4.2
https://github.com/apache/maven-jar-plugin/releases/tag/maven-jar-plugin-3.4.2
* maven-archetype-plugin to 3.3.1
* maven-dependency-plugin to 3.8.1
* maven-javadoc-plugin to 3.11.2
* maven-release-plugin to 3.1.1
* maven-shade-plugin to 3.6.0
* maven-site-plugin to 3.21.0
* maven-surefire-plugin to 3.5.2
* build-helper-maven-plugin
https://github.com/mojohaus/build-helper-maven-plugin/releases/tag/3.6.0
* i18n-maven-plugin to latest OH release 4.3.1

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-01-04 09:48:42 +01:00
Wouter BornandGitHub 979e4a7409 Update license headers to 2025 (#4532)
Signed-off-by: Wouter Born <github@maindrain.net>
2025-01-01 16:40:04 +01:00
Wouter BornandGitHub db72021460 Update Eclipse files (#4514)
Signed-off-by: Wouter Born <github@maindrain.net>
2024-12-24 07:02:47 +01:00
Wouter BornandGitHub 9f0b8d48fe Revert LinkedTransferQueue high CPU usage workaround (#4499)
Reverts the workaround #3756 that was introduced for JDK-8301341 because it is fixed in OpenJDK 21

Signed-off-by: Wouter Born <github@maindrain.net>
2024-12-17 00:46:30 +01:00
Holger FriedrichandGitHub 8d837f9823 Prepare for OH 5.0.0 (#4496)
* Prepare for OH 5.0.0

* Switch to 5.0.0-SNAPSHOT
* Fix spotless after unleash
* resolve itest runbundles
* Fix linux-specific pom

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-12-15 18:49:23 +01:00
openhab-bot 0f2e56f39d [unleash-maven-plugin] Preparation for next development cycle. 2024-12-15 11:41:19 +00:00
Jacob LaursenandGitHub b31ff66bba [core] Switch DateTimeType to Instant internally for consistent time-zone handling (#3583)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-12-08 16:06:29 +01:00
Wouter BornandGitHub 297d54ed52 Upgrade Jollyday to 0.35.1 (#4471)
Upgrades Jollyday from 0.32.0 to 0.35.1.

For release notes, see:

* https://github.com/focus-shift/jollyday/releases/tag/v0.33.0
* https://github.com/focus-shift/jollyday/releases/tag/v0.34.0
* https://github.com/focus-shift/jollyday/releases/tag/v0.35.0
* https://github.com/focus-shift/jollyday/releases/tag/v0.35.1

Signed-off-by: Wouter Born <github@maindrain.net>
2024-12-03 21:30:59 +01:00
Wouter BornandGitHub fa29f52a99 Update bnd to 7.1.0 (#4464)
For release notes, see:

https://github.com/bndtools/bnd/wiki/Changes-in-7.1.0

Signed-off-by: Wouter Born <github@maindrain.net>
2024-11-30 21:31:35 +01:00
Holger FriedrichandGitHub 660102e3f9 Upgrade XStream to 1.4.21 (#4457)
* Upgrade XStream from 1.4.20 to 1.4.21, fixes CVE-2024-47072.
  See changelog at https://x-stream.github.io/changes.html#1.4.21

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-11-18 23:34:06 +01:00
Wouter BornandGitHub 9eef587c89 Upgrade Jollyday to 0.32.0 (#4403)
Upgrades Jollyday from 0.30.0 to 0.32.0.

For release notes, see:

https://github.com/focus-shift/jollyday/releases/tag/v0.31.0
https://github.com/focus-shift/jollyday/releases/tag/v0.32.0

Signed-off-by: Wouter Born <github@maindrain.net>
2024-10-05 17:19:46 +02:00
Holger FriedrichandWouter Born 22eec8c593 Upgrade Xtext/Xtend to 2.36.0
* Upgrade Xtext/Xtend from 2.35.0 to 2.36.0, see release notes:
  https://eclipse.dev/Xtext/releasenotes.html#/releasenotes/2024/08/25/version-2-36-0
  https://eclipse.dev/Xtext/xtend/releasenotes.html#/releasenotes/2024/08/25/version-2-36-0
* Upgrade dependencies
  * Guava from 33.2.0 to 33.3.0
  * Classgraph from 4.8.172 to 4.8.174

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-10-05 10:46:40 +02:00
lolodomoandGitHub b8b3ec9df0 Add a new optional input parameter to discovery services (#4389)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-09-29 14:08:29 +02:00
Kai KreuzerandGitHub b3f710372d Upgrade to JmDNS 3.5.12 (#4337)
Also-by: Holger Friedrich <mail@holger-friedrich.de>
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2024-09-07 09:21:00 +02:00
Wouter BornandGitHub 76597838c4 Fix itests on machines with lots of processors (#4349)
Signed-off-by: Wouter Born <github@maindrain.net>
2024-08-15 22:37:21 +02:00