Merge branch 'MDL-46477_m26' of https://github.com/shashirepo/moodle into MOODLE_26_S...
[moodle.git] / filter / upgrade.txt
blob8ece7688180085d1ac0712ece61fb07599ebebdb
1 This file describes API changes in core filter API and plugins,
2 information provided here is intended especially for developers.
4 === 2.6 ===
6 * filtersettings.php is now deprecated, migrate to standard settings.php
8 === 2.5 ===
10 * legacy_filter emulation was removed
11 * support for 'mod/*' filters was removed
12 * use short filter name instead of old path, ex.: 'filter/tex' ---> 'tex'
13   in all filter API functions and methods
15 === 2.3 ===
17 * new setup() method added to moodle_text_filter, invoked before
18   filtering happens, used to add all the requirements to the page
19   (js, css...) and/or other init tasks. See filter/glossary for
20   an example using the API (and MDL-32279 for its justification).
22 === 2.2 ===
24 * legacy filters and legacy locations have been deprecated, so any
25   old filter should be updated to use the new moodle_text_filter,
26   and any filter bundled under mod/xxxx directories be moved to
27   /filter/xxxx (MDL-29995). They will stop working completely in
28   Moodle 2.3 (MDL-29996). See the glossary or data filters for
29   examples of legacy module filters and locations already updated.