on-demand release 3.11dev+
[moodle.git] / h5p / upgrade.txt
blob8ebd917b0f3f3171f25d5602f7251a9d5fd0cf5c
1 This files describes API changes in core libraries and APIs,
2 information provided here is intended especially for developers.
4 === 3.11 ===
5 * Added $skipcapcheck parameter to H5P constructor, api::create_content_from_pluginfile_url() and
6 api::get_content_from_pluginfile_url() to let skip capabilities check to get the pluginfile URL.
7 * Added new field "enabled" to h5p_libraries to let define if a content type is enabled (1) or not (0).
8 For now, only runnable content-types can be disabled/enabled. When a content-type is disabled, their
9 contents are not displayed and no new contents using it can be created/uploaded.
10 Some extra methods have been added to the api too in order to support this field:
11 - set_library_enabled
12 - is_library_enabled
13 - is_valid_package
15 === 3.10 ===
16 * Added a new cache for h5p_library_files (MDL-69207)
18 === 3.9 ===
19 * A new plugintype has been created, h5plib, for having installed more
20 than one H5P library version.
21 * H5P third-party libraries have been moved from /lib/h5p to h5p/h5plib/v124,
22 as an h5plib plugintype.
23 * H5P Editor PHP library added to h5plib v124 plugin.