diff --git a/enrol/upgrade.txt b/enrol/upgrade.txt index bd321bd42867a..40f9682d81e76 100644 --- a/enrol/upgrade.txt +++ b/enrol/upgrade.txt @@ -1,6 +1,16 @@ This files describes API changes in /enrol/* - plugins, information provided here is intended especially for developers. +=== 2.9 === + +* External function core_enrol_external::get_users_courses now returns additional optional fields: + - summary: Course summary. + - summaryformat: Course summary format. + - format: Course format. + - showgrades: True if grades are shown, otherwise false. + - lang: Forced course language. + - enablecompletion: Control or not via completion and activity settings. + === 2.8 === * enrol_plugin::instance_deleteable() is deprecated and has been replaced by enrol_plugin::can_delete_instance() diff --git a/files/upgrade.txt b/files/upgrade.txt new file mode 100644 index 0000000000000..e07467b81a1c4 --- /dev/null +++ b/files/upgrade.txt @@ -0,0 +1,11 @@ +This files describes API changes in /files/*, +information provided here is intended especially for developers. + +=== 2.9 === + + * External function core_files_external::get_files returns additional optional fields: + - timecreated: Time created. + - filesize: File size. + - author: File owner. + - license: File license. + diff --git a/lib/upgrade.txt b/lib/upgrade.txt index 93dbd8cdac86a..65d9ade973e9c 100644 --- a/lib/upgrade.txt +++ b/lib/upgrade.txt @@ -17,7 +17,6 @@ information provided here is intended especially for developers. * For 3rd party plugin specific environment.xml files, it's now possible to specify version independent checks by using the tag instead of the version dependent one. If the PLUGIN tag is used any Moodle specific tags will be ignored. -* External function core_files_get_files returns additional fields (timecreated, filesize, author, license) * html_table: new API for adding captions to tables (new field, $table->caption) and subsequently hiding said captions from sighted users using accesshide (enabled using $table->captionhide). * The authorization procedure in the mdeploy.php script has been improved. The script now relies on the main config.php when deploying an available update. diff --git a/mod/assign/upgrade.txt b/mod/assign/upgrade.txt index 5ed8bee13750c..41e2235478da4 100644 --- a/mod/assign/upgrade.txt +++ b/mod/assign/upgrade.txt @@ -1,6 +1,10 @@ This files describes API changes in the assign code. === 2.9 === * External parameter now returns PARAM_RAW instead of PARAM_TEXT for webservices using feedback comments. +* External function mod_assign_external::get_assignments now returns additional optional fields: + - intro: Assignment intro. + - introformat: Intro format. + - introattachments: Intro attachments files. === 2.8 === * Some DB changes were made to simplify the SQL required to query the latest attempt. diff --git a/webservice/upgrade.txt b/webservice/upgrade.txt index a7646c2e6dd90..6e457ce5b1c74 100644 --- a/webservice/upgrade.txt +++ b/webservice/upgrade.txt @@ -42,6 +42,12 @@ This information is intended for authors of webservices, not people writing webs - core_user_get_users_by_id - moodle_webservice_get_siteinfo +* External function core_webservice_external::get_site_info now returns additional optional fields: + - advancedfeatures: Array listing Moodle advanced features and if enabled or not. + - usercanmanageownfiles: Whether the my files option is disabled. + - userquota: User storage quota. + - usermaxuploadfilesize: Files upload size limit. + === 2.7 ===