diff --git a/UPGRADING.md b/UPGRADING.md index 745287d2c5d..496da485a47 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -15,6 +15,26 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt - Appending an exclamation mark to template names ignores theme overrides For more information see [MDL-77894](https://tracker.moodle.org/browse/MDL-77894) +- The `upgrade_ensure_not_running()` function has been deprecated and replaced + with: + + - `\core\setup::warn_if_upgrade_is_running()`; + - `\core\setup::ensure_upgrade_is_not_running()`; and + - `\core\setup::is_upgrade_running()`. + + For more information see [MDL-87107](https://tracker.moodle.org/browse/MDL-87107) +- The CLI script used to terminate user sessions (kill_all_sessions.php) has been improved to make it safer and more flexible. A new '--run' parameter has been introduced. Without '--run', the script performs a dry run making no changes. The script now supports targeted session termination using '--for-users' parameter. + + For more information see [MDL-87173](https://tracker.moodle.org/browse/MDL-87173) + +#### Changed + +- The `core/drag_handle` template has been modified to use a native HTML button for a more accessible experience and a consistent look with other buttons on the page. + + For more information see [MDL-86846](https://tracker.moodle.org/browse/MDL-86846) +- The Hook Manager now uses localcache instead of caching via MUC. + + For more information see [MDL-87107](https://tracker.moodle.org/browse/MDL-87107) #### Fixed @@ -89,6 +109,20 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt For more information see [MDL-81514](https://tracker.moodle.org/browse/MDL-81514) +### core_reportbuilder + +#### Added + +- The base entity class now implements a default `initialise` method, that will automatically call each of the following methods to load entity report data: + + * `get_available_columns()` + * `get_available_filters()` + * `get_available_conditions()` + + This change allows for a lot of boilerplate to be removed from report entity classes + + For more information see [MDL-86678](https://tracker.moodle.org/browse/MDL-86678) + ### mod_feedback #### Deprecated diff --git a/public/lib/UPGRADING.md b/public/lib/UPGRADING.md index 15a6bf47d1a..33ae7838401 100644 --- a/public/lib/UPGRADING.md +++ b/public/lib/UPGRADING.md @@ -7,6 +7,26 @@ - Appending an exclamation mark to template names ignores theme overrides For more information see [MDL-77894](https://tracker.moodle.org/browse/MDL-77894) +- The `upgrade_ensure_not_running()` function has been deprecated and replaced + with: + + - `\core\setup::warn_if_upgrade_is_running()`; + - `\core\setup::ensure_upgrade_is_not_running()`; and + - `\core\setup::is_upgrade_running()`. + + For more information see [MDL-87107](https://tracker.moodle.org/browse/MDL-87107) +- The CLI script used to terminate user sessions (kill_all_sessions.php) has been improved to make it safer and more flexible. A new '--run' parameter has been introduced. Without '--run', the script performs a dry run making no changes. The script now supports targeted session termination using '--for-users' parameter. + + For more information see [MDL-87173](https://tracker.moodle.org/browse/MDL-87173) + +### Changed + +- The `core/drag_handle` template has been modified to use a native HTML button for a more accessible experience and a consistent look with other buttons on the page. + + For more information see [MDL-86846](https://tracker.moodle.org/browse/MDL-86846) +- The Hook Manager now uses localcache instead of caching via MUC. + + For more information see [MDL-87107](https://tracker.moodle.org/browse/MDL-87107) ### Fixed diff --git a/public/reportbuilder/UPGRADING.md b/public/reportbuilder/UPGRADING.md index 7e5567bdffd..bfcae314f8d 100644 --- a/public/reportbuilder/UPGRADING.md +++ b/public/reportbuilder/UPGRADING.md @@ -1,5 +1,19 @@ # core_reportbuilder (subsystem) Upgrade notes +## 5.2dev + +### Added + +- The base entity class now implements a default `initialise` method, that will automatically call each of the following methods to load entity report data: + + * `get_available_columns()` + * `get_available_filters()` + * `get_available_conditions()` + + This change allows for a lot of boilerplate to be removed from report entity classes + + For more information see [MDL-86678](https://tracker.moodle.org/browse/MDL-86678) + ## 5.1 ### Added