MDL-35479 some more debugging assert cleanup
[moodle.git] / lib / upgrade.txt
CommitLineData
ee362526
PS
1This files describes API changes in core lbraries and APIs,
2information provided here is intended especially for developers.
3
6c2be903
DP
4=== 2.4 ===
5
6* Pagelib: Numerous deprecated functions were removed as classes page_base, page_course
7 and page_generic_activity.
704533fc 8* use $CFG->googlemapkey3 instead of removed $CFG->googlemapkey and migrate to Google Maps API V3
ee362526 9
d2a27ab0
ARN
10YUI changes:
11* moodle-enrol-notification has been renamed to moodle-core-notification
3542e01a 12* YUI2 code must now use 2in3, see http://yuilibrary.com/yui/docs/yui/yui-yui2.html
d2a27ab0 13
e618cdf3
PS
14=== 2.3 ===
15
16Database layer changes:
17* objects are not allowed in paramters of DML functions, use explicit casting to strings if necessary
18
19526d91
DP
19Note:
20* DDL and DML methods which were deprecated in 2.0 have now been removed, they will no longer produce
21debug messages and will produce fatal errors
e618cdf3 22
796495fe 23API changes:
daefd6eb 24
796495fe 25* send_stored_file() has changed its interface
daefd6eb 26* deleted several resourcelib_embed_* functions from resourcelib.php
796495fe 27
ee362526
PS
28=== 2.2 ===
29
30removed unused libraries:
31* odbc, base32, CodeSniffer, overlib, apd profiling, kses, Smarty, PEAR Console, swfobject, cssshover.htc, md5.js
32
33API changes:
34* new admin/tool plugin type
35* new context API - old API is still available
8e470797 36* deleted users do not have context any more
ee362526
PS
37* removed global search
38
39
40=== 2.1 ===
41
42API changes:
43* basic suport for restore from 1.9
44* new mobile devices API
45* new questions API
46
47
48=== 2.0 ===
49
50API changes:
51* new DML API - http://docs.moodle.org/dev/DML_functions
52* new DDL API - http://docs.moodle.org/dev/DDL_functions
53* new file API - http://docs.moodle.org/dev/File_API
54* new $PAGE and $OUTPUT API
55* new navigation API
56* new theme API - http://docs.moodle.org/dev/Theme_changes_in_2.0
57* new javascript API - http://docs.moodle.org/dev/JavaScript_usage_guide
58* new portfolio API
59* new local plugin type
60* new translation support - http://lang.moodle.org
61* new web service API
62* new cohorts API
63* new messaging API
64* new rating API
65* new comment API
66* new sessions API
67* new enrolment API
68* new backup/restore API
69* new blocks API
70* new filters API
71* improved plugin support (aka Frankenstyle)
72* new registration and hub API
73* new course completion API
74* new plagiarism API
75* changed blog API
76* new text editor API
19526d91 77* new my moodle and profiles API