Eoghan Bonass
05/13/2024, 1:35 PM5099.67e0f7f….js:2 The dashboard plugin table_with_text_wrap 2.0.0 requires engine with version >=10.0.0 <=10.0.0, but the loaded dashboard engine has version 10.2.0-alpha.29.
5099.67e0f7f….js:2 Some external dashboard plugin is incompatible with the loaded dashboard engine. None of the external plugins will be initialized.
This is in one of our test environments.
table_with_text_wrap
is a plugin we’re trying to update to use the GoodData UI SDK v10. GoodData UI v10.2 isn’t available for me to list as a dependency. Any help on how I can get around this would be much appreciated.Eoghan Bonass
05/13/2024, 2:03 PMRadek Novacek
05/14/2024, 7:43 AMIt depends how the plugin was built, we would need to see the source of the plugin.
This is the check for compatibility inside our code https://github.com/gooddata/gooddata-ui-sdk/blob/master/libs/sdk-ui-loaders/src/dashboard/loadingStrategies/determineDashboardEngine.ts#L35-L39
When the compatibility field is present, it's taken first (and we fill it for peer deps so for example the plugin built with sdk v 10 would get ^10.0.0 which would satisfy it)
if it's missing, the minengine/maxengine version is taken https://github.com/gooddata/gooddata-ui-sdk/blob/master/tools/dashboard-plugin-template/src/plugin_entry/index.ts#L22-L24Hope this helps! 🙂
Eoghan Bonass
05/14/2024, 7:56 AMpeerDependencies
with a carat - I only did that for the production dependencies
.
I’ll update the peerDependencies
(and the devDependencies
for good measure) to use the ^10.0.0
format and see if that works.Radek Novacek
05/20/2024, 9:19 AMEoghan Bonass
05/20/2024, 1:14 PMEoghan Bonass
05/20/2024, 1:15 PMEoghan Bonass
05/20/2024, 1:16 PMUpgrade Dashboard Plugins
docs.Eoghan Bonass
05/20/2024, 1:17 PMRadek Novacek
05/20/2024, 1:18 PMEoghan Bonass
05/20/2024, 1:21 PM