MDL-76694 core_comment: exit the js init if the element cannot be found
[moodle.git] / grade / upgrade.txt
blob49e4603f2274d75573cc5e137fee2a85e33b9fc2
1 This file describes API changes in /grade/* ;
2 Information provided here is intended especially for developers.
4 === 4.1.6 ===
5 * The grade `itemname` property contained in the return structure of the following external methods is now PARAM_CLEANHTML:
6   - `gradereport_user_get_grade_items`
8 === 4.1 ===
9 * The $importactiveurl parameter in the constructor of the core_grades\output\import_action_bar class has been deprecated and is not used anymore.
10 * The $exportactiveurl parameter in the constructor of the core_grades\output\export_action_bar class has been deprecated and is not used anymore.
11 * The select_in_gradebook_navigation_selector() function in behat_grade.php has been deprecated. Please use
12   behat_forms::i_set_the_field_to() instead.
14 === 4.0 ===
16 * The select_in_gradebook_tabs() function in behat_grade.php has been deprecated. Please use the function
17   select_in_gradebook_navigation_selector() instead.
18 * The setting $CFG->grade_navmethod setting has been completely removed because it's not required anymore. This setting
19   was used to set the type of navigation (tabs or dropdown box) used in gradebook which is now replaced with tertiary
20   navigation.
21 * The print_grade_plugin_selector() function has been deprecated. This function was used to generate and output the
22   dropdown box navigation in gradebook which is now replaced with tertiary navigation.
23 * The grade_print_tabs() function has been deprecated. This function was used to generate and output the tabs navigation
24   in gradebook which is now replaced with tertiary navigation.
25 * There is a new callback inside of grade_get_plugin_info called extend_gradebook_plugininfo
26   which allows for new tabs to be added to the gradebook.
28 === 3.7 ===
30 * The grade_cron() function has been removed. Please use grade_history_cleanup_task and grade_cron_task scheduled tasks instead.
32 === 3.6 ===
34 * The grade_plugin_return constructor now uses parameters from the
35   request as defaults, which can be overridden by parameters supplied
36   to the constructor. This may lead to a change in behaviour if only
37   some of the possible parameters are supplied.
38 * The grade_plugin_return class now tracks groupid as well as the
39   type, plugin, courseid, userid and page parameters that were tracked
40   previously. The groupid parameter will be set using
41   groups_get_course_group for the relevant course if the group is
42   otherwise unspecified.
43 * The above changes mean that code using grade_plugin_return objects
44   should generally no longer call groups_get_course_group directly,
45   but should use the gpr->groupid parameter instead.
46 * The grade_plugin_return constructor now accepts either course or
47   courseid as a parameter to specify course.