github Azure/azure-sdk-for-net System.ClientModel_1.5.0

latest releases: Azure.Search.Documents_11.7.0-beta.7, Azure.AI.Agents.Persistent_1.2.0-beta.4, Azure.Provisioning.Kusto_1.0.0-beta.1...
2 months ago

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

Don't miss a new azure-sdk-for-net release

NewReleases is sending notifications on new releases.