Releases: rwth-acis/i5-Toolkit-for-Unity
Releases · rwth-acis/i5-Toolkit-for-Unity
1.9.5 (2024-10-19)
1.9.4 (2024-10-10)
1.9.3 (2024-09-01)
1.9.2 (2024-01-16)
Changed
- Updated the soft dependency of the xAPI module to com.unity.nuget.newtonsoft-json instead of the jilleJr package. Advanced mode of the xAPI module will now be activated if com.unity.nuget.newtonsoft-json is installed.
Fixed
- Fixed an error in simple mode of the xAPI module where sent statements were rejected due to an incorrect serialization of the type field.
1.9.1 (2023-10-22)
1.9.0 (2023-02-13)
Added
- Added Google as an OpenID Connect login provider.
- Added a VerboseLogging system:
Generating log messages through this system means that they can be filtered based on importance.
The verbosity level, so the strictness of the filtering, can be changed at runtime.
Changed
- Refactored the implementation of OpenID Connect providers:
All providers now share a base implementation so that new providers can be added quicker and without needing to duplicate code. - OpenID Connect providers can now fetch the endpoints for the login functionality automatically based on the server's discovery document.
New providers have to specify the base URL of the server and all other endpoints are fetched. - The i5 Toolkit's WebRequest implementation is now setting a Content-Type header in the Put and Post requests.
- The i5 Toolkit's WebRequest implementation for Delete requests now creates a download handler so that the server's response can be read.
Update Guide
- We have refactored the OpenID Connect implementation, so the following measures are necessary:
- If you have implemented custom providers, make sure that they are now derived from the
AbstractOIDCProvider
base class.
This also means that it is usually not necessary anymore to re-implement the methods.
For most OpenID Connect providers, it suffices to provide the base URL of the server in the constructor for the new provider and the implementation will automatically find the endpoints using the OpenID Connect server's discovery document. - Similarly, the provider-specific user info and authorization info response formats need to be derived from
AbstractUserInfo
andAbstractAuthorizationFlowAnswer
. - Replace all calls to the
OpenIDConnectService
's methodOpenLoginPage()
withOpenLoginPageAsync()
.
You can use the async-await module from thei5.Toolkit.Core.Utilities
namespace to await the call.
- If you have implemented custom providers, make sure that they are now derived from the
1.8.1 (2022-06-15)
Changed
- Updated URLs for Learning Layers login provider
- Rocket.Chat login method now returns a WebResponse with the parsed response to help developers differentiate between network errors and login errors
Fixed
- WebResponse objects of unsuccessful requests to the Rocket.Chat client now return the correct error messages instead of empty strings