upgrade.txt 1.05 KB
Newer Older
1 2
This files describes API changes in the book code.

3 4 5
=== 3.11 ===
* Final deprecation - booktool_print_get_toc(). Please use render_print_book_toc() instead.

6 7 8 9 10
=== 3.8 ===

* The following functions have been finally deprecated and can not be used anymore:
    * book_scale_used()

11 12 13 14
=== 3.7 ===

* book_export_contents() callback now returns tags information for every chapter.

15 16 17 18 19 20 21 22
=== 3.1 ===

* The following functions, previously used (exclusively) by upgrade steps are not available
  anymore because of the upgrade cleanup performed for this version. See MDL-51580 for more info:
    - mod_book_migrate_moddata_dir_to_legacy()
    - mod_book_migrate_all_areas()
    - mod_book_migrate_area()

23 24 25 26 27
=== 3.0 ===

* External function mod_book_external::get_books_by_courses returned parameter "name" has been changed to PARAM_RAW,
  this is because the new external_format_string function may return raw data if the global moodlewssettingraw parameter is used.

28 29 30
=== 2.7 ===

* bogus legacy log calls were removed
31
* \mod_book\event\chapter_deleted::set_legacy_logdata() was removed