diff --git a/UPGRADING.md b/UPGRADING.md index 4620fe601b1f2..f98a25070cc3c 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -25,6 +25,9 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt - Final deprecation of print_error(). Use moodle_exception instead. For more information see [MDL-74484](https://tracker.moodle.org/browse/MDL-74484) +- Final deprecation of \core\task\manager::ensure_adhoc_task_qos() + + For more information see [MDL-74843](https://tracker.moodle.org/browse/MDL-74843) #### Changed @@ -177,6 +180,54 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt For more information see [MDL-82191](https://tracker.moodle.org/browse/MDL-82191) +### core_reportbuilder + +#### Added + +- The return type of the `set_checkbox_toggleall` callback, defined by system reports, can now be null. Use if the checkbox should not be shown for the row. + + For more information see [MDL-52046](https://tracker.moodle.org/browse/MDL-52046) +- System reports now support native entity column aggregation via each columns `set_aggregation()` method + + For more information see [MDL-76392](https://tracker.moodle.org/browse/MDL-76392) +- The following external methods now return tags data relevant to each custom report: + - `core_reportbuilder_list_reports` + - `core_reportbuilder_retrieve_report` + + For more information see [MDL-81433](https://tracker.moodle.org/browse/MDL-81433) +- 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) + +#### Removed + +- The following previously deprecated local helper methods have been removed and can no longer be used: + - `audience::get_all_audiences_menu_types` + - `report::get_available_columns` + + For more information see [MDL-76690](https://tracker.moodle.org/browse/MDL-76690) + +#### Changed + +- In order to better support float values in filter forms, the following filter types now cast given SQL prior to comparison: + - `duration` + - `filesize` + - `number` + + For more information see [MDL-81168](https://tracker.moodle.org/browse/MDL-81168) +- The base datasource `add_all_from_entities` method accepts a new optional parameter to specify which entities to add elements from + + For more information see [MDL-81330](https://tracker.moodle.org/browse/MDL-81330) +- All time related code has been updated to the PSR-20 Clock interface, as such the following methods no longer accept a `$timenow` parameter (instead please use `\core\clock` dependency injection): + - `core_reportbuilder_generator::create_schedule` + - `core_reportbuilder\local\helpers\schedule::[create_schedule|calculate_next_send_time]` + + For more information see [MDL-82041](https://tracker.moodle.org/browse/MDL-82041) +- The following classes have been moved to use the new exception API as a l2 namespace: + - `core_reportbuilder\\report_access_exception` => `core_reportbuilder\\exception\\report_access_exception` - `core_reportbuilder\\source_invalid_exception` => `core_reportbuilder\\exception\\source_invalid_exception` - `core_reportbuilder\\source_unavailable_exception` => `core_reportbuilder\\exception\\source_unavailable_exception` + + For more information see [MDL-82133](https://tracker.moodle.org/browse/MDL-82133) + ### mod_assign #### Added @@ -229,6 +280,26 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt For more information see [MDL-72786](https://tracker.moodle.org/browse/MDL-72786) +### theme + +#### Removed + +- Removed all references to iconhelp, icon-pre, icon-post, iconlarge, and iconsort classes + + For more information see [MDL-74251](https://tracker.moodle.org/browse/MDL-74251) + +#### Added + +- New `core/context_header` mustache template has been added. This template can be overridden by themes to modify the context header + + For more information see [MDL-81597](https://tracker.moodle.org/browse/MDL-81597) + +#### Deprecated + +- The method `\core\output\core_renderer::render_context_header` has been deprecated please use `\core\output\core_renderer::render($contextheader)` instead + + For more information see [MDL-82160](https://tracker.moodle.org/browse/MDL-82160) + ### core_grades #### Removed @@ -245,50 +316,27 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt For more information see [MDL-80745](https://tracker.moodle.org/browse/MDL-80745) -### core_reportbuilder - -#### Added +### core_backup -- System reports now support native entity column aggregation via each columns `set_aggregation()` method +#### Removed - For more information see [MDL-76392](https://tracker.moodle.org/browse/MDL-76392) -- The following external methods now return tags data relevant to each custom report: - - `core_reportbuilder_list_reports` - - `core_reportbuilder_retrieve_report` +- Final deprecation and removal of core_backup\copy\copy in backup/util/ui/classes/copy.php. Please use copy_helper from backup/util/helper/copy_helper.class.php instead. - For more information see [MDL-81433](https://tracker.moodle.org/browse/MDL-81433) -- Added a new database helper method `sql_replace_parameters` to help ensure uniqueness of parameters within a SQL expression + For more information see [MDL-75022](https://tracker.moodle.org/browse/MDL-75022) - For more information see [MDL-81434](https://tracker.moodle.org/browse/MDL-81434) +### core_question -#### Removed +#### Added -- The following previously deprecated local helper methods have been removed and can no longer be used: - - `audience::get_all_audiences_menu_types` - - `report::get_available_columns` +- A new utility function `format_question_fragment` has been created so that question content can filter based on filters. - For more information see [MDL-76690](https://tracker.moodle.org/browse/MDL-76690) + For more information see [MDL-78662](https://tracker.moodle.org/browse/MDL-78662) #### Changed -- In order to better support float values in filter forms, the following filter types now cast given SQL prior to comparison: - - `duration` - - `filesize` - - `number` - - For more information see [MDL-81168](https://tracker.moodle.org/browse/MDL-81168) -- The base datasource `add_all_from_entities` method accepts a new optional parameter to specify which entities to add elements from - - For more information see [MDL-81330](https://tracker.moodle.org/browse/MDL-81330) -- All time related code has been updated to the PSR-20 Clock interface, as such the following methods no longer accept a `$timenow` parameter (instead please use `\core\clock` dependency injection): - - `core_reportbuilder_generator::create_schedule` - - `core_reportbuilder\local\helpers\schedule::[create_schedule|calculate_next_send_time]` - - For more information see [MDL-82041](https://tracker.moodle.org/browse/MDL-82041) -- The following classes have been moved to use the new exception API as a l2 namespace: - - `core_reportbuilder\\report_access_exception` => `core_reportbuilder\\exception\\report_access_exception` - `core_reportbuilder\\source_invalid_exception` => `core_reportbuilder\\exception\\source_invalid_exception` - `core_reportbuilder\\source_unavailable_exception` => `core_reportbuilder\\exception\\source_unavailable_exception` +- column_base::from_column_name now has an ignoremissing field, which can be used to ignore if the class does not exist, instead of throwing an exception. - For more information see [MDL-82133](https://tracker.moodle.org/browse/MDL-82133) + For more information see [MDL-81125](https://tracker.moodle.org/browse/MDL-81125) ### core_webservice @@ -330,13 +378,14 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt For more information see [MDL-80745](https://tracker.moodle.org/browse/MDL-80745) -### core_question +### core_table -#### Changed +#### Added -- column_base::from_column_name now has an ignoremissing field, which can be used to ignore if the class does not exist, instead of throwing an exception. +- A new `$reponsive` property (defaulting to `true`) has been added to the `core_table\flexible_table` class. + This property allows you to control whether the table is rendered as a responsive table. - For more information see [MDL-81125](https://tracker.moodle.org/browse/MDL-81125) + For more information see [MDL-80748](https://tracker.moodle.org/browse/MDL-80748) ### mod_data @@ -382,20 +431,6 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt For more information see [MDL-81597](https://tracker.moodle.org/browse/MDL-81597) -### theme - -#### Added - -- New `core/context_header` mustache template has been added. This template can be overridden by themes to modify the context header - - For more information see [MDL-81597](https://tracker.moodle.org/browse/MDL-81597) - -#### Deprecated - -- The method `\core\output\core_renderer::render_context_header` has been deprecated please use `\core\output\core_renderer::render($contextheader)` instead - - For more information see [MDL-82160](https://tracker.moodle.org/browse/MDL-82160) - ### core_courseformat #### Added @@ -444,6 +479,17 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt For more information see [MDL-81749](https://tracker.moodle.org/browse/MDL-81749) +### core_report + +#### Added + +- Report has been added to subsystem components list + + For more information see [MDL-81771](https://tracker.moodle.org/browse/MDL-81771) +- New coursestructure output general class has been created + + For more information see [MDL-81771](https://tracker.moodle.org/browse/MDL-81771) + ### theme_boost #### Changed diff --git a/backup/util/ui/UPGRADING.md b/backup/util/ui/UPGRADING.md new file mode 100644 index 0000000000000..1bbf593c80546 --- /dev/null +++ b/backup/util/ui/UPGRADING.md @@ -0,0 +1,10 @@ +# core_backup (subsystem) Upgrade notes + +## 4.5dev + +### Removed + +- Final deprecation and removal of core_backup\copy\copy in backup/util/ui/classes/copy.php. Please use copy_helper from backup/util/helper/copy_helper.class.php instead. + + For more information see [MDL-75022](https://tracker.moodle.org/browse/MDL-75022) + diff --git a/lib/UPGRADING.md b/lib/UPGRADING.md index bacad5f61524b..60793c39bdd3b 100644 --- a/lib/UPGRADING.md +++ b/lib/UPGRADING.md @@ -17,6 +17,9 @@ - Final deprecation of print_error(). Use moodle_exception instead. For more information see [MDL-74484](https://tracker.moodle.org/browse/MDL-74484) +- Final deprecation of \core\task\manager::ensure_adhoc_task_qos() + + For more information see [MDL-74843](https://tracker.moodle.org/browse/MDL-74843) ### Changed diff --git a/lib/table/UPGRADING.md b/lib/table/UPGRADING.md new file mode 100644 index 0000000000000..e9eb81afec2e4 --- /dev/null +++ b/lib/table/UPGRADING.md @@ -0,0 +1,11 @@ +# core_table (subsystem) Upgrade notes + +## 4.5dev + +### Added + +- A new `$reponsive` property (defaulting to `true`) has been added to the `core_table\flexible_table` class. + This property allows you to control whether the table is rendered as a responsive table. + + For more information see [MDL-80748](https://tracker.moodle.org/browse/MDL-80748) + diff --git a/question/UPGRADING.md b/question/UPGRADING.md index c43d84b4d79e1..c330b4b9a8744 100644 --- a/question/UPGRADING.md +++ b/question/UPGRADING.md @@ -2,6 +2,12 @@ ## 4.5dev +### Added + +- A new utility function `format_question_fragment` has been created so that question content can filter based on filters. + + For more information see [MDL-78662](https://tracker.moodle.org/browse/MDL-78662) + ### Changed - column_base::from_column_name now has an ignoremissing field, which can be used to ignore if the class does not exist, instead of throwing an exception. diff --git a/report/UPGRADING.md b/report/UPGRADING.md index c7ddfbc1ff645..8db933b918ed9 100644 --- a/report/UPGRADING.md +++ b/report/UPGRADING.md @@ -2,14 +2,11 @@ ## 4.5dev -### Removed +### Added -- The previously deprecated `report_helper::save_selected_report` method has been removed and can no longer be used +- Report has been added to subsystem components list - For more information see [MDL-72353](https://tracker.moodle.org/browse/MDL-72353) + For more information see [MDL-81771](https://tracker.moodle.org/browse/MDL-81771) +- New coursestructure output general class has been created -### Changed - -- The `report_helper::print_report_selector` method accepts an additional argument for adding content to the tertiary navigation to align with the report selector - - For more information see [MDL-78773](https://tracker.moodle.org/browse/MDL-78773) + For more information see [MDL-81771](https://tracker.moodle.org/browse/MDL-81771) diff --git a/reportbuilder/UPGRADING.md b/reportbuilder/UPGRADING.md index ba79a719769fc..005b56d2d272b 100644 --- a/reportbuilder/UPGRADING.md +++ b/reportbuilder/UPGRADING.md @@ -4,6 +4,9 @@ ### Added +- The return type of the `set_checkbox_toggleall` callback, defined by system reports, can now be null. Use if the checkbox should not be shown for the row. + + For more information see [MDL-52046](https://tracker.moodle.org/browse/MDL-52046) - System reports now support native entity column aggregation via each columns `set_aggregation()` method For more information see [MDL-76392](https://tracker.moodle.org/browse/MDL-76392) diff --git a/theme/UPGRADING.md b/theme/UPGRADING.md index 3c29581340b87..734fffdf42176 100644 --- a/theme/UPGRADING.md +++ b/theme/UPGRADING.md @@ -2,6 +2,12 @@ ## 4.5dev +### Removed + +- Removed all references to iconhelp, icon-pre, icon-post, iconlarge, and iconsort classes + + For more information see [MDL-74251](https://tracker.moodle.org/browse/MDL-74251) + ### Added - New `core/context_header` mustache template has been added. This template can be overridden by themes to modify the context header diff --git a/theme/boost/UPGRADING.md b/theme/boost/UPGRADING.md index 4935869857574..497709a803f9e 100644 --- a/theme/boost/UPGRADING.md +++ b/theme/boost/UPGRADING.md @@ -7,4 +7,3 @@ - Bootstrap .no-gutters class is no longer used, use .g-0 instead. For more information see [MDL-81818](https://tracker.moodle.org/browse/MDL-81818) -