Holger Friedrich and GitHub
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 Hotze and GitHub
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] and GitHub
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 Hotze and GitHub
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 Hotze and GitHub
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-Green and GitHub
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 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
openhab-bot and GitHub
9cff9f5248
New Crowdin updates ( #4944 )
...
* New translations tags.properties (Hebrew)
* New translations defaultsystemchannels.properties (Hebrew)
2025-08-08 22:36:40 +02:00
Wouter Born and GitHub
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 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
Oleg Andreych and GitHub
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 Born and GitHub
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
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 Friedrich and GitHub
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
maniac103 and GitHub
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
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 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
openhab-bot and GitHub
0dd5c4c050
New Crowdin updates ( #4915 )
...
* New translations defaultsystemchannels.properties (Italian)
* New translations defaultsystemchannels.properties (French)
2025-07-20 00:07:24 +02:00
openhab-bot and GitHub
b05cdfd235
New Crowdin updates ( #4914 )
...
* New translations defaultsystemchannels.properties (German)
* New translations defaultsystemchannels.properties (Danish)
2025-07-18 23:34:10 +02:00
Christoph Weitkamp and GitHub
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-bot and GitHub
cfdb31c517
New translations tags.properties (German) ( #4908 )
2025-07-17 15:25:49 +02:00
jimtng and GitHub
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
jimtng and GitHub
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
Nadahar and GitHub
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-bot and GitHub
2ae969431c
New translations tags.properties (French) ( #4906 )
2025-07-16 13:41:16 +02:00
Kai Kreuzer and GitHub
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
lolodomo and GitHub
cd26f6feaf
Registry: Avoid warn log when adding ActionType/Metadata several times ( #4900 )
...
Fix openhab/openhab-addons#18945
Regression from #4880
For Metadata, it was reported on the community forum, it occured when an item is linked to several channels.
Signed-off-by: Laurent Garnier <lg.hc@free.fr >
2025-07-15 22:56:52 +02:00
openhab-bot and GitHub
b1a68d0012
New Crowdin updates ( #4901 )
...
* New translations audio.properties (Portuguese)
* New translations audio.properties (Portuguese, Brazilian)
* New translations automation.properties (German)
* New translations chart.properties (German)
* New translations defaultsystemchannels.properties (German)
* New translations ephemeris.properties (Portuguese)
* New translations ephemeris.properties (Portuguese, Brazilian)
* New translations firmware.properties (Portuguese)
* New translations firmware.properties (Portuguese, Brazilian)
* New translations inbox.properties (Portuguese)
* New translations inbox.properties (Portuguese, Brazilian)
* New translations jsonstorage.properties (Portuguese)
* New translations jsonstorage.properties (Portuguese, Brazilian)
* New translations jsr223.properties (French)
* New translations jsr223.properties (German)
* New translations languagesupport.properties (Portuguese)
* New translations languagesupport.properties (Portuguese, Brazilian)
* New translations messages.properties (German)
* New translations network.properties (Portuguese)
* New translations network.properties (Portuguese, Brazilian)
* New translations persistence.properties (Portuguese, Brazilian)
* New translations scriptprofile.properties (German)
* New translations sitemap.properties (Portuguese)
* New translations sitemap.properties (Portuguese, Brazilian)
* New translations systemprofiles.properties (German)
* New translations tags.properties (French)
* New translations tags.properties (German)
* New translations units.properties (German)
* New translations units.properties (Portuguese, Brazilian)
* New translations validation.properties (German)
* New translations voice.properties (German)
2025-07-15 15:22:05 +02:00
lolodomo and GitHub
ff1156566b
Fix ready marker not set for model when folder is missing ( #4897 )
...
Related to #3823
Replaces #4444
If the sub-folder where models are supposed to be found does not exist, the service is marked as ready anyway.
If not, start level 100 could be never reached at OH startup.
Signed-off-by: Laurent Garnier <lg.hc@free.fr >
2025-07-13 17:16:47 +02:00
ea21fd6 and GitHub
20610fbd97
Fix persistence threshold filter with UoM ( #4881 )
...
* Add tests with UoM conversion
For `PersistenceThresholdFilter` add a test case that fails when
using temperatures in °C and a threshold in Kelvin. The threshold
should ignore the offset (0 °C = 273,15 K).
Add another test with length to increase coverage.
Signed-off-by: Christoph Gehrke <cgdev@duck.com >
* Fix PersistenceThresholdFilter UoM conversion
Use `toUnitRelative()` instead of `toUnit()` for delta (the difference
of old and current state). In particular for temperatures an offset
of different units (like °C and K) should be ignored when considering
the delta.
Signed-off-by: Christoph Gehrke <cgdev@duck.com >
---------
Signed-off-by: Christoph Gehrke <cgdev@duck.com >
2025-07-13 12:28:54 +02:00
lolodomo and GitHub
cc95a6d045
Fix NPE in FolderObserver ( #4896 )
...
Fix #4890
Signed-off-by: Laurent Garnier <lg.hc@free.fr >
2025-07-13 09:49:58 +02: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
Florian Hotze and GitHub
d83d35cd00
[automation] Add logging to script actions/conditions pre-compilation ( #4893 )
...
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-07-11 19:17:47 +02:00
Holger Friedrich and GitHub
a625d848a4
SAT: Reduce warnings, add suppressions ( #4863 )
...
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-07-10 19:13:49 +02:00
openhab-bot and GitHub
ff2e108a95
New translations tags.properties (Danish) ( #4891 )
2025-07-10 19:12:24 +02:00
jimtng and GitHub
2ed2a3aba3
Log the link in the ScriptProfile execution error message ( #4888 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au >
2025-07-08 06:56:37 +02:00
Jimmy Tanagra and Holger Friedrich
ccd36dd298
Fix some conflicting synonyms: App/Application, Heating, Ventilation, A/C, Air Conditioning, Lights, Lighting, Lamps
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au >
2025-07-07 20:20:06 +02:00
Jimmy Tanagra and Holger Friedrich
77bbd46a80
Raise an error when tags conflict with label or synonyms
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au >
2025-07-07 20:20:06 +02:00
Andrew Fiddian-Green and GitHub
1767a0a2ca
Add property tag for lock state ( #4882 )
...
* add lock state property
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch >
2025-07-07 20:12:16 +02:00
13ce3a16c9
Bump org.apache.maven.plugins:maven-enforcer-plugin from 3.5.0 to 3.6.0 ( #4887 )
...
Bumps [org.apache.maven.plugins:maven-enforcer-plugin](https://github.com/apache/maven-enforcer ) from 3.5.0 to 3.6.0.
- [Release notes](https://github.com/apache/maven-enforcer/releases )
- [Commits](https://github.com/apache/maven-enforcer/compare/enforcer-3.5.0...enforcer-3.6.0 )
---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-enforcer-plugin
dependency-version: 3.6.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-07 08:24:15 +02:00
1ebdfe7c24
Bump org.codehaus.gmavenplus:gmavenplus-plugin from 4.2.0 to 4.2.1 ( #4886 )
...
Bumps [org.codehaus.gmavenplus:gmavenplus-plugin](https://github.com/groovy/GMavenPlus ) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/groovy/GMavenPlus/releases )
- [Commits](https://github.com/groovy/GMavenPlus/compare/4.2.0...4.2.1 )
---
updated-dependencies:
- dependency-name: org.codehaus.gmavenplus:gmavenplus-plugin
dependency-version: 4.2.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-07 08:23:18 +02:00
Jacob Laursen and GitHub
81d0e55137
Remove deprecated method from interface ( #4884 )
...
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk >
2025-07-06 15:16:11 +02:00
Jacob Laursen and GitHub
7329ce7acf
Remove deprecated discovery methods ( #4883 )
...
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk >
2025-07-06 06:54:56 +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
Kai Kreuzer and GitHub
ec08f6963c
Fix streaming of m3u audio streams ( #4879 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2025-07-05 11:16:30 +02:00
lolodomo and GitHub
b48e1632aa
WARN log when an object with same ID is added to a registry by a seco… ( #4880 )
...
* WARN log when an object with same ID is added to a registry by a second provider
Log was existing but at DEBUG level, meaning the general user was not informed that he defined the same object (thing, item, ...) at different places (providers) like for example an item in Main UI and an item in config file with same name.
Fix #4810
Signed-off-by: Laurent Garnier <lg.hc@free.fr >
2025-07-01 16:25:03 +02:00
Florian Hotze and GitHub
77530fe2eb
[thing] Add SemverVersion type to be used by bindings ( #4875 )
...
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-07-01 08:31:31 +02:00
jimtng and GitHub
1922550faa
AbstractRegistry: hide exception stacktrace on IAE when adding an element ( #4877 )
...
Hide the scary stacktrace from user. The message is sufficient to describe the problem.
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au >
2025-06-30 22:50:17 +02:00
Wouter Born and GitHub
5c29932f1f
Remove base-fixes bundle ( #4876 )
...
It was used by the workaround reverted in #4499 .
Signed-off-by: Wouter Born <github@maindrain.net >
2025-06-29 23:08:05 +02:00