From 902f9535b609191997d11f35bf2fe220ed3a0e22 Mon Sep 17 00:00:00 2001 From: Jun Pataleta Date: Fri, 26 Jul 2024 13:35:25 +0800 Subject: [PATCH] NOBUG: Add upgrade notes --- UPGRADING.md | 65 ++++++++++++++++++++++++++++++----- admin/UPGRADING.md | 1 - admin/tool/oauth2/UPGRADING.md | 1 - badges/UPGRADING.md | 9 +++++ course/format/UPGRADING.md | 9 +++++ customfield/field/select/UPGRADING.md | 10 ++++++ lib/UPGRADING.md | 6 ++++ mod/feedback/UPGRADING.md | 3 ++ report/log/UPGRADING.md | 10 ++++++ reportbuilder/UPGRADING.md | 6 ++++ user/UPGRADING.md | 1 - 11 files changed, 110 insertions(+), 11 deletions(-) create mode 100644 customfield/field/select/UPGRADING.md create mode 100644 report/log/UPGRADING.md diff --git a/UPGRADING.md b/UPGRADING.md index fdcb408d44d..2f68b79f41c 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -15,6 +15,15 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt - The badges/newbadge.php page has been deprecated and merged with badges/edit.php. Please, use badges/edit.php instead. For more information see [MDL-43938](https://tracker.moodle.org/browse/MDL-43938) +- OPEN_BADGES_V1 is deprecated and should not be used anymore. + + For more information see [MDL-70983](https://tracker.moodle.org/browse/MDL-70983) + +#### Removed + +- Final removal of BADGE_BACKPACKAPIURL and BADGE_BACKPACKWEBURL. + + For more information see [MDL-70983](https://tracker.moodle.org/browse/MDL-70983) #### Added @@ -42,6 +51,9 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt - Final deprecation of \core\task\manager::ensure_adhoc_task_qos() For more information see [MDL-74843](https://tracker.moodle.org/browse/MDL-74843) +- Remove deprecation layer for YUI Events. The deprecation layer was introduced with MDL-70990 and MDL-72291. + + For more information see [MDL-77167](https://tracker.moodle.org/browse/MDL-77167) #### Added @@ -62,6 +74,9 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt ``` For more information see [MDL-66903](https://tracker.moodle.org/browse/MDL-66903) +- Added stored progress bars + + For more information see [MDL-70854](https://tracker.moodle.org/browse/MDL-70854) - New DML constant `SQL_INT_MAX` to define the size of a large integer with cross database platform support For more information see [MDL-81282](https://tracker.moodle.org/browse/MDL-81282) @@ -255,6 +270,12 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt - Added a new database helper method `sql_replace_parameters` to help ensure uniqueness of parameters within a SQL expression For more information see [MDL-81434](https://tracker.moodle.org/browse/MDL-81434) +- New format helper `format_time` method, for use in column callbacks that represent a duration of time (e.g. "3 days 4 hours") + + For more information see [MDL-82466](https://tracker.moodle.org/browse/MDL-82466) +- Methods add_columns_from_entity(), add_filters_from_entity() and report_element_search() have been moved from \core_reportbuilder\datasource class to \core_reportbuilder\base class in order to be available also for system reports + + For more information see [MDL-82529](https://tracker.moodle.org/browse/MDL-82529) #### Removed @@ -338,6 +359,17 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt For more information see [MDL-78773](https://tracker.moodle.org/browse/MDL-78773) +### mod_feedback + +#### Deprecated + +- The `feedback_check_is_switchrole` method has been deprecated as it didn't work + + For more information see [MDL-72424](https://tracker.moodle.org/browse/MDL-72424) +- The method `mod_feedback\output\renderer::create_template_form()` has been deprecated. It is not used anymore. + + For more information see [MDL-81742](https://tracker.moodle.org/browse/MDL-81742) + ### report_eventlist #### Deprecated @@ -550,6 +582,15 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt If `istrackeduser` is pre-computed for the course module's course, it can be provided here to avoid an additional function call. For more information see [MDL-81610](https://tracker.moodle.org/browse/MDL-81610) +- New $disabled parameter has been added to select, select_optgroup and select_option html_writers to create disabled option elements. + + For more information see [MDL-82146](https://tracker.moodle.org/browse/MDL-82146) +- New \core_courseformat\output\local\content\basecontrolmenu class has been created. Existing \core_courseformat\output\local\content\cm\controlmenu and \core_courseformat\output\local\content\section\controlmenu classes extend the new \core_courseformat\output\local\content\basecontrolmenu class. + + For more information see [MDL-82510](https://tracker.moodle.org/browse/MDL-82510) +- New \core_courseformat\output\local\content\cm\delegatedcontrolmenu class has been created extending \core_courseformat\output\local\content\basecontrolmenu class to render delegated section action menu combining section and module action menu. + + For more information see [MDL-82510](https://tracker.moodle.org/browse/MDL-82510) ### core_course @@ -577,14 +618,6 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt For more information see [MDL-81872](https://tracker.moodle.org/browse/MDL-81872) -### mod_feedback - -#### Deprecated - -- The method `mod_feedback\output\renderer::create_template_form()` has been deprecated. It is not used anymore. - - For more information see [MDL-81742](https://tracker.moodle.org/browse/MDL-81742) - ### core_completion #### Changed @@ -625,3 +658,19 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt - The base class `info::get_groups` method has a `$userid` parameter to specify for which user you want to retrieve course groups (defaults to current user) For more information see [MDL-81850](https://tracker.moodle.org/browse/MDL-81850) + +### report_log + +#### Added + +- get_activities_list() function returns also an array of disabled elements, apart from the array of activities. + + For more information see [MDL-82146](https://tracker.moodle.org/browse/MDL-82146) + +### customfield_select + +#### Changed + +- The field controller `get_options` method now returns each option pre-formatted + + For more information see [MDL-82481](https://tracker.moodle.org/browse/MDL-82481) diff --git a/admin/UPGRADING.md b/admin/UPGRADING.md index 25ec209fed4..8c65af633dd 100644 --- a/admin/UPGRADING.md +++ b/admin/UPGRADING.md @@ -7,4 +7,3 @@ - Add availability_management_table is a table which extends from plugin_management_table. Create the availability_management_table can reusable the toggle button for enabled column. For more information see [MDL-81533](https://tracker.moodle.org/browse/MDL-81533) - diff --git a/admin/tool/oauth2/UPGRADING.md b/admin/tool/oauth2/UPGRADING.md index 13db77aa02d..6e6c97f656b 100644 --- a/admin/tool/oauth2/UPGRADING.md +++ b/admin/tool/oauth2/UPGRADING.md @@ -7,4 +7,3 @@ - The `get_additional_login_parameters()` method now supports adding the language code to the authentication request so that the OAuth2 login page matches the language in Moodle. For more information see [MDL-67554](https://tracker.moodle.org/browse/MDL-67554) - diff --git a/badges/UPGRADING.md b/badges/UPGRADING.md index 553d8fe7a52..7d075b1c094 100644 --- a/badges/UPGRADING.md +++ b/badges/UPGRADING.md @@ -7,6 +7,15 @@ - The badges/newbadge.php page has been deprecated and merged with badges/edit.php. Please, use badges/edit.php instead. For more information see [MDL-43938](https://tracker.moodle.org/browse/MDL-43938) +- OPEN_BADGES_V1 is deprecated and should not be used anymore. + + For more information see [MDL-70983](https://tracker.moodle.org/browse/MDL-70983) + +### Removed + +- Final removal of BADGE_BACKPACKAPIURL and BADGE_BACKPACKWEBURL. + + For more information see [MDL-70983](https://tracker.moodle.org/browse/MDL-70983) ### Added diff --git a/course/format/UPGRADING.md b/course/format/UPGRADING.md index 3670e853278..4899051070e 100644 --- a/course/format/UPGRADING.md +++ b/course/format/UPGRADING.md @@ -8,3 +8,12 @@ If `istrackeduser` is pre-computed for the course module's course, it can be provided here to avoid an additional function call. For more information see [MDL-81610](https://tracker.moodle.org/browse/MDL-81610) +- New $disabled parameter has been added to select, select_optgroup and select_option html_writers to create disabled option elements. + + For more information see [MDL-82146](https://tracker.moodle.org/browse/MDL-82146) +- New \core_courseformat\output\local\content\basecontrolmenu class has been created. Existing \core_courseformat\output\local\content\cm\controlmenu and \core_courseformat\output\local\content\section\controlmenu classes extend the new \core_courseformat\output\local\content\basecontrolmenu class. + + For more information see [MDL-82510](https://tracker.moodle.org/browse/MDL-82510) +- New \core_courseformat\output\local\content\cm\delegatedcontrolmenu class has been created extending \core_courseformat\output\local\content\basecontrolmenu class to render delegated section action menu combining section and module action menu. + + For more information see [MDL-82510](https://tracker.moodle.org/browse/MDL-82510) diff --git a/customfield/field/select/UPGRADING.md b/customfield/field/select/UPGRADING.md new file mode 100644 index 00000000000..74716e2696d --- /dev/null +++ b/customfield/field/select/UPGRADING.md @@ -0,0 +1,10 @@ +# customfield_select Upgrade notes + +## 4.5dev + +### Changed + +- The field controller `get_options` method now returns each option pre-formatted + + For more information see [MDL-82481](https://tracker.moodle.org/browse/MDL-82481) + diff --git a/lib/UPGRADING.md b/lib/UPGRADING.md index 18e17c1839f..4fb179ff471 100644 --- a/lib/UPGRADING.md +++ b/lib/UPGRADING.md @@ -20,6 +20,9 @@ - Final deprecation of \core\task\manager::ensure_adhoc_task_qos() For more information see [MDL-74843](https://tracker.moodle.org/browse/MDL-74843) +- Remove deprecation layer for YUI Events. The deprecation layer was introduced with MDL-70990 and MDL-72291. + + For more information see [MDL-77167](https://tracker.moodle.org/browse/MDL-77167) ### Added @@ -40,6 +43,9 @@ ``` For more information see [MDL-66903](https://tracker.moodle.org/browse/MDL-66903) +- Added stored progress bars + + For more information see [MDL-70854](https://tracker.moodle.org/browse/MDL-70854) - New DML constant `SQL_INT_MAX` to define the size of a large integer with cross database platform support For more information see [MDL-81282](https://tracker.moodle.org/browse/MDL-81282) diff --git a/mod/feedback/UPGRADING.md b/mod/feedback/UPGRADING.md index 98e1a93f1c5..fe2c33256af 100644 --- a/mod/feedback/UPGRADING.md +++ b/mod/feedback/UPGRADING.md @@ -4,6 +4,9 @@ ### Deprecated +- The `feedback_check_is_switchrole` method has been deprecated as it didn't work + + For more information see [MDL-72424](https://tracker.moodle.org/browse/MDL-72424) - The method `mod_feedback\output\renderer::create_template_form()` has been deprecated. It is not used anymore. For more information see [MDL-81742](https://tracker.moodle.org/browse/MDL-81742) diff --git a/report/log/UPGRADING.md b/report/log/UPGRADING.md new file mode 100644 index 00000000000..f99d3eab22c --- /dev/null +++ b/report/log/UPGRADING.md @@ -0,0 +1,10 @@ +# report_log Upgrade notes + +## 4.5dev + +### Added + +- get_activities_list() function returns also an array of disabled elements, apart from the array of activities. + + For more information see [MDL-82146](https://tracker.moodle.org/browse/MDL-82146) + diff --git a/reportbuilder/UPGRADING.md b/reportbuilder/UPGRADING.md index 005b56d2d27..fda72c0486d 100644 --- a/reportbuilder/UPGRADING.md +++ b/reportbuilder/UPGRADING.md @@ -18,6 +18,12 @@ - Added a new database helper method `sql_replace_parameters` to help ensure uniqueness of parameters within a SQL expression For more information see [MDL-81434](https://tracker.moodle.org/browse/MDL-81434) +- New format helper `format_time` method, for use in column callbacks that represent a duration of time (e.g. "3 days 4 hours") + + For more information see [MDL-82466](https://tracker.moodle.org/browse/MDL-82466) +- Methods add_columns_from_entity(), add_filters_from_entity() and report_element_search() have been moved from \core_reportbuilder\datasource class to \core_reportbuilder\base class in order to be available also for system reports + + For more information see [MDL-82529](https://tracker.moodle.org/browse/MDL-82529) ### Removed diff --git a/user/UPGRADING.md b/user/UPGRADING.md index d9a7aa7a9d5..0ed00d76201 100644 --- a/user/UPGRADING.md +++ b/user/UPGRADING.md @@ -13,4 +13,3 @@ - New `\core_user\hook\extend_default_homepage` hook added to allow third-party plugins to extend the default homepage options for the site For more information see [MDL-82066](https://tracker.moodle.org/browse/MDL-82066) - -- 2.11.4.GIT