Skip to content

Latest commit

 

History

History
92 lines (52 loc) · 4.52 KB

CHANGELOG.md

File metadata and controls

92 lines (52 loc) · 4.52 KB

5.1.7

Add AssignmentGradesService::updateLineitem() to update a line item #58.

5.1.0

Add AssignmentGradesService::getLineItem() to fetch a single line item #47.

5.0.0

Implemented several changes to comply with (OpenID Connect Core)[https://openid.net/specs/openid-connect-core-1_0.html]. Nonce validation changed such that it now verifies that the nonce and state associated with an LTI Message Launch request matches the state associated with the nonce and state created during the OIDC login request.

  • Implement cryptographically secure methods for generating cookies and nonces for OIDC login requests.
  • Fix an issue with nonce validation not checking against the value in the Authentication Request.
  • Add stricter typing to ICache and ICookie.
  • Rename the ICache::getNonce() method to ICache::checkNonceIsValid().
  • Improve how line items are fetched and created when putting a grade to a line item. (#44)

4.1.3

Updated the ImsCache to properly retrieve the nonce and request body. (#40)

4.1.2

Fixed a typing error when the response body of a request is null. (#39)

4.1.1

  • Updated LtiMessageLaunch to fetch JWKs via an HTTP client instead of file_get_contents(). (#38)
  • Added new methods to ILtiServiceConnector: makeRequest(), getRequestBody(). (#38)

4.1.0

  • Allowed getGrades() to be called without a line item. (#34)
  • Fixed fetching of line items and eliminated a PHP warning for missing key. (#35)
  • Included the resourceLinkId attribute when creating a line item. (#36)

4.0.0

  • Added a new method to ILtiServiceConnector: setDebuggingMode(). (#32)

3.0.3

  • Added response/request logging to LtiServiceConnector. (#31)

Note: Upgrade to 4.0.0 for this logging to be disabled by default.

3.0.2

  • Fixed grades with a score of 0 not being synced. (#30)

3.0.1

  • Fixed a few minor errors related to array indexes. (#27, #28, #29)
  • Increased test coverage on the LtiMessageLaunch. (#28)

3.0.0

  • Added a new method to ICache: clearAccessToken().
  • Modified the constructor arguments for LtiServiceConnector, LtiAssignmentGradesService, LtiCourseGroupsService, and LtiNamesRolesProvisioningService.

2.0.3

  • Made an optimization to the logic added in 2.0.2. (#19)

2.0.2

  • Fixed pagination of lineitems in the LtiAssignmentGradesService and makes it possible to get all lineitems with a single function call. (#17)

2.0.1

  • Fixed a bug in the LtiServiceConnector that was causing double-encoded JSON to be sent in POST bodies, introduced in 2.0.0. (#15)

2.0.0

  • A standard naming convention was implemented for all interfaces.
  • Added two new methods to ICache: cacheAccessToken() and getAccessToken().
  • Optimized how the LtiServiceConnector caches access tokens to reduce the likelihood of being rate limited by Canvas.

For upgrading from 1.0 to 2.0, view the Upgrade Guide

1.1.1

  • Added a text parameter to LtiDeepLinkResource (#5)

1.1.0

  • Added a custom Canvas extension to LtiGrade (#3)

1.0.0