diff --git a/Directory.Build.props b/Directory.Build.props index d8f120410..656152a59 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -4,7 +4,7 @@ - 4.12.2 + 4.13.1 $(MicrosoftIdentityWebVersion) true diff --git a/changelog.md b/changelog.md index 3cd12a1ae..2126203af 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,14 @@ +## 4.13.0 + +### New features +- Add `GetAuthorizationHeaderProvider2()` extension methods to the OWIN `ApiController` and `ControllerBase`, so OWIN apps can resolve `IAuthorizationHeaderProvider2` (metadata-returning header creation). See [#3928](https://github.com/AzureAD/microsoft-identity-web/pull/3928). + +### Bug fixes +- Register `IAuthorizationHeaderProvider2` in the DI container (both the singleton and scoped registrations) as the same instance already registered for `IAuthorizationHeaderProvider`, so consumers can resolve the v2 interface. See [#3927](https://github.com/AzureAD/microsoft-identity-web/pull/3927). + +### Dependencies updates +- Bump `Microsoft.Identity.Client` (MSAL.NET) and `Microsoft.Identity.Client.KeyAttestation` from 4.85.2 to 4.86.0. See [#3931](https://github.com/AzureAD/microsoft-identity-web/pull/3931). + ## 4.12.3 ### Bug fixes diff --git a/src/Microsoft.Identity.Web.OWIN/PublicAPI/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web.OWIN/PublicAPI/PublicAPI.Shipped.txt index bf7328d49..ac2c30538 100644 --- a/src/Microsoft.Identity.Web.OWIN/PublicAPI/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.OWIN/PublicAPI/PublicAPI.Shipped.txt @@ -14,3 +14,5 @@ static Microsoft.Identity.Web.AppBuilderExtension.AddMicrosoftIdentityWebApp(thi static Microsoft.Identity.Web.ControllerBaseExtensions.GetAuthorizationHeaderProvider(this System.Web.Mvc.ControllerBase! _) -> Microsoft.Identity.Abstractions.IAuthorizationHeaderProvider! static Microsoft.Identity.Web.ControllerBaseExtensions.GetDownstreamApi(this System.Web.Mvc.ControllerBase! _) -> Microsoft.Identity.Abstractions.IDownstreamApi! static Microsoft.Identity.Web.ControllerBaseExtensions.GetGraphServiceClient(this System.Web.Mvc.ControllerBase! _) -> Microsoft.Graph.GraphServiceClient! +static Microsoft.Identity.Web.ApiControllerExtensions.GetAuthorizationHeaderProvider2(this System.Web.Http.ApiController! _) -> Microsoft.Identity.Abstractions.IAuthorizationHeaderProvider2! +static Microsoft.Identity.Web.ControllerBaseExtensions.GetAuthorizationHeaderProvider2(this System.Web.Mvc.ControllerBase! _) -> Microsoft.Identity.Abstractions.IAuthorizationHeaderProvider2! diff --git a/src/Microsoft.Identity.Web.OWIN/PublicAPI/PublicAPI.Unshipped.txt b/src/Microsoft.Identity.Web.OWIN/PublicAPI/PublicAPI.Unshipped.txt index 52a4524b7..7dc5c5811 100644 --- a/src/Microsoft.Identity.Web.OWIN/PublicAPI/PublicAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web.OWIN/PublicAPI/PublicAPI.Unshipped.txt @@ -1,3 +1 @@ #nullable enable -static Microsoft.Identity.Web.ApiControllerExtensions.GetAuthorizationHeaderProvider2(this System.Web.Http.ApiController! _) -> Microsoft.Identity.Abstractions.IAuthorizationHeaderProvider2! -static Microsoft.Identity.Web.ControllerBaseExtensions.GetAuthorizationHeaderProvider2(this System.Web.Mvc.ControllerBase! _) -> Microsoft.Identity.Abstractions.IAuthorizationHeaderProvider2!