Merge branch 'MDL-75244-311' of https://github.com/andrewnicols/moodle into MOODLE_31...
[moodle.git] / h5p / upgrade.txt
blobd3e1572eaa121e695e9d73b63413affcee88744e
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
14 * The third-party library h5p/h5plib/v124/core has been updated to version 1.24.2.
16 === 3.10 ===
17 * Added a new cache for h5p_library_files (MDL-69207)
19 === 3.9 ===
20 * A new plugintype has been created, h5plib, for having installed more
21 than one H5P library version.
22 * H5P third-party libraries have been moved from /lib/h5p to h5p/h5plib/v124,
23 as an h5plib plugintype.
24 * H5P Editor PHP library added to h5plib v124 plugin.