Repository navigation
Releases: castle/castle-dotnet
Releases · castle/castle-dotnet
Release list
Release v3.0.0
3.0.0 (2026-09-08)
Features:
- Add Lists API:
CreateList,GetAllLists,GetList,UpdateList,DeleteList,QueryLists. - Add List items API:
CreateListItem,GetListItem,UpdateListItem,QueryListItems,CountListItems,ArchiveListItem,UnarchiveListItem,CreateBatchListItems. - Add Privacy API:
RequestUserData,DeleteUserData(POST/DELETE /v1/privacy/users). - Add Events API (enterprise):
EventsSchema,QueryEvents,GroupEvents. - Add webhook signature verification:
Castle.Webhook.Verify(body, signature)andCastle.Webhook.Verify(body, signature, apiSecret), validating theX-Castle-Signatureheader (HMAC-SHA256, Base64). AddsCastleWebhookVerificationException. - Add
CastlePaymentRequiredExceptionfor HTTP 402. - Add
ActionRequest.Expandfor the expanded Event response. - Add typed expanded Event fields on
RiskResponse(id,name,type,status,created_at,authenticated,endpoint,email,ip,user,metrics).
Maintenance:
- Target
net10.0,net8.0,netstandard2.0andnet48; drop thenet461andnetcoreapp3.1build configurations. - Remove the
Sentrydependency; runtime/platform information is now resolved viaSystem.Runtime.InteropServices.RuntimeInformation. - Bump
Newtonsoft.Jsonto13.0.4. - Build, test (across all target frameworks, including
net48) and pack on GitHub Actions (checkout/setup-dotnetv5); add an.editorconfig. - Bump test packages within the same major:
xunit2.9.3,NSubstitute5.3.0,FluentAssertions6.12.2,Microsoft.NET.Test.Sdk17.14.1,coverlet.msbuild6.0.4.
BREAKING CHANGES:
- Remove the legacy
AuthenticateandTrackendpoints (CastleClient.Authenticate/Trackand the matchingBuild*Request/Send*Requestmethods) and theVerdictresponse. UseRisk,FilterandLoginstead. - Remove device-management endpoints:
GetDevice,GetDevicesForUser,ApproveDevice,ReportDevice,ArchiveDevices(and theDevice,DeviceListandUserresponse models). - Remove impersonation endpoints:
ImpersonateStart,ImpersonateEnd(and theImpersonateStartRequest/ImpersonateEndRequestmodels). - Remove client-id extraction:
Context.FromHttpRequestno longer reads theX-Castle-Client-IDheader or__cidcookie, andRequestContext.ClientIdandDeviceItem.IsCurrentDeviceare removed. The default request context isheaders,ipandlibrary.
Release v2.3.0
2.3.0 (2026-04-02)
Added scores property to RiskResponse, exposing individual score breakdowns (e.g. account_abuse, account_takeover, bot) from the Risk API
Release v2.2.0
Added support for skip_request_token_validation and skip_context_validation options,
Added .net8 support
Release v2.1.0
Better error handling, removed X-Castle-* headers from allowlist, added policy to the failover for risk and filter
Release v2.0.2
Added device fingerprint to risk/filter response
Release v2.0.1
Enhancement
Added support for name property
Release v2.0.0
Features:
- #56 Support for Log action
BREAKING CHANGES:
- #57 Dropped Events list - please use recognized events instead
Release v1.6.0
Features:
- #54 Add
RiskandFilteractions, updated default headers list, project maintenance updates