MDL-63806 glossary: Return user permissions for entries in WS
[moodle.git] / mod / glossary / upgrade.txt
CommitLineData
0181759e
AN
1This files describes API changes in /mod/glossary/*,
2information provided here is intended especially for developers.
3
e8496407
JL
4=== 3.10 ===
5* External function get_entries_by_id now returns and additional "permissions" field indicating the user permissions for managing
6 the entry.
7
c0375ba7
AA
8=== 3.8 ===
9* The following functions have been finally deprecated and can not be used anymore:
10 * glossary_scale_used()
11
6c344ff2
JL
12=== 3.7 ===
13* External functions get_entries_by_* and get_entry now return an additional field "tags" containing the entry tags.
14
84c50d1c
JL
15=== 3.4 ===
16 * External functions returning entries now return an additional field "ratinginfo" containing the entry rating information.
17
14590070
JL
18=== 3.2 ===
19* External functions that were returning file information now return the following file fields:
20 filename, filepath, mimetype, filesize, timemodified and fileurl.
21 Those fields are now marked as VALUE_OPTIONAL for backwards compatibility.
22
0181759e
AN
23=== 2.8 ===
24* The glossary_print_entry_attachment function no longer takes an `align`
25 or `insidetable` property. Instead the attachments are printed within a
26 div whose class is `attachments` and which can be targetted using
27 appropriate CSS rules.
28* The glossary_print_entry_attachment function now displays the attachments
29 on the left by default.