2.2 KiB
2.2 KiB
Changelog
0.2.0
Breaking changes, following the Rudder.Core 0.2.0 rework:
Ruddermoved into theRudderSdk.Unitynamespace.Rudderis now a thin facade:Client,State(RudderState),LastError,ReadyandInitialize(RudderConfiguration). The service shortcuts (Rudder.Auth,Rudder.Stores, ...) are gone — useRudder.Client.*.Rudder.Initialize(configuration)creates its own hidden GameObject when no scene component exists; statics reset on Enter Play Mode without domain reload, and realtime disconnects gracefully on quit.LiveOpsConfigurationrenamed toRudderConfiguration(Create > Rudder > Configuration), with tooltips, an empty-ProjectKey warning and a configurableTimeoutSeconds(default 10).- Core renames propagate:
client.Scenarios→client.Scenario,BattlepassService→BattlePassService,SendAsync→TriggerAsync,LoginViaDeviceAsync→LoginWithDeviceAsync(region, language, nickname?),StoresService.BuyAsync→PurchaseAsync(slug, offerId, idempotencyKey?). - Scenario events reduced to the canonical set (
OnNotification,OnStoreOffer,OnLeaderboard,OnConfigChanged,OnWait,OnQuest,OnBattlePass,OnBattlePassLevel,OnScenarioCompleted,OnScenarioFailed); legacy events and*Sessionrenames applied. - Transport errors are now
RudderApiExceptionsubclasses (RudderAuthException,RudderNotFoundException,RudderRateLimitException,RudderNetworkException); the bareExceptionin the upload transport and the stringly"network"/"http_error"codes are gone. UnityWebRequestExecutor/UnityUploadTransportwait viaUnityWebRequestAsyncOperation.completedinstead of busy-polling and apply a configurableUnityWebRequest.timeout.IRudderLoggernow reports aRudderLogLevel;IUnityLoggerSinkmirrors it andUnityDebugLoggerSinkmaps levels toDebug.Log*.- Bundled plugins slimmed down: only
Rudder.Core.dllships. Newtonsoft.Json comes fromcom.unity.nuget.newtonsoft-json;Tiny-JSON.dlland theSystem.*facades were removed.
0.1.0
Initial UPM package: Rudder.Core wrapper with UnityWebRequest transport, PlayerPrefs storage, websocket realtime and the Cozy Collector demo.