Changelog
Release notes of OnlineSim.Api.
The full history is in CHANGELOG.md.
1.0.1
- Fixed decoding against the current API:
RentSms.Code0fornotifySMS,Profile.Number/Countryswapped types, optionalOperation.Response, nullable free-list and payment fields;PaymentHistory.Paylistis kept when it arrives as a list. WaitCodeAsyncretriesTRY_AGAIN_LATER(rate limit),ERROR_UNDEFINEDandINTERVAL_CONCURRENT_REQUESTS_ERROR.MockOnlineSimfollows the backend more closely: rent reservation and confirmation,setOperationReviseandcloseRentNumanswers, missing vs wrong key — see Testing.
1.0.0
First release of the .NET SDK, on the same contract as the other OnlineSim SDKs (JS 2.1.0, PHP, Python, Go, Rust, Java, Ruby).
OnlineSimClientwithNumbers,Rent,UserandFreesections; async methods withCancellationToken;netstandard2.0andnet8.0(.NET Framework 4.6.2+, .NET 6+, Unity/Mono).- The key is sent as a Bearer header, never in the URL; injectable
ITransport(your ownHttpClient). - Typed exceptions:
ApiException,NoNumberException,TransportException,WaitTimeoutException. Numbers.WaitCodeAsync: interval and timeout asTimeSpan,KeepOpen,Since, retries network errors, injectable delay and clock.Webhook.Parsefor inbound webhooks; webhook URL set / clear / logs.MockOnlineSim: an offline fake of the API for your tests — see Testing.