System.ClientModel
Advanced tools
Sorry, the diff of this file is not supported yet
+16
-1
| # Release History | ||
| ## 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 | ||
| ## 1.5.0-beta.1 (2025-06-13) | ||
@@ -67,3 +82,3 @@ | ||
| - Added extensions to `System.Diagnostics.Activity` and `System.Diagnostics.ActivitySource` to simplify instrumentation of client libraries | ||
| - Added new overloads to `System.ClientModel.ModelReaderWriter` which take in a new | ||
| - Added new overloads to `System.ClientModel.ModelReaderWriter` which take in a new | ||
| [ModelReaderWriterContext](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/System.ClientModel/src/docs/ModelReaderWriterContext.md) | ||
@@ -70,0 +85,0 @@ which allows reading and writing of collections of `IPersistableModel<>`. In addition any calls to the new overloads are AOT compatible. |
@@ -5,3 +5,3 @@ <?xml version="1.0" encoding="utf-8"?> | ||
| <id>System.ClientModel</id> | ||
| <version>1.5.0-beta.1</version> | ||
| <version>1.5.0</version> | ||
| <authors>Microsoft</authors> | ||
@@ -13,7 +13,7 @@ <requireLicenseAcceptance>true</requireLicenseAcceptance> | ||
| <readme>README.md</readme> | ||
| <projectUrl>https://github.com/Azure/azure-sdk-for-net/blob/System.ClientModel_1.5.0-beta.1/sdk/core/System.ClientModel/README.md</projectUrl> | ||
| <projectUrl>https://github.com/Azure/azure-sdk-for-net/blob/System.ClientModel_1.5.0/sdk/core/System.ClientModel/README.md</projectUrl> | ||
| <description>Contains building blocks for clients that call cloud services.</description> | ||
| <releaseNotes>https://github.com/Azure/azure-sdk-for-net/blob/System.ClientModel_1.5.0-beta.1/sdk/core/System.ClientModel/CHANGELOG.md</releaseNotes> | ||
| <releaseNotes>https://github.com/Azure/azure-sdk-for-net/blob/System.ClientModel_1.5.0/sdk/core/System.ClientModel/CHANGELOG.md</releaseNotes> | ||
| <copyright>© Microsoft Corporation. All rights reserved.</copyright> | ||
| <repository type="git" url="https://github.com/Azure/azure-sdk-for-net" commit="91b4ee8d8e14cfff19c1d14932b409e5a2b97692" /> | ||
| <repository type="git" url="https://github.com/Azure/azure-sdk-for-net" commit="2073d9b1089b089f161dc2968e9afd7ebbe8553a" /> | ||
| <dependencies> | ||
@@ -20,0 +20,0 @@ <group targetFramework="net8.0"> |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display