1.5.0 (2025-07-07)
Features Added
- Added the following types for 3rd-party Authentication support:
AuthenticationTokenProvider
,GetTokenOptions
,AuthenticationToken
,AuthenticationPolicy
, andBearerTokenPolicy
.
Breaking Changes
- Source Breaking Change: Updated
IJsonModel<T>.Create
andIPersistableModel<T>.Create
method return types fromT
toT?
to allow returningnull
when deserialization fails. This change only affects code with nullable reference types enabled.- For consumers calling these methods: To fix compilation errors, either:
- Use null-conditional operators (
?.
) when calling these methods, or - Add null-forgiving operators (
!
) if you're certain the result won't be null, or - Add explicit null checks before using the returned value
- Use null-conditional operators (
- For implementers of these interfaces: Update method signatures in your models to return
T?
instead ofT
, and decide whether to returnnull
or throw exceptions in error scenarios
- For consumers calling these methods: To fix compilation errors, either: