on-demand release 4.2dev+
[moodle.git] / group / upgrade.txt
blob9d25ad0d45e4aaede969250557f0d52ceaee8a0e
1 This files describes API changes in /group/*,
2 information provided here is intended especially for developers.
4 === 4.2 ===
5 * `\core_group\visibility` class added to support new `visibility` field in group records. This holds the visibility constants
6   and helper functions for applying visibility restrictions when querying groups or group members in the database.
7 * Changes to the group form to support visibility features:
8   - New `visibility` field.
9   - New `participation` field.
10   - `participation` and `enablemessaging` fields are disabled (default: false) when `visibility` is set
11     to `visibility::OWN` or `visibility::NONE`.
12 * The following externallib functions now accept `visibility` and `participation` as optional parameters:
13   - create_groups()
14   - update_groups()
15 * The following externallib functions now also return `visibility` and `participation` fields in their responses:
16   - create_groups()
17   - get_groups()
18   - get_course_groups()
20 === 3.11 ===
22 * The groups do not support 'hidepicture' any more, and so the column 'hidepicture'
23   from the table {groups} has be dropped.