Repository navigation
v0.2.0
The first release without a preview suffix. It adds Unity WebGL support through a new Unity package; the public API of the NuGet packages is unchanged. The LRS still passes both ADL conformance batteries in full on SQLite and PostgreSQL (xAPI 2.0.0: 1435 of 1435, 1.0.3: 1365 of 1365), the solution has about 5,300 tests, and the 11 Unity tests pass in the editor, in a Linux IL2CPP player and, locally, in WebGL.
Added
samples/LrsHostand thexapi-lrsimage:LrsHost:AllowedOrigins(LrsHost__AllowedOriginsin Docker) turns on CORS for the listed origins, so xAPI content in a browser on another origin can use the LRS. It is off by default.tests/Unity: Unity 6.3 tests ofXapi.Core,Xapi.ClientandXapi.Client.Outbox, installed with NuGetForUnity, that run in the editor, in IL2CPP players and in WebGL; CI runs them on Linux against the packages packed from the commit, andtests/Unity/WebGLruns a WebGL build in headless Chromium. See docs/unity.md.- A Unity package,
io.github.nurullahturkoglu.xapi.unityinsrc/Xapi.Unity, installed from git:UnityWebRequestHandler, anHttpMessageHandlerthat sends requests withUnityWebRequest, soXapiClientworks in WebGL players, whereHttpClient's default handler sends nothing.
Fixed
FileOutboxStore.OpenAsyncnever completed in Unity WebGL players when the store already had a journal, because the netstandard2.0 build read it with asynchronous file I/O, which needs the thread pool. That build now reads the journal synchronously; the net10.0 build is unchanged.