Merge branch 'MDL-38731-23' of git://github.com/danpoltawski/moodle into MOODLE_23_STABLE
[moodle.git] / filter / upgrade.txt
blobcf94aced19e7ba2e9e1264ef9e2341fc610e5e07
1 This file describes API changes in core filter API and plugins,
2 information provided here is intended especially for developers.
4 === 2.3 ===
6 * new setup() method added to moodle_text_filter, invoked before
7   filtering happens, used to add all the requirements to the page
8   (js, css...) and/or other init tasks. See filter/glossary for
9   an example using the API (and MDL-32279 for its justification).
11 === 2.2 ===
13 * legacy filters and legacy locations have been deprecated, so any
14   old filter should be updated to use the new moodle_text_filter,
15   and any filter bundled under mod/xxxx directories be moved to
16   /filter/xxxx (MDL-29995). They will stop working completely in
17   Moodle 2.3 (MDL-29996). See the glossary or data filters for
18   examples of legacy module filters and locations already updated.