diff --git a/UPGRADING.md b/UPGRADING.md index c13ef53a2b8ad..7ad9b356277cc 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -33,6 +33,9 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt - The deprecated implementation in course/view.php, which uses the extern_server_course function to handle routing between internal and external courses, can be improved by utilizing the Hook API. This enhancement is essential for a project involving multiple universities, as the Hook API provides a more generalized and flexible approach to route users to external courses from within other plugins. For more information see [MDL-83473](https://tracker.moodle.org/browse/MDL-83473) +- Add after_role_switched hook that is triggered when we switch role to a new role in a course. + + For more information see [MDL-83542](https://tracker.moodle.org/browse/MDL-83542) - New generic collapsable section output added. Use core\output\local\collapsable_section or include the core/local/collapsable_section template to use it. See the full documentation in the component library. For more information see [MDL-83869](https://tracker.moodle.org/browse/MDL-83869) @@ -178,6 +181,9 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt #### Added +- Add hook after_cm_completion_updated triggered when an activity completion is updated. + + For more information see [MDL-83542](https://tracker.moodle.org/browse/MDL-83542) - The method `count_modules_completed` now delegate the logic to count the completed modules to the DBMS improving the performance of the method. For more information see [MDL-83917](https://tracker.moodle.org/browse/MDL-83917) @@ -212,6 +218,9 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt - Add core_courseformat\base::invalidate_all_session_caches to reset course editor cache for all users when course is changed. This method can be used as an alternative to core_courseformat\base::session_cache_reset for resetting the cache for the current user in case the change in the course should be reflected for all users. For more information see [MDL-83185](https://tracker.moodle.org/browse/MDL-83185) +- Add after_course_content_updated hook triggered when a course content is updated (module modified, ...) through edition. + + For more information see [MDL-83542](https://tracker.moodle.org/browse/MDL-83542) #### Changed diff --git a/completion/UPGRADING.md b/completion/UPGRADING.md index 4203d785916d4..5cde15883ad5f 100644 --- a/completion/UPGRADING.md +++ b/completion/UPGRADING.md @@ -4,6 +4,9 @@ ### Added +- Add hook after_cm_completion_updated triggered when an activity completion is updated. + + For more information see [MDL-83542](https://tracker.moodle.org/browse/MDL-83542) - The method `count_modules_completed` now delegate the logic to count the completed modules to the DBMS improving the performance of the method. For more information see [MDL-83917](https://tracker.moodle.org/browse/MDL-83917) diff --git a/course/format/UPGRADING.md b/course/format/UPGRADING.md index d24d0ba439c2b..e3c0c1f6363f6 100644 --- a/course/format/UPGRADING.md +++ b/course/format/UPGRADING.md @@ -13,6 +13,9 @@ - Add core_courseformat\base::invalidate_all_session_caches to reset course editor cache for all users when course is changed. This method can be used as an alternative to core_courseformat\base::session_cache_reset for resetting the cache for the current user in case the change in the course should be reflected for all users. For more information see [MDL-83185](https://tracker.moodle.org/browse/MDL-83185) +- Add after_course_content_updated hook triggered when a course content is updated (module modified, ...) through edition. + + For more information see [MDL-83542](https://tracker.moodle.org/browse/MDL-83542) ### Changed diff --git a/lib/UPGRADING.md b/lib/UPGRADING.md index c2ab0e5e60da0..96813f687a2b6 100644 --- a/lib/UPGRADING.md +++ b/lib/UPGRADING.md @@ -25,6 +25,9 @@ - The deprecated implementation in course/view.php, which uses the extern_server_course function to handle routing between internal and external courses, can be improved by utilizing the Hook API. This enhancement is essential for a project involving multiple universities, as the Hook API provides a more generalized and flexible approach to route users to external courses from within other plugins. For more information see [MDL-83473](https://tracker.moodle.org/browse/MDL-83473) +- Add after_role_switched hook that is triggered when we switch role to a new role in a course. + + For more information see [MDL-83542](https://tracker.moodle.org/browse/MDL-83542) - New generic collapsable section output added. Use core\output\local\collapsable_section or include the core/local/collapsable_section template to use it. See the full documentation in the component library. For more information see [MDL-83869](https://tracker.moodle.org/browse/MDL-83869) diff --git a/mod/folder/UPGRADING.md b/mod/folder/UPGRADING.md index 77418c42e786a..9b0d343416a38 100644 --- a/mod/folder/UPGRADING.md +++ b/mod/folder/UPGRADING.md @@ -7,4 +7,3 @@ - Method htmllize_tree() has been removed. Please use renderable_tree_elements instead For more information see [MDL-79214](https://tracker.moodle.org/browse/MDL-79214) -