34db5a016a09f063d53bb1ffded0788bc5fb04d2
[moodle.git] / lib / upgrade.txt
1 This files describes API changes in core lbraries and APIs,
2 information provided here is intended especially for developers.
4 === 2.4 ===
6 * Pagelib: Numerous deprecated functions were removed as classes page_base, page_course
7   and page_generic_activity.
8 * use $CFG->googlemapkey3 instead of removed $CFG->googlemapkey and migrate to Google Maps API V3
10 YUI changes:
11 * moodle-enrol-notification has been renamed to moodle-core-notification
12 * YUI2 code must now use 2in3, see http://yuilibrary.com/yui/docs/yui/yui-yui2.html
14 === 2.3 ===
16 Database layer changes:
17 * objects are not allowed in paramters of DML functions, use explicit casting to strings if necessary
19 Note:
20 * DDL and DML methods which were deprecated in 2.0 have now been removed, they will no longer produce
21 debug messages and will produce fatal errors
23 API changes:
25 * send_stored_file() has changed its interface
26 * deleted several resourcelib_embed_* functions from resourcelib.php
28 === 2.2 ===
30 removed unused libraries:
31 * odbc, base32, CodeSniffer, overlib, apd profiling, kses, Smarty, PEAR Console, swfobject, cssshover.htc, md5.js
33 API changes:
34 * new admin/tool plugin type
35 * new context API - old API is still available
36 * deleted users do not have context any more
37 * removed global search
40 === 2.1 ===
42 API changes:
43 * basic suport for restore from 1.9
44 * new mobile devices API
45 * new questions API
48 === 2.0 ===
50 API 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
77 * new my moodle and profiles API