Skip to content

Commit

Permalink
NOBUG: Add upgrade notes
Browse files Browse the repository at this point in the history
  • Loading branch information
junpataleta committed Feb 14, 2025
1 parent 75b3fd3 commit 7e3d9ef
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 1 deletion.
9 changes: 9 additions & 0 deletions UPGRADING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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

Expand Down
3 changes: 3 additions & 0 deletions completion/UPGRADING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 3 additions & 0 deletions course/format/UPGRADING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 3 additions & 0 deletions lib/UPGRADING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion mod/folder/UPGRADING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 7e3d9ef

Please sign in to comment.