Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
This files describes API changes in the lti code.
2
 
3
=== 4.3 ===
4
 
5
* The `lti_libxml_disable_entity_loader` method is deprecated, as it is no longer required from PHP 8.0
6
* The `mod_lti_mod_form` constructor will now throw an exception if called without passing a typeid as manual configuration of
7
  instances is now unsupported.
8
* The `lti_get_lti_types_by_course` method is deprecated. Please use mod_lti\local\types_helper::get_lti_types_by_course instead.
9
* The capability `mod/lti:addmanualinstance` is now deprecated. Since manual instance creation is no longer supported, there is no
10
  substitute for this capability.
11
 
12
=== 4.2 ===
13
 
14
* get_jwt_claim_mappings() function has been added to service_base class. It allows a service subplugin to be
15
  compatible with LTI 1.3 by exposing its 1.1 custom parameters to LTI 1.3 claim mapping.
16
* The `serialise_tool_proxy` method, deprecated since 3.10, has been removed and can no longer be used
17
 
18
=== 4.1 ===
19
 
20
* The callback get_shortcuts() is now removed. Please use get_course_content_items and get_all_content_items instead.
21
* Services can now implement the override_endpoint function to replace the launch url and/or the custom parameters.
22
 
23
=== 3.10 ===
24
 
25
* Select Content supports multiple, allowing a tool to return more than one link at a time.
26
  Parameter multiple in function lti_build_content_item_selection_request() is now set to true.
27
* Deprecated unused function after external function, 'get_tool_proxies()', was refactored:
28
    - serialise_tool_proxy()
29
 
30
=== 3.8 ===
31
 
32
* The following functions have been finally deprecated and can not be used anymore:
33
    * lti_scale_used()
34
 
35
=== 3.7 ===
36
 
37
* Deprecated functions to add support for LTI 1 tools to access services:
38
    - mod_lti\local\ltiservice\service_base->check_tool_proxy()
39
    - mod_lti\local\ltiservice\service_base->check_type()
40
    - mod_lti\local\ltiservice\resource_base->check_tool_proxy()
41
    - mod_lti\local\ltiservice\resource_base->check_type()
42
    - mod_lti_edit_types_form->get_lti_advantage_services()
43
  replaced by:
44
    - mod_lti\local\ltiservice\service_base->check_tool()
45
    - mod_lti\local\ltiservice\resource_base->check_tool()
46
    - mod_lti_edit_types_form->get_lti_services()
47
* Deprecated unused function:
48
    - mod_lti\local\ltiservice\service_base->get_configuration_parameter_names()
49
* Deprecated functions to simplify implementation of LTI scopes for accessing services:
50
    - mod_lti\local\ltiservice\resource_base->get_permissions()
51
    - ltiservice_gradebookservices\local\resources\lineitem\get_permissions()
52
    - ltiservice_gradebookservices\local\resources\lineitems\get_permissions()
53
    - ltiservice_gradebookservices\local\resources\results\get_permissions()
54
    - ltiservice_gradebookservices\local\resources\scores\get_permissions()
55
    - ltiservice_memberships\local\resources\contextmemberships\get_permissions()
56
    replaced by:
57
    - mod_lti\local\ltiservice\service_base->get_permitted_scopes()
58
    - ltiservice_gradebookservices\local\service\gradebookservices->get_permitted_scopes()
59
    - ltiservice_memberships\local\service\memberships\->get_permitted_scopes()
60
* Deprecated function to remove definition as static:
61
    - ltiservice_memberships\local\service\memberships\get_users_json()
62
    replaced by:
63
    - ltiservice_memberships\local\service\memberships\get_members_json()
64
 
65
=== 3.4 ===
66
 
67
* The following functions, previously used (exclusively) by upgrade steps are not available
68
  anymore because of the upgrade cleanup performed for this version. See MDL-57432 for more info:
69
    - mod_lti_upgrade_custom_separator()
70
 
71
=== 3.2 ===
72
 
73
* Support for LTI ContentItem message type.
74
* New function lti_build_content_item_selection_request() for building an LTI ContentItemSelectionRequest.
75
* New Select content button in External tool configuration page that lets the user configure an external tool by fetching tool
76
  configuration content from the preconfigured tool's content selection interface.
77
 
78
=== 3.1 ===
79
 
80
* When requesting a grade from the outcome service, and empty grade will now be returned as
81
  an empty grade in accordance with the spec. Previously a grade of 0 would be returned.
82
 
83
=== 3.0 ===
84
 
85
* Function lti_view (locallib.php) was renamed to lti_launch_tool.
86
  A new and different lti_view function was created in the module lib.php containing the code
87
  for launching events and update the completion status for the module.
88
 
89
 
90
=== 2.8 ===
91
 
92
* Support for LTI 2 added, including extensible services implemented as ltiservice plugins.
93
* Function sendOAuthBodyPOST removed from OAuthBody.php because it was not being used.
94
* The field 'grade' in the table {lti} is now an integer rather than a numeric to bring it
95
  in line with the 'grade' field in other activities.
96
 
97
=== 2.7 ===
98
 
99
* mod_lti\event\unknown_service_api_called now has less data stored in 'other'
100
  but everything is still available for event observers via method get_message_data()