Migrate plugins from Grafana 9.3.x to 9.4.x
Follow these instructions to migrate from Grafana 9.3.x to 9.4.x.
New navigation layout is supportedβ
First, enable the topnav
feature flag in custom.ini
to check how your plugin renders in the new navigation layout:
[feature_toggles]
enable = topnav
Migrate from onNavChanged
β
If your plugin uses the onNavChanged
callback to inform Grafana of its navigation model and child pages, you should see that this results in duplicated navigation elements. If you disable topnav
, then it should look just like before.
If topnav
is enabled, then we need to update the plugin to take advantage of the new PluginPage
component. In this case, we do not call onNavChanged
, which is now deprecated.