Files
rudder-unity-sdk/Packages/rudder.sdk/CHANGELOG.md
T
edmand46 695a7210b1
CI / check (push) Successful in 6s
CI / publish (push) Failing after 11s
0.3.0: sync Rudder.Core 0.3.0, prod default URLs, drop editor artifacts, CI publish
2026-08-19 17:49:00 +03:00

58 lines
2.9 KiB
Markdown

# Changelog
## 0.3.0
Breaking changes, following the Rudder.Core 0.3.0 rework:
- Bundled `Rudder.Core.dll` updated to 0.3.0: the UGC surface is gone
(`client.Ugc`, `IUploadTransport`, `RudderClientOptions.UploadTransport`),
`BattlePassService` methods now take scenario context, `BattlePassSession`
exposes bound battle pass operations, and `BattlePassLevelSession.Complete`
was renamed to `Claim`.
- `UnityUploadTransport` removed together with the core `IUploadTransport`
abstraction; the factory no longer wires an upload transport.
- `RudderConfiguration` defaults now point at production
(`https://api.rudder.build`); `RealtimeUrl` follows the prod `wss://`
pattern but the relay is not deployed yet.
## 0.2.0
Breaking changes, following the Rudder.Core 0.2.0 rework:
- `Rudder` moved into the `RudderSdk.Unity` namespace.
- `Rudder` is now a thin facade: `Client`, `State` (`RudderState`),
`LastError`, `Ready` and `Initialize(RudderConfiguration)`. The service
shortcuts (`Rudder.Auth`, `Rudder.Stores`, ...) are gone — use
`Rudder.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.
- `LiveOpsConfiguration` renamed to `RudderConfiguration`
(`Create > Rudder > Configuration`), with tooltips, an empty-ProjectKey
warning and a configurable `TimeoutSeconds` (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 `*Session` renames applied.
- Transport errors are now `RudderApiException` subclasses
(`RudderAuthException`, `RudderNotFoundException`, `RudderRateLimitException`,
`RudderNetworkException`); the bare `Exception` in the upload transport and
the stringly `"network"` / `"http_error"` codes are gone.
- `UnityWebRequestExecutor` / `UnityUploadTransport` wait via
`UnityWebRequestAsyncOperation.completed` instead of busy-polling and apply
a configurable `UnityWebRequest.timeout`.
- `IRudderLogger` now reports a `RudderLogLevel`; `IUnityLoggerSink` mirrors
it and `UnityDebugLoggerSink` maps levels to `Debug.Log*`.
- Bundled plugins slimmed down: only `Rudder.Core.dll` ships. Newtonsoft.Json
comes from `com.unity.nuget.newtonsoft-json`; `Tiny-JSON.dll` and the
`System.*` facades were removed.
## 0.1.0
Initial UPM package: Rudder.Core wrapper with UnityWebRequest transport,
PlayerPrefs storage, websocket realtime and the Cozy Collector demo.