1ab04ce6b842780485029cbe59adb18377aa15c8
[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
9 * Function settings_navigation::add_course_editing_links() is completely removed
11 YUI changes:
12 * moodle-enrol-notification has been renamed to moodle-core-notification
13 * YUI2 code must now use 2in3, see http://yuilibrary.com/yui/docs/yui/yui-yui2.html
15 === 2.3 ===
17 Database layer changes:
18 * objects are not allowed in paramters of DML functions, use explicit casting to strings if necessary
20 Note:
21 * DDL and DML methods which were deprecated in 2.0 have now been removed, they will no longer produce
22 debug messages and will produce fatal errors
24 API changes:
26 * send_stored_file() has changed its interface
27 * deleted several resourcelib_embed_* functions from resourcelib.php
29 === 2.2 ===
31 removed unused libraries:
32 * odbc, base32, CodeSniffer, overlib, apd profiling, kses, Smarty, PEAR Console, swfobject, cssshover.htc, md5.js
34 API changes:
35 * new admin/tool plugin type
36 * new context API - old API is still available
37 * deleted users do not have context any more
38 * removed global search
41 === 2.1 ===
43 API changes:
44 * basic suport for restore from 1.9
45 * new mobile devices API
46 * new questions API
49 === 2.0 ===
51 API changes:
52 * new DML API - http://docs.moodle.org/dev/DML_functions
53 * new DDL API - http://docs.moodle.org/dev/DDL_functions
54 * new file API - http://docs.moodle.org/dev/File_API
55 * new $PAGE and $OUTPUT API
56 * new navigation API
57 * new theme API - http://docs.moodle.org/dev/Theme_changes_in_2.0
58 * new javascript API - http://docs.moodle.org/dev/JavaScript_usage_guide
59 * new portfolio API
60 * new local plugin type
61 * new translation support - http://lang.moodle.org
62 * new web service API
63 * new cohorts API
64 * new messaging API
65 * new rating API
66 * new comment API
67 * new sessions API
68 * new enrolment API
69 * new backup/restore API
70 * new blocks API
71 * new filters API
72 * improved plugin support (aka Frankenstyle)
73 * new registration and hub API
74 * new course completion API
75 * new plagiarism API
76 * changed blog API
77 * new text editor API
78 * new my moodle and profiles API