Skip to content

System.ClientModel_1.5.0

Compare
Choose a tag to compare
@azure-sdk azure-sdk released this 07 Jul 22:00
2073d9b

1.5.0 (2025-07-07)

Features Added

  • Added the following types for 3rd-party Authentication support: AuthenticationTokenProvider, GetTokenOptions, AuthenticationToken, AuthenticationPolicy, and BearerTokenPolicy.

Breaking Changes

  • Source Breaking Change: Updated IJsonModel<T>.Create and IPersistableModel<T>.Create method return types from T to T? to allow returning null 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
    • For implementers of these interfaces: Update method signatures in your models to return T? instead of T, and decide whether to return null or throw exceptions in error scenarios