Merge branch 'MDL-74470' of https://github.com/timhunt/moodle
[moodle.git] / mod / book / upgrade.txt
blobe3a7853754e39dc6f9d62c987e63d9b31116702f
1 This files describes API changes in the book code.
3 === 4.0 ===
5 * book_get_nav_types() has been deprecated. Related settings have been removed. The navigation is now set to only "next" and
6  "previous".
8 === 3.11 ===
9 * Final deprecation - booktool_print_get_toc(). Please use render_print_book_toc() instead.
11 === 3.8 ===
13 * The following functions have been finally deprecated and can not be used anymore:
14     * book_scale_used()
16 === 3.7 ===
18 * book_export_contents() callback now returns tags information for every chapter.
20 === 3.1 ===
22 * The following functions, previously used (exclusively) by upgrade steps are not available
23   anymore because of the upgrade cleanup performed for this version. See MDL-51580 for more info:
24     - mod_book_migrate_moddata_dir_to_legacy()
25     - mod_book_migrate_all_areas()
26     - mod_book_migrate_area()
28 === 3.0 ===
30 * External function mod_book_external::get_books_by_courses returned parameter "name" has been changed to PARAM_RAW,
31   this is because the new external_format_string function may return raw data if the global moodlewssettingraw parameter is used.
33 === 2.7 ===
35 * bogus legacy log calls were removed
36 * \mod_book\event\chapter_deleted::set_legacy_logdata() was removed