diff --git a/UPGRADING.md b/UPGRADING.md index dbad8e733de..1a57aa9a54f 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -5,3 +5,119 @@ This file contains important information for developers on changes to the Moodle More detailed information on key changes can be found in the [Developer update notes](https://moodledev.io/docs/devupdate) for your version of Moodle. The format of this change log follows the advice given at [Keep a CHANGELOG](https://keepachangelog.com). + +## 4.5dev + +### core + +#### Removed + +- The previously deprecated function `search_generate_text_SQL` has been removed and can no longer be used. + + For more information see [MDL-48940](https://tracker.moodle.org/browse/MDL-48940) +- The previously deprecated function `core_text::reset_caches()` has been removed and can no longer be used. + + For more information see [MDL-71748](https://tracker.moodle.org/browse/MDL-71748) +- The following previously deprecated methods have been removed and can no longer be used: + - `renderer_base::should_display_main_logo` + + For more information see [MDL-73165](https://tracker.moodle.org/browse/MDL-73165) +- Final deprecation of print_error(). Use moodle_exception instead. + + For more information see [MDL-74484](https://tracker.moodle.org/browse/MDL-74484) + +### report + +#### Removed + +- The previously deprecated `report_helper::save_selected_report` method has been removed and can no longer be used + + For more information see [MDL-72353](https://tracker.moodle.org/browse/MDL-72353) + +### core_grades + +#### Removed + +- The following previously deprecated Behat step helper methods have been removed and can no longer be used: + - `behat_grade::select_in_gradebook_navigation_selector` + - `behat_grade::select_in_gradebook_tabs` + + For more information see [MDL-74581](https://tracker.moodle.org/browse/MDL-74581) + +### core_reportbuilder + +#### 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) + +#### Added + +- 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) + +### mod_assign + +#### Removed + +- The default option "Never" for `attemptreopenmethod` setting, which disallowed multiple attempts at the assignment, has been removed. This option was unnecessary because limiting attempts to 1 through the `maxattempts` setting achieves the same behavior. + + For more information see [MDL-80741](https://tracker.moodle.org/browse/MDL-80741) + +#### Deprecated + +- The constant `ASSIGN_ATTEMPT_REOPEN_METHOD_NONE` has been deprecated, and a new default value for `attemptreopenmethod` has been set to "Automatically until pass". + + For more information see [MDL-80741](https://tracker.moodle.org/browse/MDL-80741) + +#### Added + +- A new default value for `attemptreopenmethod` has been set to "Automatically until pass". + + For more information see [MDL-80741](https://tracker.moodle.org/browse/MDL-80741) + +### core_question + +#### 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. + + For more information see [MDL-81125](https://tracker.moodle.org/browse/MDL-81125) + +### mod_data + +#### Added + +- The `data_add_record` method accepts a new `$approved` parameter to set the corresponding state of the new record + + For more information see [MDL-81274](https://tracker.moodle.org/browse/MDL-81274) + +### core_courseformat + +#### Added + +- The constructor of `core_courseformat\output\local\state\cm` has been updated to accept a new optional parameter, `$istrackeduser`. + 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) diff --git a/course/format/UPGRADING.md b/course/format/UPGRADING.md new file mode 100644 index 00000000000..50d90a62b42 --- /dev/null +++ b/course/format/UPGRADING.md @@ -0,0 +1,11 @@ +# core_courseformat (subsystem / plugintype) Upgrade notes + +## 4.5dev + +### Added + +- The constructor of `core_courseformat\output\local\state\cm` has been updated to accept a new optional parameter, `$istrackeduser`. + 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) + diff --git a/grade/UPGRADING.md b/grade/UPGRADING.md new file mode 100644 index 00000000000..cf05941711d --- /dev/null +++ b/grade/UPGRADING.md @@ -0,0 +1,12 @@ +# core_grades (subsystem) Upgrade notes + +## 4.5dev + +### Removed + +- The following previously deprecated Behat step helper methods have been removed and can no longer be used: + - `behat_grade::select_in_gradebook_navigation_selector` + - `behat_grade::select_in_gradebook_tabs` + + For more information see [MDL-74581](https://tracker.moodle.org/browse/MDL-74581) + diff --git a/lib/UPGRADING.md b/lib/UPGRADING.md new file mode 100644 index 00000000000..3ef456e84af --- /dev/null +++ b/lib/UPGRADING.md @@ -0,0 +1,20 @@ +# core (subsystem) Upgrade notes + +## 4.5dev + +### Removed + +- The previously deprecated function `search_generate_text_SQL` has been removed and can no longer be used. + + For more information see [MDL-48940](https://tracker.moodle.org/browse/MDL-48940) +- The previously deprecated function `core_text::reset_caches()` has been removed and can no longer be used. + + For more information see [MDL-71748](https://tracker.moodle.org/browse/MDL-71748) +- The following previously deprecated methods have been removed and can no longer be used: + - `renderer_base::should_display_main_logo` + + For more information see [MDL-73165](https://tracker.moodle.org/browse/MDL-73165) +- Final deprecation of print_error(). Use moodle_exception instead. + + For more information see [MDL-74484](https://tracker.moodle.org/browse/MDL-74484) + diff --git a/mod/assign/UPGRADING.md b/mod/assign/UPGRADING.md new file mode 100644 index 00000000000..1af6f249cf8 --- /dev/null +++ b/mod/assign/UPGRADING.md @@ -0,0 +1,22 @@ +# mod_assign Upgrade notes + +## 4.5dev + +### Removed + +- The default option "Never" for `attemptreopenmethod` setting, which disallowed multiple attempts at the assignment, has been removed. This option was unnecessary because limiting attempts to 1 through the `maxattempts` setting achieves the same behavior. + + For more information see [MDL-80741](https://tracker.moodle.org/browse/MDL-80741) + +### Deprecated + +- The constant `ASSIGN_ATTEMPT_REOPEN_METHOD_NONE` has been deprecated, and a new default value for `attemptreopenmethod` has been set to "Automatically until pass". + + For more information see [MDL-80741](https://tracker.moodle.org/browse/MDL-80741) + +### Added + +- A new default value for `attemptreopenmethod` has been set to "Automatically until pass". + + For more information see [MDL-80741](https://tracker.moodle.org/browse/MDL-80741) + diff --git a/mod/data/UPGRADING.md b/mod/data/UPGRADING.md new file mode 100644 index 00000000000..622a123444c --- /dev/null +++ b/mod/data/UPGRADING.md @@ -0,0 +1,10 @@ +# mod_data Upgrade notes + +## 4.5dev + +### Added + +- The `data_add_record` method accepts a new `$approved` parameter to set the corresponding state of the new record + + For more information see [MDL-81274](https://tracker.moodle.org/browse/MDL-81274) + diff --git a/question/UPGRADING.md b/question/UPGRADING.md new file mode 100644 index 00000000000..c343b006e57 --- /dev/null +++ b/question/UPGRADING.md @@ -0,0 +1,10 @@ +# core_question (subsystem) Upgrade notes + +## 4.5dev + +### 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. + + For more information see [MDL-81125](https://tracker.moodle.org/browse/MDL-81125) + diff --git a/report/UPGRADING.md b/report/UPGRADING.md new file mode 100644 index 00000000000..51f04fbd675 --- /dev/null +++ b/report/UPGRADING.md @@ -0,0 +1,10 @@ +# report (plugin type) Upgrade notes + +## 4.5dev + +### Removed + +- The previously deprecated `report_helper::save_selected_report` method has been removed and can no longer be used + + For more information see [MDL-72353](https://tracker.moodle.org/browse/MDL-72353) + diff --git a/reportbuilder/UPGRADING.md b/reportbuilder/UPGRADING.md new file mode 100644 index 00000000000..a4c0292fd0d --- /dev/null +++ b/reportbuilder/UPGRADING.md @@ -0,0 +1,35 @@ +# core_reportbuilder (subsystem) Upgrade notes + +## 4.5dev + +### 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) + +### Added + +- 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) +