Core API version 1.27 is not released
Hi folks,
I noticed there are content types registered on the H5P hub, which require a minimum core API version of 1.27.
However, the latest official version of the core API is only v1.26 (see https://packagist.org/packages/h5p/h5p-core).
The v1.27 only seems to be released on a custom branch on GitHub for Moodle, which is not available for other integrations.
This leads to content types which cannot be installed or updated anymore when using other integrations than Moodle.
Content updates will now trigger errors like the ones below, caused by trying to install the Interactive Video content type:
<code>
The system was unable to install the CKEditor wrapper/loader for H5P component from the package, it requires a newer version of the H5P plugin. This site is currently running version 1.26, whereas the required version is 1.27 or higher. You should consider upgrading and then try again.
The system was unable to install the Interactive Video component from the package, it requires a newer version of the H5P plugin. This site is currently running version 1.26, whereas the required version is 1.27 or higher. You should consider upgrading and then try again.
The system was unable to install the Mark the Words component from the package, it requires a newer version of the H5P plugin. This site is currently running version 1.26, whereas the required version is 1.27 or higher. You should consider upgrading and then try again.
The system was unable to install the Multiple Choice component from the package, it requires a newer version of the H5P plugin. This site is currently running version 1.26, whereas the required version is 1.27 or higher. You should consider upgrading and then try again.
The system was unable to install the Image Choice component from the package, it requires a newer version of the H5P plugin. This site is currently running version 1.26, whereas the required version is 1.27 or higher. You should consider upgrading and then try again.
The system was unable to install the Table component from the package, it requires a newer version of the H5P plugin. This site is currently running version 1.26, whereas the required version is 1.27 or higher. You should consider upgrading and then try again.
The system was unable to install the Interactive Video Editor component from the package, it requires a newer version of the H5P plugin. This site is currently running version 1.26, whereas the required version is 1.27 or higher. You should consider upgrading and then try again.
</code>
For this concrete example I have also opened an issue on GitHub: https://github.com/h5p/h5p-interactive-video/issues/334
From my POV, you should either release v1.27 officially on packagist.org, so other integrations can include this version, or do not accept content type versions that require a core API version that is not officially released.
otacke
Wed, 10/09/2024 - 08:44
Permalink
I fully agree that the new
I fully agree that the new version should be released on Packagist timely including a decent chsnge log.
But if it is urgent, you can also grab the respective branch of the plugins for WordPress, moodle or Drupal (whatever is closest to your H5P integration) and copy the vendor files manually (or add a pluggable solution that is not depending on packagist like moodleHQ did for their custom H5P integration, please cmp. https://github.com/moodlehq/moodle-h5plib_v127