Moodle 2.2 release notes: Difference between revisions
From MoodleDocs
Line 27: | Line 27: | ||
* https://github.com/moodle/moodle/blob/master/auth/upgrade.txt | * https://github.com/moodle/moodle/blob/master/auth/upgrade.txt | ||
* https://github.com/moodle/moodle/blob/master/enrol/upgrade.txt | * https://github.com/moodle/moodle/blob/master/enrol/upgrade.txt | ||
* https://github.com/moodle/moodle/blob/master/filter/upgrade.txt | |||
* https://github.com/moodle/moodle/blob/master/mod/upgrade.txt | * https://github.com/moodle/moodle/blob/master/mod/upgrade.txt | ||
* https://github.com/moodle/moodle/blob/master/question/behaviour/upgrade.txt | * https://github.com/moodle/moodle/blob/master/question/behaviour/upgrade.txt | ||
Line 32: | Line 33: | ||
* https://github.com/moodle/moodle/blob/master/question/type/upgrade.txt | * https://github.com/moodle/moodle/blob/master/question/type/upgrade.txt | ||
* https://github.com/moodle/moodle/blob/master/theme/upgrade.txt | * https://github.com/moodle/moodle/blob/master/theme/upgrade.txt | ||
====DB changes==== | ====DB changes==== |
Revision as of 09:31, 23 November 2011
Release date: Not yet released
Highlights
- MDL-26796 Stop accepting arrays in required_param() and optional_param()
- MDL-27242 Conditional activities can now become available at an exact time, rather than only a date
Security issues
To be released later
For developers: API changes
Core API changes
New plugin types
Plugin API changes
- https://github.com/moodle/moodle/blob/master/auth/upgrade.txt
- https://github.com/moodle/moodle/blob/master/enrol/upgrade.txt
- https://github.com/moodle/moodle/blob/master/filter/upgrade.txt
- https://github.com/moodle/moodle/blob/master/mod/upgrade.txt
- https://github.com/moodle/moodle/blob/master/question/behaviour/upgrade.txt
- https://github.com/moodle/moodle/blob/master/question/format/upgrade.txt
- https://github.com/moodle/moodle/blob/master/question/type/upgrade.txt
- https://github.com/moodle/moodle/blob/master/theme/upgrade.txt
DB changes
- MDL-29313: Length limit for VARCHAR columns under all Databases has been raised to 1333 chars. This will allow using that column type to store URLs and longer contents in general.
- Specifically for Oracle installations:
- MDL-29322: All VARCHAR2 columns will be created using CHAR semantics instead of default BYTE semantics in Moodle 2.2 and upwards. This provides better cross-db compatibility and improves storage of longer Unicode strings.
- MDL-29416: For all existing sites, one new report has been added under Admin -> Development -> XMLDB Editor -> Check semantics, able to detect all the "old" BYTE semantics remaining in the database and generate the SQL statements needed to move them to proper CHAR semantics.
Libraries deleted from distribution
This is the list of some outdated / unused libraries that aren't bundled anymore with Moodle 2.2 and upwards. Any (contrib / custom) plugin using them should change to better alternatives or include its own copy of them:
- MDL-29884 - lib/base32.php
- MDL-29885 - lib/csshover.htc
- MDL-29886 - lib/md5.js
- MDL-29883 - lib/mp3player
- MDL-29671 - lib/odbc.php
- MDL-29882 - lib/overlib
- MDL-29914 - lib/pear/PHP/CodeSniffer
- MDL-29881 - lib/profilerlib.php and lib/pear/Console/Getopt
- MDL-29922 - lib/smarty
- MDL-29887 - lib/swfobject/swfobject.js