NOBUG: Add upgrade notes

This commit is contained in:
Mihail Geshoski
2025-08-22 20:45:26 +08:00
parent ddee87dbcc
commit a6383c5d9b
34 changed files with 192 additions and 32 deletions
+80 -1
View File
@@ -6,7 +6,7 @@ More detailed information on key changes can be found in the [Developer update n
The format of this change log follows the advice given at [Keep a CHANGELOG](https://keepachangelog.com).
## 5.1dev
## 5.1dev+
### core
@@ -41,6 +41,27 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt
It is no longer necessary to include `lib/ajax/ajaxlib.php` in any code.
For more information see [MDL-86168](https://tracker.moodle.org/browse/MDL-86168)
- The Behat `::execute()` method now accepts an array-style callable in addition to the string `classname::method` format.
The following formats are now accepted:
```php
// String format:
$this->execute('behat_general::i_click_on', [...]);
// Array format:
$this->execute([behat_general::class,' i_click_on'], [...]);
```
For more information see [MDL-86231](https://tracker.moodle.org/browse/MDL-86231)
- The following classes have been moved into namespaces and now support autoloading:
| Old class name | New class name |
| --- | --- |
| `\core_xml_parser` | `\core\xml_parser` |
| `\xml_format_exception` | `\core\exception\xml_format_exception` |
For more information see [MDL-86256](https://tracker.moodle.org/browse/MDL-86256)
#### Changed
@@ -61,6 +82,15 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt
```
For more information see [MDL-85897](https://tracker.moodle.org/browse/MDL-85897)
- The `\core\output\local\dropdown\dialog` class constructor now accepts a `$definition['autoclose']` parameter to define autoclose behaviour of the element
For more information see [MDL-86015](https://tracker.moodle.org/browse/MDL-86015)
- The default PHPUnit configuration now enables the following properties, ensuring PHP warnings will cause test failures (restoring pre-PHPUnit version 10 behaviour):
* `failOnDeprecation`
* `failOnWarning`
For more information see [MDL-86311](https://tracker.moodle.org/browse/MDL-86311)
#### Deprecated
@@ -88,6 +118,9 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt
- The `user_preference_allow_ajax_update()` has been removed. It was deprecated without replacement in Moodle 4.3.
For more information see [MDL-86168](https://tracker.moodle.org/browse/MDL-86168)
- The `xmlize()` method from `lib/xmlize.php` has been deprecated, please instead use the `\core\xml_parser` class
For more information see [MDL-86256](https://tracker.moodle.org/browse/MDL-86256)
#### Removed
@@ -157,6 +190,38 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt
For more information see [MDL-85433](https://tracker.moodle.org/browse/MDL-85433)
#### Removed
- Removed block_section_links from Moodle 5.1.
For more information see [MDL-80556](https://tracker.moodle.org/browse/MDL-80556)
- Removed block_activity_modules from Moodle 5.1.
For more information see [MDL-83887](https://tracker.moodle.org/browse/MDL-83887)
### core_comment
#### Added
- The following classes have been renamed and now support autoloading.
Existing classes are currently unaffected.
| Old class name | New class name |
| --- | --- |
| `\comment` | `\core_comment\manager` |
| `\comment_exception` | `\core_comment\comment_exception` |
For more information see [MDL-86254](https://tracker.moodle.org/browse/MDL-86254)
#### Deprecated
- The `public/comment/locallib.php` file and the `comment_manager` class have been deprecated. All related functionality should now be accessed via the `\core_comment\manager` class.
For more information see [MDL-86254](https://tracker.moodle.org/browse/MDL-86254)
- The `public/comment/lib.php` file is now empty and will be removed in Moodle 6.0. Please, do not include in your code anymore.
For more information see [MDL-86254](https://tracker.moodle.org/browse/MDL-86254)
### core_course
#### Added
@@ -388,6 +453,14 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt
For more information see [MDL-84071](https://tracker.moodle.org/browse/MDL-84071)
### mod_bigbluebuttonbn
#### Added
- Add activity_dates class to BigblueButton module.
For more information see [MDL-83889](https://tracker.moodle.org/browse/MDL-83889)
### mod_choice
#### Added
@@ -579,6 +652,12 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt
For more information see [MDL-79319](https://tracker.moodle.org/browse/MDL-79319)
#### Deprecated
- The `core:e/text_highlight` and `core:e/text_highlight_picker` icons are deprecated and will be removed in Moodle 6.0. The UX team recommended this change to reduce visual clutter and improve readability. The icons were removed because they didn't indicate status changes, were repetitive across all notifications, and took up space that could be used for more content.
For more information see [MDL-85146](https://tracker.moodle.org/browse/MDL-85146)
## 5.0
### core
+1 -1
View File
@@ -1,6 +1,6 @@
# core_ai (subsystem) Upgrade notes
## 5.1dev
## 5.1dev+
### Added
+1 -1
View File
@@ -1,6 +1,6 @@
# core_auth (subsystem / plugintype) Upgrade notes
## 5.1dev
## 5.1dev+
### Added
+1 -1
View File
@@ -1,6 +1,6 @@
# core_badges (subsystem) Upgrade notes
## 5.1dev
## 5.1dev+
### Added
+10 -1
View File
@@ -1,6 +1,6 @@
# core_block (subsystem / plugintype) Upgrade notes
## 5.1dev
## 5.1dev+
### Changed
@@ -8,6 +8,15 @@
For more information see [MDL-85433](https://tracker.moodle.org/browse/MDL-85433)
### Removed
- Removed block_section_links from Moodle 5.1.
For more information see [MDL-80556](https://tracker.moodle.org/browse/MDL-80556)
- Removed block_activity_modules from Moodle 5.1.
For more information see [MDL-83887](https://tracker.moodle.org/browse/MDL-83887)
## 5.0
### Removed
+1 -1
View File
@@ -1,6 +1,6 @@
# block_site_main_menu Upgrade notes
## 5.1dev
## 5.1dev+
### Added
+25
View File
@@ -0,0 +1,25 @@
# core_comment (subsystem) Upgrade notes
## 5.1dev+
### Added
- The following classes have been renamed and now support autoloading.
Existing classes are currently unaffected.
| Old class name | New class name |
| --- | --- |
| `\comment` | `\core_comment\manager` |
| `\comment_exception` | `\core_comment\comment_exception` |
For more information see [MDL-86254](https://tracker.moodle.org/browse/MDL-86254)
### Deprecated
- The `public/comment/locallib.php` file and the `comment_manager` class have been deprecated. All related functionality should now be accessed via the `\core_comment\manager` class.
For more information see [MDL-86254](https://tracker.moodle.org/browse/MDL-86254)
- The `public/comment/lib.php` file is now empty and will be removed in Moodle 6.0. Please, do not include in your code anymore.
For more information see [MDL-86254](https://tracker.moodle.org/browse/MDL-86254)
+1 -1
View File
@@ -1,6 +1,6 @@
# core_course (subsystem) Upgrade notes
## 5.1dev
## 5.1dev+
### Added
+1 -1
View File
@@ -1,6 +1,6 @@
# core_courseformat (subsystem / plugintype) Upgrade notes
## 5.1dev
## 5.1dev+
### Added
+1 -1
View File
@@ -1,6 +1,6 @@
# format_topics Upgrade notes
## 5.1dev
## 5.1dev+
### Added
+1 -1
View File
@@ -1,6 +1,6 @@
# format_weeks Upgrade notes
## 5.1dev
## 5.1dev+
### Added
+1 -1
View File
@@ -1,6 +1,6 @@
# core_grades (subsystem) Upgrade notes
## 5.1dev
## 5.1dev+
### Added
+1 -1
View File
@@ -1,6 +1,6 @@
# gradereport_grader Upgrade notes
## 5.1dev
## 5.1dev+
### Removed
+1 -1
View File
@@ -1,6 +1,6 @@
# gradereport_singleview Upgrade notes
## 5.1dev
## 5.1dev+
### Added
+34 -1
View File
@@ -1,6 +1,6 @@
# core (subsystem) Upgrade notes
## 5.1dev
## 5.1dev+
### Added
@@ -33,6 +33,27 @@
It is no longer necessary to include `lib/ajax/ajaxlib.php` in any code.
For more information see [MDL-86168](https://tracker.moodle.org/browse/MDL-86168)
- The Behat `::execute()` method now accepts an array-style callable in addition to the string `classname::method` format.
The following formats are now accepted:
```php
// String format:
$this->execute('behat_general::i_click_on', [...]);
// Array format:
$this->execute([behat_general::class,' i_click_on'], [...]);
```
For more information see [MDL-86231](https://tracker.moodle.org/browse/MDL-86231)
- The following classes have been moved into namespaces and now support autoloading:
| Old class name | New class name |
| --- | --- |
| `\core_xml_parser` | `\core\xml_parser` |
| `\xml_format_exception` | `\core\exception\xml_format_exception` |
For more information see [MDL-86256](https://tracker.moodle.org/browse/MDL-86256)
### Changed
@@ -53,6 +74,15 @@
```
For more information see [MDL-85897](https://tracker.moodle.org/browse/MDL-85897)
- The `\core\output\local\dropdown\dialog` class constructor now accepts a `$definition['autoclose']` parameter to define autoclose behaviour of the element
For more information see [MDL-86015](https://tracker.moodle.org/browse/MDL-86015)
- The default PHPUnit configuration now enables the following properties, ensuring PHP warnings will cause test failures (restoring pre-PHPUnit version 10 behaviour):
* `failOnDeprecation`
* `failOnWarning`
For more information see [MDL-86311](https://tracker.moodle.org/browse/MDL-86311)
### Deprecated
@@ -80,6 +110,9 @@
- The `user_preference_allow_ajax_update()` has been removed. It was deprecated without replacement in Moodle 4.3.
For more information see [MDL-86168](https://tracker.moodle.org/browse/MDL-86168)
- The `xmlize()` method from `lib/xmlize.php` has been deprecated, please instead use the `\core\xml_parser` class
For more information see [MDL-86256](https://tracker.moodle.org/browse/MDL-86256)
### Removed
+1 -1
View File
@@ -1,6 +1,6 @@
# core_message (subsystem) Upgrade notes
## 5.1dev
## 5.1dev+
### Added
+8
View File
@@ -1,5 +1,13 @@
# mod_bigbluebuttonbn Upgrade notes
## 5.1dev+
### Added
- Add activity_dates class to BigblueButton module.
For more information see [MDL-83889](https://tracker.moodle.org/browse/MDL-83889)
## 4.5
### Added
+1 -1
View File
@@ -1,6 +1,6 @@
# mod_choice Upgrade notes
## 5.1dev
## 5.1dev+
### Added
+1 -1
View File
@@ -1,6 +1,6 @@
# mod_data Upgrade notes
## 5.1dev
## 5.1dev+
### Added
+1 -1
View File
@@ -1,6 +1,6 @@
# mod_forum Upgrade notes
## 5.1dev
## 5.1dev+
### Deprecated
+1 -1
View File
@@ -1,6 +1,6 @@
# mod_glossary Upgrade notes
## 5.1dev
## 5.1dev+
### Added
+1 -1
View File
@@ -1,6 +1,6 @@
# mod_label Upgrade notes
## 5.1dev
## 5.1dev+
### Removed
+1 -1
View File
@@ -1,6 +1,6 @@
# mod_lesson Upgrade notes
## 5.1dev
## 5.1dev+
### Added
+1 -1
View File
@@ -1,6 +1,6 @@
# mod_qbank Upgrade notes
## 5.1dev
## 5.1dev+
### Changed
+1 -1
View File
@@ -1,6 +1,6 @@
# mod_quiz Upgrade notes
## 5.1dev
## 5.1dev+
### Deprecated
+1 -1
View File
@@ -1,6 +1,6 @@
# mod_scorm Upgrade notes
## 5.1dev
## 5.1dev+
### Added
+1 -1
View File
@@ -1,6 +1,6 @@
# mod_wiki Upgrade notes
## 5.1dev
## 5.1dev+
### Added
+1 -1
View File
@@ -1,6 +1,6 @@
# core_question (subsystem) Upgrade notes
## 5.1dev
## 5.1dev+
### Added
@@ -1,6 +1,6 @@
# qtype_multichoice Upgrade notes
## 5.1dev
## 5.1dev+
### Changed
+1 -1
View File
@@ -1,6 +1,6 @@
# report_progress Upgrade notes
## 5.1dev
## 5.1dev+
### Changed
+1 -1
View File
@@ -1,6 +1,6 @@
# core_reportbuilder (subsystem) Upgrade notes
## 5.1dev
## 5.1dev+
### Added
+1 -1
View File
@@ -1,6 +1,6 @@
# theme (plugin type) Upgrade notes
## 5.1dev
## 5.1dev+
### Deprecated
+7 -1
View File
@@ -1,6 +1,6 @@
# theme_boost Upgrade notes
## 5.1dev
## 5.1dev+
### Added
@@ -8,6 +8,12 @@
For more information see [MDL-79319](https://tracker.moodle.org/browse/MDL-79319)
### Deprecated
- The `core:e/text_highlight` and `core:e/text_highlight_picker` icons are deprecated and will be removed in Moodle 6.0. The UX team recommended this change to reduce visual clutter and improve readability. The icons were removed because they didn't indicate status changes, were repetitive across all notifications, and took up space that could be used for more content.
For more information see [MDL-85146](https://tracker.moodle.org/browse/MDL-85146)
## 5.0
### Changed
+1 -1
View File
@@ -1,6 +1,6 @@
# core_user (subsystem) Upgrade notes
## 5.1dev
## 5.1dev+
### Added