This file contains important information for developers on changes to the Moodle codebase.
More detailed information on key changes can be found in the Developer update notes for your version of Moodle.
The format of this change log follows the advice given at Keep a CHANGELOG.
-
The previously deprecated function
search_generate_text_SQL
has been removed and can no longer be used.For more information see MDL-48940
-
The previously deprecated function
core_text::reset_caches()
has been removed and can no longer be used.For more information see MDL-71748
-
The following previously deprecated methods have been removed and can no longer be used:
renderer_base::should_display_main_logo
For more information see MDL-73165
-
Final deprecation of print_error(). Use moodle_exception instead.
For more information see MDL-74484
-
The previously deprecated
report_helper::save_selected_report
method has been removed and can no longer be usedFor more information see MDL-72353
-
The following previously deprecated Behat step helper methods have been removed and can no longer be used:
behat_grade::select_in_gradebook_navigation_selector
behat_grade::select_in_gradebook_tabs
For more information see MDL-74581
-
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
-
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
-
The base datasource
add_all_from_entities
method accepts a new optional parameter to specify which entities to add elements fromFor more information see MDL-81330
-
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
-
Added a new database helper method
sql_replace_parameters
to help ensure uniqueness of parameters within a SQL expressionFor more information see MDL-81434
-
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 themaxattempts
setting achieves the same behavior.For more information see MDL-80741
-
The constant
ASSIGN_ATTEMPT_REOPEN_METHOD_NONE
has been deprecated, and a new default value forattemptreopenmethod
has been set to "Automatically until pass".For more information see MDL-80741
-
A new default value for
attemptreopenmethod
has been set to "Automatically until pass".For more information see MDL-80741
-
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.
For more information see MDL-81125
-
The
data_add_record
method accepts a new$approved
parameter to set the corresponding state of the new recordFor more information see MDL-81274
-
The constructor of
core_courseformat\output\local\state\cm
has been updated to accept a new optional parameter,$istrackeduser
. Ifistrackeduser
is pre-computed for the course module's course, it can be provided here to avoid an additional function call.For more information see MDL-81610