diff --git a/CHANGELOG.md b/CHANGELOG.md index 4072793..59ca3f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +## [1.0.0-preview.5] - 2022-12-12 + +### Changed + +- Updates abstractions reference to add support for multi-valued headers. + ## [1.0.0-preview.4] - 2022-09-19 ### Added diff --git a/Microsoft.Kiota.Authentication.Azure.Tests/AzureIdentityAuthenticationProviderTests.cs b/Microsoft.Kiota.Authentication.Azure.Tests/AzureIdentityAuthenticationProviderTests.cs index 8d7db9c..b92709a 100644 --- a/Microsoft.Kiota.Authentication.Azure.Tests/AzureIdentityAuthenticationProviderTests.cs +++ b/Microsoft.Kiota.Authentication.Azure.Tests/AzureIdentityAuthenticationProviderTests.cs @@ -67,7 +67,7 @@ public async Task AuthenticateRequestAsyncSetsBearerHeader(string url, string ex { Assert.NotEmpty(testRequest.Headers); // header collection is no longer empty Assert.Equal("Authorization", testRequest.Headers.First().Key); // First element is Auth header - Assert.Equal($"Bearer {expectedToken}", testRequest.Headers.First().Value); // First element is Auth header + Assert.Equal($"Bearer {expectedToken}", testRequest.Headers["Authorization"].First()); // First element is Auth header } } diff --git a/src/Microsoft.Kiota.Authentication.Azure.csproj b/src/Microsoft.Kiota.Authentication.Azure.csproj index 972d6ba..d85122d 100644 --- a/src/Microsoft.Kiota.Authentication.Azure.csproj +++ b/src/Microsoft.Kiota.Authentication.Azure.csproj @@ -14,7 +14,7 @@ true true 1.0.0 - preview.4 + preview.5 true true @@ -23,7 +23,7 @@ false 35MSSharedLib1024.snk - - Added tracing through Open Telemetry. + - Added multi-value headers support. true LICENSE @@ -32,7 +32,7 @@ - +