From 492b63b554b291bf1b47c95cd3313355d8e4521c Mon Sep 17 00:00:00 2001 From: Huong Nguyen Date: Fri, 5 Sep 2025 23:54:58 +0700 Subject: [PATCH] NOBUG: Add upgrade notes --- UPGRADING.md | 19 +++++++++++++++++++ public/ai/UPGRADING.md | 3 +++ public/reportbuilder/UPGRADING.md | 16 ++++++++++++++++ 3 files changed, 38 insertions(+) diff --git a/UPGRADING.md b/UPGRADING.md index 4d3dad1e985..66a498fc1aa 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -196,6 +196,9 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt Please see `core_ai\error\ratelimit` as an example. For more information see [MDL-83147](https://tracker.moodle.org/browse/MDL-83147) +- - Added `get_enabled_actions_in_course_module` method in public/ai/classes/manager.php to get enabled AI actions in course module. - Added `is_ai_tools_enabled_in_course` method in public/ai/classes/manager.php to check if AI tools is enabled in course. - Added `is_action_enabled_in_context` method in public/ai/classes/manager.php to check if an action is enabled in a particular context. - Added `get_ai_fields_from_course_module` method in public/ai/classes/manager.php to get the AI related fields from the course module. - Added `is_html_editor_placement_available` method in public/ai/placement/editor/classes/utils.php to check if editor placement is enabled. - Added `get_actions_available` method in public/ai/placement/editor/classes/utils.php to get available actions for editor placement. + + For more information see [MDL-85738](https://tracker.moodle.org/browse/MDL-85738) #### Changed @@ -482,13 +485,29 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt #### Added +- The `count[distinct]` aggregation types support optional `'callback'` value to customise the formatted output when applied to columns + + For more information see [MDL-82464](https://tracker.moodle.org/browse/MDL-82464) - The `report_action` class now accepts a `pix_icon` to include inside the rendered action element For more information see [MDL-85216](https://tracker.moodle.org/browse/MDL-85216) +- Report schedule types are now extendable by third-party plugins by extending the `core_reportbuilder\local\schedules\base` class in your component namespace: `\reportbuilder\schedule\` + + For more information see [MDL-86066](https://tracker.moodle.org/browse/MDL-86066) - The report column class has a new `get_effective_type()` method to determine the returned column type, taking into account applied aggregation method For more information see [MDL-86151](https://tracker.moodle.org/browse/MDL-86151) +#### Deprecated + +- The following methods from the `schedule` helper class have been deprecated, in favour of usage of the new schedule type system: + + * `create_schedule` + * `get_report_empty_options` + * `send_schedule_message` + + For more information see [MDL-86066](https://tracker.moodle.org/browse/MDL-86066) + ### core_user #### Added diff --git a/public/ai/UPGRADING.md b/public/ai/UPGRADING.md index 8d3589eb18d..6da38e6ed9f 100644 --- a/public/ai/UPGRADING.md +++ b/public/ai/UPGRADING.md @@ -13,6 +13,9 @@ Please see `core_ai\error\ratelimit` as an example. For more information see [MDL-83147](https://tracker.moodle.org/browse/MDL-83147) +- - Added `get_enabled_actions_in_course_module` method in public/ai/classes/manager.php to get enabled AI actions in course module. - Added `is_ai_tools_enabled_in_course` method in public/ai/classes/manager.php to check if AI tools is enabled in course. - Added `is_action_enabled_in_context` method in public/ai/classes/manager.php to check if an action is enabled in a particular context. - Added `get_ai_fields_from_course_module` method in public/ai/classes/manager.php to get the AI related fields from the course module. - Added `is_html_editor_placement_available` method in public/ai/placement/editor/classes/utils.php to check if editor placement is enabled. - Added `get_actions_available` method in public/ai/placement/editor/classes/utils.php to get available actions for editor placement. + + For more information see [MDL-85738](https://tracker.moodle.org/browse/MDL-85738) ### Changed diff --git a/public/reportbuilder/UPGRADING.md b/public/reportbuilder/UPGRADING.md index 31161fdf9bf..d658cb1c496 100644 --- a/public/reportbuilder/UPGRADING.md +++ b/public/reportbuilder/UPGRADING.md @@ -4,13 +4,29 @@ ### Added +- The `count[distinct]` aggregation types support optional `'callback'` value to customise the formatted output when applied to columns + + For more information see [MDL-82464](https://tracker.moodle.org/browse/MDL-82464) - The `report_action` class now accepts a `pix_icon` to include inside the rendered action element For more information see [MDL-85216](https://tracker.moodle.org/browse/MDL-85216) +- Report schedule types are now extendable by third-party plugins by extending the `core_reportbuilder\local\schedules\base` class in your component namespace: `\reportbuilder\schedule\` + + For more information see [MDL-86066](https://tracker.moodle.org/browse/MDL-86066) - The report column class has a new `get_effective_type()` method to determine the returned column type, taking into account applied aggregation method For more information see [MDL-86151](https://tracker.moodle.org/browse/MDL-86151) +### Deprecated + +- The following methods from the `schedule` helper class have been deprecated, in favour of usage of the new schedule type system: + + * `create_schedule` + * `get_report_empty_options` + * `send_schedule_message` + + For more information see [MDL-86066](https://tracker.moodle.org/browse/MDL-86066) + ## 5.0 ### Added