NOBUG: Add upgrade notes

This commit is contained in:
Huong Nguyen
2025-04-04 22:21:55 +07:00
parent 4fe64bf293
commit 8bcbf6e216
59 changed files with 93 additions and 59 deletions
+18 -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.0beta
## 5.0rc1
### core
@@ -23,6 +23,17 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt
This prevents display of the title in all layouts except `secure`.
For more information see [MDL-75610](https://tracker.moodle.org/browse/MDL-75610)
- Behat now supports email content verification using Mailpit.
You can check the contents of an email using the step `Then the email to "[email protected]" with subject containing "subject" should contain "content".`
To use this feature:
1. Ensure that Mailpit is running
2. Define the following constants in your `config.php`:
- `TEST_EMAILCATCHER_MAIL_SERVER` - The Mailpit server address (e.g. `0.0.0.0:1025`)
- `TEST_EMAILCATCHER_API_SERVER` - The Mailpit API server (qe.g. `http://localhost:8025`)
3. Ensure that the email catcher is set up using the step `Given an email catcher server is configured`.
For more information see [MDL-75971](https://tracker.moodle.org/browse/MDL-75971)
- A new core\ip_utils::normalize_internet_address() method is created to sanitize an IP address, a range of IP addresses, a domain name or a wildcard domain matching pattern.
Moodle previously allowed entries such as 192.168. or .moodle.org for certain variables (eg: $CFG->proxybypass). Since MDL-74289, these formats are no longer allowed. This method converts this informations into an authorized format. For example, 192.168. becomes 192.168.0.0/16 and .moodle.org becomes *.moodle.org.
@@ -61,6 +72,9 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt
- The new PHP enum core\output\local\properties\iconsize can be used to limit the amount of icons sizes an output component can use. The enum has the same values available in the theme_boost scss.
For more information see [MDL-84555](https://tracker.moodle.org/browse/MDL-84555)
- A new method, `core_text::trim_ctrl_chars()`, has been introduced to clean control characters from text. This ensures cleaner input handling and prevents issues caused by invisible or non-printable characters
For more information see [MDL-84907](https://tracker.moodle.org/browse/MDL-84907)
#### Changed
@@ -522,6 +536,9 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt
#### Added
- A new function `file_clear_draft_area()` has been added to delete the files in a draft area.
For more information see [MDL-72050](https://tracker.moodle.org/browse/MDL-72050)
- Adds a new ad-hoc task `core_files\task\asynchronous_mimetype_upgrade_task` to upgrade the mimetype of files
asynchronously during core upgrades. The upgradelib also comes with a new utility function
`upgrade_create_async_mimetype_upgrade_task` for creating said ad-hoc task.
+1 -1
View File
@@ -1,6 +1,6 @@
# core_adminpresets (subsystem) Upgrade notes
## 5.0beta
## 5.0rc1
### Removed
+1 -1
View File
@@ -1,6 +1,6 @@
# tool_admin_presets Upgrade notes
## 5.0beta
## 5.0rc1
### Deprecated
+1 -1
View File
@@ -1,6 +1,6 @@
# tool_behat Upgrade notes
## 5.0beta
## 5.0rc1
### Added
+1 -1
View File
@@ -1,6 +1,6 @@
# tool_brickfield Upgrade notes
## 5.0beta
## 5.0rc1
### Deprecated
+1 -1
View File
@@ -1,6 +1,6 @@
# tool_lp Upgrade notes
## 5.0beta
## 5.0rc1
### Deprecated
+1 -1
View File
@@ -1,6 +1,6 @@
# tool_mfa Upgrade notes
## 5.0beta
## 5.0rc1
### Added
+1 -1
View File
@@ -1,6 +1,6 @@
# tool_mobile Upgrade notes
## 5.0beta
## 5.0rc1
### Removed
+1 -1
View File
@@ -1,6 +1,6 @@
# core_ai (subsystem) Upgrade notes
## 5.0beta
## 5.0rc1
### Added
+1 -1
View File
@@ -1,6 +1,6 @@
# aiplacement_courseassist Upgrade notes
## 5.0beta
## 5.0rc1
### Added
+1 -1
View File
@@ -1,6 +1,6 @@
# core_analytics (subsystem) Upgrade notes
## 5.0beta
## 5.0rc1
### Removed
+1 -1
View File
@@ -1,6 +1,6 @@
# core_auth (subsystem / plugintype) Upgrade notes
## 5.0beta
## 5.0rc1
### Removed
+1 -1
View File
@@ -1,6 +1,6 @@
# core_backup (subsystem) Upgrade notes
## 5.0beta
## 5.0rc1
### Added
+1 -1
View File
@@ -1,6 +1,6 @@
# core_badges (subsystem) Upgrade notes
## 5.0beta
## 5.0rc1
### Added
+1 -1
View File
@@ -1,6 +1,6 @@
# core_block (subsystem / plugintype) Upgrade notes
## 5.0beta
## 5.0rc1
### Removed
+1 -1
View File
@@ -1,6 +1,6 @@
# block_site_main_menu Upgrade notes
## 5.0beta
## 5.0rc1
### Removed
+1 -1
View File
@@ -1,6 +1,6 @@
# block_social_activities Upgrade notes
## 5.0beta
## 5.0rc1
### Removed
+1 -1
View File
@@ -1,6 +1,6 @@
# core_calendar (subsystem) Upgrade notes
## 5.0beta
## 5.0rc1
### Deprecated
+1 -1
View File
@@ -1,6 +1,6 @@
# core_completion (subsystem) Upgrade notes
## 5.0beta
## 5.0rc1
### Added
+1 -1
View File
@@ -1,6 +1,6 @@
# core_course (subsystem) Upgrade notes
## 5.0beta
## 5.0rc1
### Added
+1 -1
View File
@@ -1,6 +1,6 @@
# core_courseformat (subsystem / plugintype) Upgrade notes
## 5.0beta
## 5.0rc1
### Added
+1 -1
View File
@@ -1,6 +1,6 @@
# format_topics Upgrade notes
## 5.0beta
## 5.0rc1
### Deprecated
+1 -1
View File
@@ -1,6 +1,6 @@
# core_customfield (subsystem) Upgrade notes
## 5.0beta
## 5.0rc1
### Added
+1 -1
View File
@@ -1,6 +1,6 @@
# core_enrol (subsystem / plugintype) Upgrade notes
## 5.0beta
## 5.0rc1
### Added
+1 -1
View File
@@ -1,6 +1,6 @@
# enrol_guest Upgrade notes
## 5.0beta
## 5.0rc1
### Deprecated
+1 -1
View File
@@ -1,6 +1,6 @@
# enrol_self Upgrade notes
## 5.0beta
## 5.0rc1
### Deprecated
+4 -1
View File
@@ -1,9 +1,12 @@
# core_files (subsystem) Upgrade notes
## 5.0beta
## 5.0rc1
### Added
- A new function `file_clear_draft_area()` has been added to delete the files in a draft area.
For more information see [MDL-72050](https://tracker.moodle.org/browse/MDL-72050)
- Adds a new ad-hoc task `core_files\task\asynchronous_mimetype_upgrade_task` to upgrade the mimetype of files
asynchronously during core upgrades. The upgradelib also comes with a new utility function
`upgrade_create_async_mimetype_upgrade_task` for creating said ad-hoc task.
+1 -1
View File
@@ -1,6 +1,6 @@
# core_grades (subsystem) Upgrade notes
## 5.0beta
## 5.0rc1
### Added
+1 -1
View File
@@ -1,6 +1,6 @@
# gradereport (plugin type) Upgrade notes
## 5.0beta
## 5.0rc1
### Removed
+1 -1
View File
@@ -1,6 +1,6 @@
# gradereport_grader Upgrade notes
## 5.0beta
## 5.0rc1
### Deprecated
+15 -1
View File
@@ -1,6 +1,6 @@
# core (subsystem) Upgrade notes
## 5.0beta
## 5.0rc1
### Added
@@ -15,6 +15,17 @@
This prevents display of the title in all layouts except `secure`.
For more information see [MDL-75610](https://tracker.moodle.org/browse/MDL-75610)
- Behat now supports email content verification using Mailpit.
You can check the contents of an email using the step `Then the email to "[email protected]" with subject containing "subject" should contain "content".`
To use this feature:
1. Ensure that Mailpit is running
2. Define the following constants in your `config.php`:
- `TEST_EMAILCATCHER_MAIL_SERVER` - The Mailpit server address (e.g. `0.0.0.0:1025`)
- `TEST_EMAILCATCHER_API_SERVER` - The Mailpit API server (qe.g. `http://localhost:8025`)
3. Ensure that the email catcher is set up using the step `Given an email catcher server is configured`.
For more information see [MDL-75971](https://tracker.moodle.org/browse/MDL-75971)
- A new core\ip_utils::normalize_internet_address() method is created to sanitize an IP address, a range of IP addresses, a domain name or a wildcard domain matching pattern.
Moodle previously allowed entries such as 192.168. or .moodle.org for certain variables (eg: $CFG->proxybypass). Since MDL-74289, these formats are no longer allowed. This method converts this informations into an authorized format. For example, 192.168. becomes 192.168.0.0/16 and .moodle.org becomes *.moodle.org.
@@ -53,6 +64,9 @@
- The new PHP enum core\output\local\properties\iconsize can be used to limit the amount of icons sizes an output component can use. The enum has the same values available in the theme_boost scss.
For more information see [MDL-84555](https://tracker.moodle.org/browse/MDL-84555)
- A new method, `core_text::trim_ctrl_chars()`, has been introduced to clean control characters from text. This ensures cleaner input handling and prevents issues caused by invisible or non-printable characters
For more information see [MDL-84907](https://tracker.moodle.org/browse/MDL-84907)
### Changed
+1 -1
View File
@@ -1,6 +1,6 @@
# editor_tiny Upgrade notes
## 5.0beta
## 5.0rc1
### Added
+1 -1
View File
@@ -1,6 +1,6 @@
# core_form (subsystem) Upgrade notes
## 5.0beta
## 5.0rc1
### Changed
+1 -1
View File
@@ -1,6 +1,6 @@
# core_mnet (subsystem) Upgrade notes
## 5.0beta
## 5.0rc1
### Removed
+1 -1
View File
@@ -1,6 +1,6 @@
# mod (plugin type) Upgrade notes
## 5.0beta
## 5.0rc1
### Removed
+1 -1
View File
@@ -1,6 +1,6 @@
# mod_assign Upgrade notes
## 5.0beta
## 5.0rc1
### Added
+1 -1
View File
@@ -1,6 +1,6 @@
# mod_book Upgrade notes
## 5.0beta
## 5.0rc1
### Deprecated
+1 -1
View File
@@ -1,6 +1,6 @@
# mod_choice Upgrade notes
## 5.0beta
## 5.0rc1
### Changed
+1 -1
View File
@@ -1,6 +1,6 @@
# mod_data Upgrade notes
## 5.0beta
## 5.0rc1
### Deprecated
+1 -1
View File
@@ -1,6 +1,6 @@
# mod_feedback Upgrade notes
## 5.0beta
## 5.0rc1
### Added
+1 -1
View File
@@ -1,6 +1,6 @@
# mod_folder Upgrade notes
## 5.0beta
## 5.0rc1
### Removed
+1 -1
View File
@@ -1,6 +1,6 @@
# mod_h5pactivity Upgrade notes
## 5.0beta
## 5.0rc1
### Changed
+1 -1
View File
@@ -1,6 +1,6 @@
# mod_imscp Upgrade notes
## 5.0beta
## 5.0rc1
### Removed
+1 -1
View File
@@ -1,6 +1,6 @@
# mod_lesson Upgrade notes
## 5.0beta
## 5.0rc1
### Removed
+1 -1
View File
@@ -1,6 +1,6 @@
# mod_lti Upgrade notes
## 5.0beta
## 5.0rc1
### Removed
+1 -1
View File
@@ -1,6 +1,6 @@
# mod_quiz Upgrade notes
## 5.0beta
## 5.0rc1
### Added
+1 -1
View File
@@ -1,6 +1,6 @@
# mod_wiki Upgrade notes
## 5.0beta
## 5.0rc1
### Removed
+1 -1
View File
@@ -1,6 +1,6 @@
# core_portfolio (subsystem / plugintype) Upgrade notes
## 5.0beta
## 5.0rc1
### Removed
+1 -1
View File
@@ -1,6 +1,6 @@
# core_question (subsystem) Upgrade notes
## 5.0beta
## 5.0rc1
### Added
+1 -1
View File
@@ -1,6 +1,6 @@
# qbank (plugin type) Upgrade notes
## 5.0beta
## 5.0rc1
### Removed
+1 -1
View File
@@ -1,6 +1,6 @@
# qbank_bulkmove Upgrade notes
## 5.0beta
## 5.0rc1
### Deprecated
+1 -1
View File
@@ -1,6 +1,6 @@
# report_insights Upgrade notes
## 5.0beta
## 5.0rc1
### Removed
+1 -1
View File
@@ -1,6 +1,6 @@
# report_log Upgrade notes
## 5.0beta
## 5.0rc1
### Removed
+1 -1
View File
@@ -1,6 +1,6 @@
# core_reportbuilder (subsystem) Upgrade notes
## 5.0beta
## 5.0rc1
### Added
+1 -1
View File
@@ -1,6 +1,6 @@
# core_repository (subsystem / plugintype) Upgrade notes
## 5.0beta
## 5.0rc1
### Removed
+1 -1
View File
@@ -1,6 +1,6 @@
# core_sms (subsystem) Upgrade notes
## 5.0beta
## 5.0rc1
### Added
+1 -1
View File
@@ -1,6 +1,6 @@
# core_tag (subsystem) Upgrade notes
## 5.0beta
## 5.0rc1
### Changed
+1 -1
View File
@@ -1,6 +1,6 @@
# theme_boost Upgrade notes
## 5.0beta
## 5.0rc1
### Changed
+1 -1
View File
@@ -1,6 +1,6 @@
# core_user (subsystem) Upgrade notes
## 5.0beta
## 5.0rc1
### Removed