openHAB 5.1 Release discussion

I observe some inconsistencies in the semantic model since the update to version 5.1:

For example I have an Item which was previously tagged with semantic tags in my model but I removed these tags a while ago:

However the item is still shown as part of the semantic model. By looking at the output of the REST API it is obvious why this is the case:

{
  "link": "https://openhab.amfthome.org/rest/items/window_livingleft_openstate",
  "state": "OFF",
  "stateDescription": {
    "readOnly": true,
    "options": [
      {
        "value": "OFF",
        "label": "Geschlossen"
      },
      {
        "value": "ON",
        "label": "Geöffnet"
      }
    ]
  },
  "commandDescription": {
    "commandOptions": [
      {
        "command": "OFF",
        "label": "Geschlossen"
      },
      {
        "command": "ON",
        "label": "Geöffnet"
      }
    ]
  },
  "lastStateUpdate": 1753966367000,
  "metadata": {
    "widgetText": {
      "value": "Wohnzimmer links",
      "editable": true
    },
    "widgetOrder": {
      "value": "0",
      "editable": true
    },
    "semantics": {
      "value": "Point_Status_OpenState_WindowOpenState",
      "config": {
        "isPointOf": "window_livingleft"
      },
      "editable": true
    },
    "stateDescription": {
      "value": " ",
      "config": {
        "options": "OFF=Geschlossen,ON=Geöffnet",
        "readOnly": "true"
      },
      "editable": true
    }
  },
  "editable": true,
  "type": "Switch",
  "name": "window_livingleft_openstate",
  "label": "Fenster Öffnung",
  "category": "window",
  "tags": [],
  "groupNames": [
    "windowsensors",
    "window_livingleft",
    "window_openstates",
    "backdoors_openstate"
  ]
}

Before 5.1 I had quite a few custom semantic tags in the system, and this was one of them. This property no longer exists now but the semantics metadata still show this value and are no longer updated. I also already tried to apply some other semantic metadata but they are only shown as Non-Semantic tags and the semantic metadata stays the same.

In the editor it looks ok:

But on the item page the tags are shown as Non-Semantic:

I guess I’ll just have to recreate the item, but it might make sense to have a logic in place e.g. when saving the item to check for old invalid semantics metadata and remove this if necessary.

Update: I discovered this in the logs which might be a clue:

2026-02-13 12:27:24.878 [WARN ] [ore.common.registry.AbstractRegistry] - Provider 'SemanticsMetadataProvider' is not allowed to remove element 'Metadata' with key 'semantics:window_livingleft_openstate' from the registry because it was added by provider 'ManagedMetadataProviderImpl'.