NOBUG: Add upgrade notes

This commit is contained in:
Huong Nguyen 2024-10-04 21:03:11 +07:00
parent 166408a13a
commit 3a6640c461
No known key found for this signature in database
GPG key ID: 40D88AB693A3E72A
47 changed files with 834 additions and 738 deletions

View file

@ -1,27 +1,29 @@
# core_user (subsystem) Upgrade notes
## 4.5rc1
## 4.5rc2
### Added
- New `\core_user\hook\extend_user_menu` hook added to allow third party plugin to extend the user menu navigation
- New `\core_user\hook\extend_user_menu` hook added to allow third party plugins to extend the user menu navigation.
For more information see [MDL-71823](https://tracker.moodle.org/browse/MDL-71823)
- New `\core_user\hook\extend_default_homepage` hook added to allow third-party plugins to extend the default homepage options for the site
- A new hook, `\core_user\hook\extend_default_homepage`, has been added to allow third-party plugins to extend the default homepage options for the site.
For more information see [MDL-82066](https://tracker.moodle.org/browse/MDL-82066)
### Changed
- The visibility of the methods: `check_access_for_dynamic_submission()` and `get_options()` in `\core_user\form\private_files` has been changed from protected to public.
- The visibility of the following methods have been increased to public:
- `\core_user\form\private_files::check_access_for_dynamic_submission()`
- `\core_user\form\private_files::get_options()`
For more information see [MDL-78293](https://tracker.moodle.org/browse/MDL-78293)
- The user profile field `display_name()` method now accepts an optional `$escape` parameter to define whether to escape the returned name
- The user profile field `\profile_field_base::display_name()` method now accepts an optional `$escape` parameter to define whether to escape the returned name.
For more information see [MDL-82494](https://tracker.moodle.org/browse/MDL-82494)
### Deprecated
- The `participants_search::get_total_participants_count()` is no longer used since the total count can be obtained from `::get_participants()`
- The `\core_user\table\participants_search::get_total_participants_count()` is no longer used since the total count can be obtained from `\core_user\table\participants_search::get_participants()`.
For more information see [MDL-78030](https://tracker.moodle.org/browse/MDL-78030)