Repository navigation
v0.3.0
Pre-release
Pre-release
Pre-release. SDKs and integration guide: README.
What's in 0.3.0
Breaking change for plugins that use the version reports: the Commando Center support from 0.1.0 moved out of the SDK.
Removed
- Version reports, the reporting setting and the ping endpoint (
InstallationReporter,ReporterState/reporterState,ReporterResult,ReporterOptions,ReportEvent,NameVersion,reportsEnabled,pingResponse/PingResponse, the report URL, timeout and backoff constants) in all five SDKs, withspec/commando/and the reporter parts ofspec/reporting.json. They are now Supertext Plugin Health, which lives next to the center in the Commando Center repository (Supertext/Commando-Center-Supertext-Translation,plugin-health/), so the protocol, the center and the client change together. Plugins vendor Plugin Health like the SDK and pass the SDK's key check in as its key checker:checkApiKey()plusapiKeyFingerprint()(TypeScript; PHPClient::checkApiKey()andProtocol::apiKeyFingerprint(), Pythoncheck_api_key()andapi_key_fingerprint(), .NETCheckApiKeyAsync()andApiKeyCheck.FingerprintOf(), JavacheckApiKey()andApiKeyCheck.fingerprint()), and the SDK version constant assdkVersion. The reporter state plugins have stored stays valid: Plugin Health reads the same JSON, so no newinstalledreport.
Changed
- The API key check stays in the SDK, unchanged (
checkApiKey(),ApiKeyCheckwithstatus,checkedAt,httpStatus,errorCode,fingerprint, the fingerprint function,SDK_VERSION). Its vectors moved fromspec/reporting.jsontospec/api-key-check.json. - .NET: the key check's timeout is
ApiKeyCheck.Timeout(wasReporting.KeyCheckTimeout); Java:ApiKeyCheck.TIMEOUT(wasReporting.KEY_CHECK_TIMEOUT).