Upgrade jmdns to 3.6.1 - #4997
Conversation
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>
|
This is currently breaking mdns in the full distro.
I did not see it before, but in the full distro build, the following issue shows up in the log. mdns service is broken. @kaikreuzer Do you have any hint how to resolve this? What changed towards 3.6? Version 3.5.12 works fine. |
|
@holgerfriedrich I am not aware of anything specific, but I see that the 3.6.0 release had quite many changes and clean-ups: https://github.com/jmdns/jmdns/releases/tag/3.6.0. So we might have to go through this to see why this new requirement came in - it should actually not ask for JavaSE 8, but just for anything >=8... |
This reverts commit 02804f8.
|
comparing the MANIFEST files:
apparently The change from 1.8 to 8 was done here: |
|
@kaikreuzer I created a PR in jmdns to remove the require-capabilites info. Not sure if this is the way to go and I have not yet tested if this would solve our problem. How should we proceed? Roll back in OH or go for changing jmdns? |
|
Thanks for the analysis @holgerfriedrich! |
|
@kaikreuzer The line is gone in the manifest, but my OH test build still shows the same behavior with 3.6.2-SNAPSHOT :-( |
|
Hm, that's sad to hear. Are you sure that it is using the right jar? |
|
When I remove Regarding mvnrepo: I have no experience with deploying packages there.... |
It should not be necessary, but I have no idea, why this suddenly is a problem. Does it resolve again f you change it to JavaSE-1.8? |
|
Maybe worth to revert to 3.5.12 for now as we won't solve the issue today anymore... |
|
@kaikreuzer I have the feeling, Regarding revert: Maybe we can wait for another day. Reverting means also to resolve add-ons again. |
But we do not want EE, we only want SE... |
|
@kaikreuzer jmdns/jmdns#350 does the trick for me. |
|
Great to hear. Then it is on me to get a release out. Trying my best here: https://github.com/jmdns/jmdns/actions/runs/17362951570/job/49285492295, but I won't manage to get it done tonight - so give me another chance tomorrow! |
|
I think I made it - the new version should appear on Maven Central within the next hour. |
|
Already there: https://central.sonatype.com/artifact/org.jmdns/jmdns/3.6.2 |
|
@holgerfriedrich / @kaikreuzer I am just checking some housekeeping in preparation for the OH v5.1 release and I am wondering if jmdns/jmdns#355 is included already in the Jmdns snapshot that will be used by OH in that upcoming release? Or do I need to do something on my side to make that happen? Reason is that I have an addon PR openhab/openhab-addons#19340 which currently implements the jmdns/jmdns#355 code within the addon itself, whereas if it would become part of OH core then I can remove that code and import the functionality OH Core Jmdns instead. |
|
@andrewfg checking https://github.com/jmdns/jmdns/commits/main/ it seems there has not been a jmdns release since then. So it is not included yet. |
|
@andrewfg I can do a new JmDNS release after openHAB 5.1, if that's ok. |
|
No worries @kaikreuzer .. I will catch up whenever its ready.. |
|
Thanks @kaikreuzer |

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