From fa201a1029f4ca699fdcf1870fa5f1fb05cf736e Mon Sep 17 00:00:00 2001 From: Huong Nguyen Date: Fri, 31 Jan 2025 09:20:03 +0700 Subject: [PATCH] NOBUG: Add upgrade notes --- UPGRADING.md | 27 +++++++++++++++++++++++++++ admin/tool/admin_presets/UPGRADING.md | 1 - admin/tool/behat/UPGRADING.md | 9 +++++++++ ai/UPGRADING.md | 1 - grade/UPGRADING.md | 12 ++++++++++++ question/UPGRADING.md | 6 ++++++ 6 files changed, 54 insertions(+), 2 deletions(-) diff --git a/UPGRADING.md b/UPGRADING.md index 5412956a677..8d789615ebf 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -247,8 +247,26 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt For more information see [MDL-83641](https://tracker.moodle.org/browse/MDL-83641) +### core_grades + +#### Removed + +- Final deprecation of + grade_structure::get_element_type_string(), + grade_structure::get_element_header(), + grade_structure::get_element_icon(), + grade_structure::get_activity_link() + + For more information see [MDL-79907](https://tracker.moodle.org/browse/MDL-79907) + ### core_question +#### Added + +- The `get_bulk_actions()` method on the base `plugin_features_base` class has been changed to allow a qbank view object to be passed through. This is nullable and therefore optional for qbank plugins which don't need to do so. + + For more information see [MDL-79281](https://tracker.moodle.org/browse/MDL-79281) + #### Changed - The definition of the abstract `core_question\local\bank\condition` class has changed to make it clearer which methods are required in child classes. @@ -467,6 +485,15 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt For more information see [MDL-83035](https://tracker.moodle.org/browse/MDL-83035) +### tool_behat + +#### Added + +- New Behat step `\behat_general::the_url_should_match()` has been added to allow checking the current URL. You can use it to check whether a user has been redirected to the expected location. + e.g. `And the url should match "/mod/forum/view\.php\?id=[0-9]+"` + + For more information see [MDL-83617](https://tracker.moodle.org/browse/MDL-83617) + ### tool_brickfield #### Deprecated diff --git a/admin/tool/admin_presets/UPGRADING.md b/admin/tool/admin_presets/UPGRADING.md index ba1424013e9..1250312990a 100644 --- a/admin/tool/admin_presets/UPGRADING.md +++ b/admin/tool/admin_presets/UPGRADING.md @@ -7,4 +7,3 @@ - behat_admin_presets::following_in_the_should_download_between_and_bytes is deprecated. Use: the following element should download a file that: For more information see [MDL-83035](https://tracker.moodle.org/browse/MDL-83035) - diff --git a/admin/tool/behat/UPGRADING.md b/admin/tool/behat/UPGRADING.md index a3be57f21ed..ef148696842 100644 --- a/admin/tool/behat/UPGRADING.md +++ b/admin/tool/behat/UPGRADING.md @@ -1,5 +1,14 @@ # tool_behat Upgrade notes +## 5.0dev + +### Added + +- New Behat step `\behat_general::the_url_should_match()` has been added to allow checking the current URL. You can use it to check whether a user has been redirected to the expected location. + e.g. `And the url should match "/mod/forum/view\.php\?id=[0-9]+"` + + For more information see [MDL-83617](https://tracker.moodle.org/browse/MDL-83617) + ## 4.5 ### Added diff --git a/ai/UPGRADING.md b/ai/UPGRADING.md index 31be457ee69..bd3d0455b5e 100644 --- a/ai/UPGRADING.md +++ b/ai/UPGRADING.md @@ -7,4 +7,3 @@ - The ai_provider_management_table has been refactored to inherit from flexible_table instead of plugin_management_table. As a result the methods get_plugintype and get_action_url are now unused and have been deprecated in the class. For more information see [MDL-82922](https://tracker.moodle.org/browse/MDL-82922) - diff --git a/grade/UPGRADING.md b/grade/UPGRADING.md index b4a44b27cdc..80d6996f7b5 100644 --- a/grade/UPGRADING.md +++ b/grade/UPGRADING.md @@ -1,5 +1,17 @@ # core_grades (subsystem) Upgrade notes +## 5.0dev + +### Removed + +- Final deprecation of + grade_structure::get_element_type_string(), + grade_structure::get_element_header(), + grade_structure::get_element_icon(), + grade_structure::get_activity_link() + + For more information see [MDL-79907](https://tracker.moodle.org/browse/MDL-79907) + ## 4.5 ### Changed diff --git a/question/UPGRADING.md b/question/UPGRADING.md index 1640dbefe50..537b918f25b 100644 --- a/question/UPGRADING.md +++ b/question/UPGRADING.md @@ -2,6 +2,12 @@ ## 5.0dev +### Added + +- The `get_bulk_actions()` method on the base `plugin_features_base` class has been changed to allow a qbank view object to be passed through. This is nullable and therefore optional for qbank plugins which don't need to do so. + + For more information see [MDL-79281](https://tracker.moodle.org/browse/MDL-79281) + ### Changed - The definition of the abstract `core_question\local\bank\condition` class has changed to make it clearer which methods are required in child classes.