Navigation

API (.NET) SDK changelog

The server-side SDK for .NET, published as Rupt.Api on NuGet.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[1.2.0] - 2026-09-10

Added

  • EvaluateAsync, with EvaluateRequest and ContentInput.
  • Evaluation.Content and Evaluation.Review.

[1.1.0] - 2026-09-09

Added

  • SuspendUserAsync and UnsuspendUserAsync. Suspending sets the flag the is_suspended policy condition reads, the same one the suspend verdict sets, so pair it with a policy that denies on that condition. Both return the user and throw a RuptApiException with status 404 when the user doesn't exist in your secret's environment.
  • AddToListAsync and RemoveFromListAsync to manage the lists your policies match on from your backend. Pass the list id from its dashboard URL and one to 500 values. AddToListRequest takes an optional Comment and TtlSeconds. Both return counts (AddToListResult, RemoveFromListResult).
  • User.Suspended, so every user embedded in an evaluation or challenge tells you whether the account is suspended.

[1.0.1] - 2026-07-27

Upgrade from 1.0.0 if you read evaluations at all. Breaking type changes in a patch release, which isn't how we like to do it, and we're sorry for the odd bump. The old properties described a response the API had already stopped sending, and one of them broke deserialization outright. We checked with every customer on the SDK before shipping and none of them read Category or RiskSummary.

Fixed

  • GetEvaluationAsync and ConsumeEvaluationAsync threw a JsonException on any evaluation that had risks. EvaluationRisk.Category was a required property and the API stopped sending category.

Changed

  • EvaluationRisk now has Id, Definition, and Name in place of Category, matching the API. Branch on Definition, the id of the risk definition the risk was raised against. Name is a display label and can be renamed in the dashboard.

Removed

  • Evaluation.RiskSummary and the RiskSummaryEntry record. The API no longer returns risk_summary, and it repeated risks one for one.

[1.0.0] - 2026-07-15

Added

  • Initial release, targeting the Rupt V3 API on .NET 10 with zero dependencies.
  • GetEvaluationAsync and ConsumeEvaluationAsync to confirm evaluations server-side. Consuming is single-use: a replayed evaluation returns a 409.
  • GetChallengeAsync to retrieve a challenge and its status.
  • GetUserDevicesAsync to list a user's devices.
  • UpdateUserAsync for partial updates to email, phone, metadata, and groups.
  • Automatic retries with exponential backoff on network errors and 5xx responses, plus typed exceptions: RuptApiException, RuptNetworkException, and RuptTimeoutException.
  • CancellationToken support on every method and an optional injected HttpClient for IHttpClientFactory setups.
  • Configurable Domain, Timeout, Retries, and MaxRetryDelay.