upgrade.txt 3.47 KB
Newer Older
1
2
3
4
5
6
=== 4.0 ===
* The following files and classes within them have been deprecated in favour of dynamic forms:
    * edit_form.php
    * use_templ_form.php
* The page delete_template.php has been removed as it is now handled within manage_templates.php

7
8
9
=== 3.11 ===
The $extradetails parameter in the constructor of the mod_feedback\output\summary class has been deprecated and is not used anymore.

10
11
12
13
14
=== 3.8 ===

* The following functions have been finally deprecated and can not be used anymore:
    * feedback_scale_used()

15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
=== 3.6 ===

* The following functions have been finally deprecated and can not be used anymore:
  * feedback_print_item_preview()
  * feedback_print_item_complete()
  * feedback_print_item_show_value()
  * feedback_check_values()
  * feedback_clean_input_value()
  * feedback_get_context()
  * feedback_create_item()
  * feedback_delete_completedtmp()
  * feedback_get_page_to_continue()
  * feedback_save_values()
  * feedback_save_guest_values()
  * feedback_create_values()
  * feedback_update_values()
  * feedback_get_current_completed()
  * feedback_is_course_in_sitecourse_map()
  * feedback_is_feedback_in_sitecourse_map()
  * feedback_clean_up_sitecourse_map()
  * feedback_print_numeric_option_list()
36
37
* Web Service functions now support an optional courseid parameter (course where user completes the feedback).
  This new parameter was necessary to support site feedbacks.
38

39
40
41
42
43
44
45
=== 3.5 ===

* The following functions, previously used (exclusively) by upgrade steps are not available
  anymore because of the upgrade cleanup performed for this version. See MDL-59159 for more info:
    - mod_feedback_upgrade_delete_duplicate_values()
    - mod_feedback_upgrade_courseid()

46
=== 3.3.2 ===
47

48
49
50
* feedback_refresh_events() Now takes two additional parameters to refine the update to a specific instance. This function
  now optionally takes the module instance object or ID, and the course module object or ID. Please try to send the full
  objects instead of the ids to save DB calls.
51

52
53
54
55
56
=== 3.3 ===

* Method get_current_completed_tmp in mod_feedback_completion class is now public.
* Function feedback_set_tmp_values is not deprecated anymore.

57
58
59
=== 3.1 ===

* feedback_get_courses_from_sitecourse_map() now returns course id as 'id' attribute
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
* Base class for feedback items - feedback_item_base - has been significantly changed, all item types now
  must implement method complete_form_element() instead of print_item_preview(), print_item_complete(),
  print_item_show_value(), check_values(), clean_input_value() and value_is_array(). Rendering the items
  on complete form, feedback preview, feedback edit and when viewing response is done using moodleform.
* The following functions have been deprecated:
  * feedback_print_item_preview()
  * feedback_print_item_complete()
  * feedback_print_item_show_value
  * feedback_check_values()
  * feedback_clean_input_value()
  * feedback_get_context()
  * feedback_create_item()
  * feedback_set_tmp_values()
  * feedback_delete_completedtmp()
  * feedback_get_page_to_continue()
  * feedback_save_values()
  * feedback_save_guest_values()
  * feedback_create_values()
  * feedback_update_values()
  * feedback_get_current_completed()
  * feedback_is_course_in_sitecourse_map()
  * feedback_is_feedback_in_sitecourse_map()
  * feedback_clean_up_sitecourse_map()
  * feedback_print_numeric_option_list()
84

85
86
87
88
89
=== 2.7 ===

* The validation of the following events is now stricter (see MDL-45445):
    - \mod_feedback\event\response_deleted
    - \mod_feedback\event\response_submitted