public/enrol/UPGRADING.md
The external function core_enrol::get_enrolled_users() now behaves consistently with the web version; returning the basic user information even if the current user does not have permission to view the full details.
For more information see MDL-87242
\enrol_plugin::update_communication() has been removed from public/lib/enrollib.php.For more information see MDL-87425
New method enrol_plugin::get_instance_name_for_management_page() can be used to display additional details next to the instance name.
For more information see MDL-84139
Plugins implementing enrol_page_hook() method are encouraged to use the renderable \core_enrol\output\enrol_page to produce HTML for the enrolment page. Forms should be displayed in a modal dialogue. See enrol_self plugin as an example.
For more information see MDL-84142
It's now possible for themes to override the course enrolment index page by overriding the new course renderer enrolment_options method
For more information see MDL-84143
The after_user_enrolled hook now contains a roleid property to allow for listeners to determine which role was assigned during user enrolment (if any)
The base enrolment enrol_plugin::send_course_welcome_message_to_user method also now accepts a $roleid parameter in order to correctly populate the courserole placeholder
For more information see MDL-83432