Holger Friedrich and GitHub
4084fec56b
Prepare for OH 5.2.0 ( #5220 )
...
* Fix spotless after unleash
* Resolve itest runbundles
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-12-22 22:01:01 +01:00
openhab-bot
f6c7ea6490
[unleash-maven-plugin] Preparation for next development cycle.
2025-12-22 15:00:02 +00: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
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
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
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
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
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
Дилян Палаузов 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
Holger Friedrich and GitHub
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 Friedrich and GitHub
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 Friedrich and GitHub
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 Friedrich and GitHub
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 Friedrich and GitHub
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 Friedrich and GitHub
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 Friedrich and GitHub
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 Friedrich and GitHub
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 Born and GitHub
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 Friedrich and GitHub
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 Herwege and GitHub
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 Laursen and GitHub
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 Born and GitHub
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 Hotze and GitHub
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 Friedrich and GitHub
4e948db729
Resolve runbundles of linuxsysfs itest ( #4839 )
...
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-06-12 18:55:24 +02:00
Nadahar and GitHub
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 Friedrich and GitHub
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-Green and GitHub
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
jimtng and GitHub
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 Friedrich and GitHub
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 Friedrich and GitHub
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 Born and GitHub
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 Born and GitHub
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 Friedrich and GitHub
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 Seime and GitHub
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
jimtng and GitHub
7177759791
Add IntervalConditionHandler ( #4583 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au >
2025-02-15 16:53:22 +01:00
Holger Friedrich and GitHub
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'hopital and GitHub
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 Friedrich and Wouter 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 Friedrich and Wouter 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 Friedrich and GitHub
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 Born and GitHub
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 Herwege and GitHub
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 Born and GitHub
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 Friedrich and GitHub
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 Friedrich and GitHub
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