saravanakumardb1
|
1beb6ae7ed
|
fix(kotlin-sdk): add /api prefix to all API paths for consistency
Normalize Kotlin SDK API paths to match Swift SDK and TypeScript SDK convention:
- BLAuthClient: /auth/* → /api/auth/*
- BLBlobClient: /blob/sas → /api/blob/sas
- BLCrashReporter: /telemetry/events → /api/telemetry/events
- BLFeatureFlagClient: /flags/poll → /api/flags/poll
- BLKillSwitchClient: /flags/kill-switch → /api/flags/kill-switch
- BLLicenseClient: /licenses/* → /api/licenses/*
- BLTelemetryClient: /telemetry/events → /api/telemetry/events
All SDKs now consistently include /api prefix in paths, with baseUrl
configured as http://host:port/api. Fixes incompatibility introduced
in recent path normalization (commit 78b942a).
|
2026-03-02 09:16:12 -08:00 |
|
saravanakumardb1
|
053190d660
|
fix(kotlin-sdk): add missing /api prefix to flags, kill-switch, and telemetry routes
|
2026-03-02 09:15:03 -08:00 |
|
saravanakumardb1
|
f953c2b0bc
|
fix(kotlin-sdk): thread-safety, resource leaks, URL encoding, JSON safety, deprecated API
- BLTelemetryClient/BLAuditLogger/BLCrashReporter: @Synchronized isoNow() for SimpleDateFormat thread-safety
- BLCrashReporter: replace unsafe JSON string interpolation with buildJsonObject + JsonArray
- BLBlobClient: close OkHttp Response body with .use {} to prevent resource leak
- BLFeatureFlagClient/BLKillSwitchClient: URL-encode query parameter values
- build.gradle.kts: kotlinOptions {} -> compilerOptions {} (Kotlin 2.1 convention)
|
2026-03-01 21:17:27 -08:00 |
|
saravanakumardb1
|
70703a5009
|
test(kotlin-sdk): add JUnit5 + MockWebServer tests for PlatformConfig, PlatformClient, FeatureFlag, KillSwitch, License (35 tests)
|
2026-03-01 20:36:58 -08:00 |
|
saravanakumardb1
|
91c48a7bc7
|
feat(sdk): add kotlin-platform-sdk (13 components) + 4 new TS client packages (32 tests)
|
2026-03-01 18:15:57 -08:00 |
|