MDL-30070 message: Optimised search for users over multiple courses
[moodle.git] / filter / upgrade.txt
CommitLineData
dd3fafbd
EL
1This file describes API changes in core filter API and plugins,
2information provided here is intended especially for developers.
3
0662bd67
PS
4=== 2.5 ===
5
6* legacy_filter emulation was removed
7* support for 'mod/*' filters was removed
8* use short filter name instead of old path, ex.: 'filter/tex' ---> 'tex'
9 in all filter API functions and methods
10
d24f821e
EL
11=== 2.3 ===
12
13* new setup() method added to moodle_text_filter, invoked before
14 filtering happens, used to add all the requirements to the page
15 (js, css...) and/or other init tasks. See filter/glossary for
16 an example using the API (and MDL-32279 for its justification).
17
dd3fafbd
EL
18=== 2.2 ===
19
20* legacy filters and legacy locations have been deprecated, so any
21 old filter should be updated to use the new moodle_text_filter,
22 and any filter bundled under mod/xxxx directories be moved to
23 /filter/xxxx (MDL-29995). They will stop working completely in
24 Moodle 2.3 (MDL-29996). See the glossary or data filters for
25 examples of legacy module filters and locations already updated.