Merge branch 'MDL-70789-311' of git://github.com/paulholden/moodle into MOODLE_311_STABLE
[moodle.git] / admin / upgrade.txt
blobc3ab30f87e4fd03058e627df4f100766eb960279
1 This files describes API changes in /admin/*.
3 === 3.11 ===
5 * New admin setting admin_setting_encryptedpassword allows passwords in admin settings to be
6   encrypted (with the new \core\encryption API) so that even the admin cannot read them.
8 === 3.9 ===
10 * The following functions, previously used (exclusively) by upgrade steps are not available anymore because of the upgrade cleanup performed for this version. See MDL-65809 for more info:
11     - upgrade_fix_block_instance_configuration()
12     - upgrade_theme_is_from_family()
13     - upgrade_find_theme_location()
14     - linkcoursesectionsupgradescriptwasrun setting
15     - upgrade_block_positions()
17 === 3.8 ===
19 * Admin setting "Open to Google" (opentogoogle) has been renamed to the more generic "Open to search engines" (opentowebcrawlers).
20   This is a more accurate representation of what is being set and the config string has also been moved and updated to reflect this.
22 === 3.7 ===
24 * Admin setting "Allow blocks to use the dock" (allowblockstodock) has been removed & stings deprecated.
25   Docking of blocks is no longer supported within the core themes (Boost, Classic).
26   Please see MDL-64506 for further details.
28 === 3.3 ===
30 * The admin settings admin_setting_configselect and admin_setting_configmultiselect now support the optgroup tag.
31   Grouping of options can be created with this new tag.
32   For using it, the option parameters needs the Group names as indexes:
33   [
34     "Spain" =>  ["madrid" => "Madrid", "barcelona" => "Barcelona"],
35     "France" => ["paris" => "Paris", "marseille" => "Marseille"],
36   ]
38 === 3.2 ===
40 * Admin settings have been refined to better support right-to-left languages. In RTL,
41   most fields should not have their direction flipped, a URL, a path to a file, ...
42   are always displayed LTR. The admin setting will now best guess if they should be
43   RTLized based on their PARAM_* type. To override that guess, use
44   admin_setting::set_force_ltr(true/false).