- The function update_display_mode will update the eye icon (enabled/disabled) in the availability. The $pluginname is represented to the plugin need to update. The $displaymode is represented to the eye icon. Whether it enabled or disabled.
For more information see [MDL-81533](https://tracker.moodle.org/browse/MDL-81533)
- The class autoloader has been moved to an earlier point in the Moodle bootstrap.
Autoloaded classes are now available to scripts using the `ABORT_AFTER_CONFIG` constant.
For more information see [MDL-80275](https://tracker.moodle.org/browse/MDL-80275)
- The `\core\dataformat::get_format_instance` method is now public, and can be used to retrieve a writer instance for a given dataformat
For more information see [MDL-81781](https://tracker.moodle.org/browse/MDL-81781)
- The `get_home_page()` method can now return new constant `HOMEPAGE_URL`, applicable when a third-party hook has extended the default homepage options for the site
A new method, `get_default_home_page_url()` has been added which will return the correct URL when this constant is returned
For more information see [MDL-82066](https://tracker.moodle.org/browse/MDL-82066)
- All the setup and tear down methods of `PHPUnit` now are required to, always, call to their parent counterparts. This is a good practice to avoid future problems, especially when updating to PHPUnit >= 10.
This includes the following methods:
-`setUp()`
-`tearDown()`
-`setUpBeforeClass()`
-`tearDownAfterClass()`
For more information see [MDL-81523](https://tracker.moodle.org/browse/MDL-81523)
- The return type of the `set_checkbox_toggleall` callback, defined by system reports, can now be null. Use if the checkbox should not be shown for the row.
For more information see [MDL-52046](https://tracker.moodle.org/browse/MDL-52046)
- System reports now support native entity column aggregation via each columns `set_aggregation()` method
For more information see [MDL-76392](https://tracker.moodle.org/browse/MDL-76392)
- 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)
- New format helper `format_time` method, for use in column callbacks that represent a duration of time (e.g. "3 days 4 hours")
For more information see [MDL-82466](https://tracker.moodle.org/browse/MDL-82466)
- Methods add_columns_from_entity(), add_filters_from_entity() and report_element_search() have been moved from \core_reportbuilder\datasource class to \core_reportbuilder\base class in order to be available also for system reports
For more information see [MDL-82529](https://tracker.moodle.org/browse/MDL-82529)
- 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)
- All time related code has been updated to the PSR-20 Clock interface, as such the following methods no longer accept a `$timenow` parameter (instead please use `\core\clock` dependency injection):
- The value of this setting dictates which of the GRADE_TYPE_X constants is the default option when creating new instances of the assignment.
- The default value is GRADE_TYPE_VALUE (Point)
-`mod_assign/defaultgradescale`
- The value of this setting dictates which of the existing scales is the default option when creating new instances of the assignment.
For more information see [MDL-54105](https://tracker.moodle.org/browse/MDL-54105)
- 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)
#### 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)
- The `get_additional_login_parameters()` method now supports adding the language code to the authentication request so that the OAuth2 login page matches the language in Moodle.
For more information see [MDL-67554](https://tracker.moodle.org/browse/MDL-67554)
- The `report_helper::print_report_selector` method accepts an additional argument for adding content to the tertiary navigation to align with the report selector
For more information see [MDL-78773](https://tracker.moodle.org/browse/MDL-78773)
- Final deprecation MESSAGE_DEFAULT_LOGGEDOFF / MESSAGE_DEFAULT_LOGGEDIN.
For more information see [MDL-73284](https://tracker.moodle.org/browse/MDL-73284)
#### Changed
- The `\core_message\helper::togglecontact_link_params` now accepts a new optional param called `isrequested` to indicate the status of the contact request
For more information see [MDL-81428](https://tracker.moodle.org/browse/MDL-81428)
#### Deprecated
- The `core_message/remove_contact_button` template is deprecated and will be removed in the future version
For more information see [MDL-81428](https://tracker.moodle.org/browse/MDL-81428)
- Removed all references to iconhelp, icon-pre, icon-post, iconlarge, and iconsort classes
For more information see [MDL-74251](https://tracker.moodle.org/browse/MDL-74251)
#### Added
- New `core/context_header` mustache template has been added. This template can be overridden by themes to modify the context header
For more information see [MDL-81597](https://tracker.moodle.org/browse/MDL-81597)
#### Deprecated
- The method `\core\output\core_renderer::render_context_header` has been deprecated please use `\core\output\core_renderer::render($contextheader)` instead
For more information see [MDL-82160](https://tracker.moodle.org/browse/MDL-82160)
- The behat step definition behat_grade::i_confirm_in_search_within_the_gradebook_widget_exists has been deprecated. Please use behat_general::i_confirm_in_search_combobox_exists instead.
For more information see [MDL-80744](https://tracker.moodle.org/browse/MDL-80744)
- The behat step definition behat_grade::i_confirm_in_search_within_the_gradebook_widget_does_not_exist has been deprecated. Please use behat_general::i_confirm_in_search_combobox_does_not_exist instead.
For more information see [MDL-80744](https://tracker.moodle.org/browse/MDL-80744)
- The behat step definition behat_grade::i_click_on_in_search_widget has been deprecated. Please use behat_general::i_click_on_in_search_combobox instead.
For more information see [MDL-80744](https://tracker.moodle.org/browse/MDL-80744)
- The `core_grades_renderer::group_selector()` method has been deprecated. Please use `\core_course\output\actionbar\renderer` to render a `group_selector` renderable instead.
For more information see [MDL-80745](https://tracker.moodle.org/browse/MDL-80745)
- Final deprecation and removal of core_backup\copy\copy in backup/util/ui/classes/copy.php. Please use copy_helper from backup/util/helper/copy_helper.class.php instead.
- Final deprecation of base_controller::get_copy(). Please use restore_controller::get_copy() instead.
For more information see [MDL-75025](https://tracker.moodle.org/browse/MDL-75025)
- Final deprecation of base_controller::set_copy(). Please use a restore controller for storing copy information instead.
For more information see [MDL-75025](https://tracker.moodle.org/browse/MDL-75025)
### core_user
#### 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.
For more information see [MDL-78293](https://tracker.moodle.org/browse/MDL-78293)
#### Added
- New `\core_user\hook\extend_default_homepage` hook 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)
- 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.
- The functions quiz_overview_report::regrade_attempts and regrade_batch_of_attempts now have a new optional parameter $slots to only regrade some slots in each attempt (default all).
For more information see [MDL-79546](https://tracker.moodle.org/browse/MDL-79546)
### gradereport_grader
#### Deprecated
- The `gradereport_grader/group` ESM has been deprecated. Please use `core_course/actionbar/group` instead.
For more information see [MDL-80745](https://tracker.moodle.org/browse/MDL-80745)
### gradereport_singleview
#### Deprecated
- The `gradereport_singleview/group` ESM has been deprecated. Please use `core_course/actionbar/group` instead.
For more information see [MDL-80745](https://tracker.moodle.org/browse/MDL-80745)
### gradereport_user
#### Deprecated
- The `gradereport_user/group` ESM has been deprecated. Please use `core_course/actionbar/group` instead.
For more information see [MDL-80745](https://tracker.moodle.org/browse/MDL-80745)
- Add availability_management_table is a table which extends from plugin_management_table. Create the availability_management_table can reusable the toggle button for enabled column.
For more information see [MDL-81533](https://tracker.moodle.org/browse/MDL-81533)
- New $disabled parameter has been added to select, select_optgroup and select_option html_writers to create disabled option elements.
For more information see [MDL-82146](https://tracker.moodle.org/browse/MDL-82146)
- New \core_courseformat\output\local\content\basecontrolmenu class has been created. Existing \core_courseformat\output\local\content\cm\controlmenu and \core_courseformat\output\local\content\section\controlmenu classes extend the new \core_courseformat\output\local\content\basecontrolmenu class.
For more information see [MDL-82510](https://tracker.moodle.org/browse/MDL-82510)
- New \core_courseformat\output\local\content\cm\delegatedcontrolmenu class has been created extending \core_courseformat\output\local\content\basecontrolmenu class to render delegated section action menu combining section and module action menu.
For more information see [MDL-82510](https://tracker.moodle.org/browse/MDL-82510)
- - New optional sectionNum parameter has been added to activitychooser AMD module initializer. - New option sectionnum parameter has been added to get_course_content_items() external function. - New optional sectionnum parameter has been added to get_content_items_for_user_in_course() function.
- Webservices `core_course_get_courses_by_field` now accepts a new parameter `sectionid` to be able to retrieve the course that has the indicated section
For more information see [MDL-81699](https://tracker.moodle.org/browse/MDL-81699)
- The reset course page has been improved. The words "Delete" and "Remove" have been removed from all the options to make it easier to focus on the data to be removed and avoid inconsistencies and duplicated information. Third party plugins implementing reset methods might need to:
- Add static element in the _reset_course_form_definition method before all the options with the Delete string:
- Upon upgrading Font Awesome from version 4 to 6, the solid family was selected by default. However, FA6 includes additional families such as regular and brands. Support for these families has now been integrated, allowing icons defined with icon_system::FONTAWESOME to use them. Icons can add the FontAwesome family (fa-regular, fa-brands, fa-solid) near the icon name to display it using this styling.
For more information see [MDL-82210](https://tracker.moodle.org/browse/MDL-82210)
- The base class `info::get_groups` method has a `$userid` parameter to specify for which user you want to retrieve course groups (defaults to current user)
For more information see [MDL-81850](https://tracker.moodle.org/browse/MDL-81850)