moodle/mod/lti/upgrade.txt
Eloy Lafuente (stronk7) f83d212bcf MDL-57432 upgrade: remove unused functions/settings from upgradelib
All these functions were used only by deleted upgrade steps
so it's safe to proceed with straight deletion, considering
them internal. Deletion has been documented in corresponding
upgrade.txt files:

- upgrade_mimetypes()
- upgrade_fix_missing_root_folders_draft()
- upgrade_minmaxgrade() and upgrade_minmaxgradestepignored setting
- upgrade_course_tags()
- atto_equation_update_librarygroup4_setting()
- mod_lti_upgrade_custom_separator()

These have been kept because continue being used by restore:

- upgrade_group_members_only()
- upgrade_extra_credit_weightoverride()
- upgrade_calculated_grade_items()
2017-07-10 09:18:56 +01:00

39 lines
1.6 KiB
Plaintext

This files describes API changes in the lti code.
=== 3.4 ===
* The following functions, previously used (exclusively) by upgrade steps are not available
anymore because of the upgrade cleanup performed for this version. See MDL-57432 for more info:
- mod_lti_upgrade_custom_separator()
=== 3.2 ===
* Support for LTI ContentItem message type.
* New function lti_build_content_item_selection_request() for building an LTI ContentItemSelectionRequest.
* New Select content button in External tool configuration page that lets the user configure an external tool by fetching tool
configuration content from the preconfigured tool's content selection interface.
=== 3.1 ===
* When requesting a grade from the outcome service, and empty grade will now be returned as
an empty grade in accordance with the spec. Previously a grade of 0 would be returned.
=== 3.0 ===
* Function lti_view (locallib.php) was renamed to lti_launch_tool.
A new and different lti_view function was created in the module lib.php containing the code for launching events and update the completion status for the module.
=== 2.8 ===
* Support for LTI 2 added, including extensible services implemented as ltiservice plugins.
* Function sendOAuthBodyPOST removed from OAuthBody.php because it was not being used.
* The field 'grade' in the table {lti} is now an integer rather than a numeric to bring it
in line with the 'grade' field in other activities.
=== 2.7 ===
* mod_lti\event\unknown_service_api_called now has less data stored in 'other'
but everything is still available for event observers via method get_message_data()