This issue has been resolved by upgrading to the latest stable version.
Thanks @rkrisi I missed that bit (jetlag and system upgrade not good idea). Full steps in one place to help others given MQTT is used so much now. (updated with improved karaf command)
sudo systemctl stop openhab2
sudo sudo openhab-cli clean-cache
sudo systemctl start openhab2
Confirmed here that MQTT state updates now failing.
Open the Karaf console:
openhab-cli console
bundle:update org.openhab.core.io.transport.mqtt https://janessa.me/esh/org.openhab.core.io.transport.mqtt-2.5.0-fs.jar
logout
restart openhab - do not clear the cache
sudo systemctl restart openhab2
Confirmed that MQTT states are now working again - Can’t comment on retained messages. Note I also had some suspect issues with openhab-cli not stopping Openhab so playing it safe here.
thanks @J-N-K for prompt fix
Update: I had to reboot my rpi3 and the connection to the MQTT Broker failed with
OFFLINE - COMMUNICATION_ERROR io.netty.channel.AbstractChannel$AnnotatedNoRouteToHostException: No route to host: /10.88.87.180:1883
A manual stop and start of openhab resolved the issue.