1 |
efrain |
1 |
This file describes API changes in the book code.
|
|
|
2 |
|
|
|
3 |
=== 4.4 ===
|
|
|
4 |
|
|
|
5 |
* The previously deprecated `book_get_nav_types` method has been removed, along with the `BOOK_LINK_*` constants
|
|
|
6 |
* book_get_nav_classes() has been deprecated and won't have replacement because it's not required anymore. It should have been
|
|
|
7 |
deprecated together with book_get_nav_types.
|
|
|
8 |
|
|
|
9 |
=== 4.0 ===
|
|
|
10 |
|
|
|
11 |
* book_get_nav_types() has been deprecated. Related settings have been removed. The navigation is now set to only "next" and
|
|
|
12 |
"previous".
|
|
|
13 |
|
|
|
14 |
=== 3.11 ===
|
|
|
15 |
* Final deprecation - booktool_print_get_toc(). Please use render_print_book_toc() instead.
|
|
|
16 |
|
|
|
17 |
=== 3.8 ===
|
|
|
18 |
|
|
|
19 |
* The following functions have been finally deprecated and can not be used anymore:
|
|
|
20 |
* book_scale_used()
|
|
|
21 |
|
|
|
22 |
=== 3.7 ===
|
|
|
23 |
|
|
|
24 |
* book_export_contents() callback now returns tags information for every chapter.
|
|
|
25 |
|
|
|
26 |
=== 3.1 ===
|
|
|
27 |
|
|
|
28 |
* The following functions, previously used (exclusively) by upgrade steps are not available
|
|
|
29 |
anymore because of the upgrade cleanup performed for this version. See MDL-51580 for more info:
|
|
|
30 |
- mod_book_migrate_moddata_dir_to_legacy()
|
|
|
31 |
- mod_book_migrate_all_areas()
|
|
|
32 |
- mod_book_migrate_area()
|
|
|
33 |
|
|
|
34 |
=== 3.0 ===
|
|
|
35 |
|
|
|
36 |
* External function mod_book_external::get_books_by_courses returned parameter "name" has been changed to PARAM_RAW,
|
|
|
37 |
this is because the new external_format_string function may return raw data if the global moodlewssettingraw parameter is used.
|
|
|
38 |
|
|
|
39 |
=== 2.7 ===
|
|
|
40 |
|
|
|
41 |
* bogus legacy log calls were removed
|
|
|
42 |
* \mod_book\event\chapter_deleted::set_legacy_logdata() was removed
|