Plugin API v95: renumber the bar menu after the web panel's v94

Upstream took v93 (GetMonsterHealth) and the web panel is now v94, so the "barMenu" manifest key is
v95: PluginContractVersion.BarMenu and Current, RynthCoreSdkApiVersion, the comments in
SectionManifest.cs, ImGuiBar.cs and BarMenuHover.cs, the SectionsTests case names and the changelog.
docs/WEB_PANEL.md names the SDK's API as 95 now. No table change. Still provisional.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Daniel Wallace 2026-11-08 13:15:46 -08:00
commit fb3b3f3a69
8 changed files with 21 additions and 21 deletions

View file

@ -1,7 +1,7 @@
# Bar icon dropdown: plugin API v94
# Bar icon dropdown: plugin API v95
Branch `up/bar-menu`, from `up/web-panel` (0ef12d7). Not deployed. The API number 94 is provisional, as 93 is
(upstream may take it first; it renumbers on merge). The manifest is parsed here; the bar draws it (below).
Branch `pr/bar-menu`, from `pr/web-panel` (web panel, v94). Not deployed. The API number 95 is provisional, as
94 is (unmerged upstream branches also use these numbers; whichever merges second renumbers). The manifest is parsed here; the bar draws it (below).
## What changed
@ -12,8 +12,8 @@ Branch `up/bar-menu`, from `up/web-panel` (0ef12d7). Not deployed. The API numbe
non-empty and capped at 48 characters, the command is a single `/...` chat command (the same rule as a contribution's),
the icon is one Phosphor glyph or empty (an icon that is not a glyph is kept as an empty icon, and the bar draws the tooltip's first letter). An item with a bad id, tooltip or command is dropped; items past
`MaxBarMenuItems` (6) are ignored; a `barMenu` that is not an array is ignored.
- `PluginContractVersion.Current` and the SDK's `RynthCoreSdkApiVersion` (`RynthCore.PluginSdk.targets`) go to 94.
No function table change. Engines before v94 ignore the key, so a plugin can declare it unconditionally.
- `PluginContractVersion.Current` and the SDK's `RynthCoreSdkApiVersion` (`RynthCore.PluginSdk.targets`) go to 95.
No function table change. Engines before v95 ignore the key, so a plugin can declare it unconditionally.
## Tests