Skip to content

Releases: AzureAD/microsoft-identity-web

3.4.0

15 Nov 19:46
5e4a389
Compare
Choose a tag to compare

3.4.0

  • Updated to Microsoft.IdentityModel.* 8.2.1
  • Updated to Microsoft.Identity.Abstractions 7.2.0

New features

  • Add ROPC flow support for confidential client applications. See 3091, 3129, 3139.
  • Allow multi-tenant applications to specify the AppHomeTenantId to be used for client credentials. See 3121, 3132.
  • Update to use .NET 9 GA. See 3127.

What's Changed

New Contributors

Full Changelog: 3.3.1...3.4.0

3.3.1

02 Nov 21:03
3dc8286
Compare
Choose a tag to compare

3.3.1

  • Updated to Microsoft.IdentityModel.* 8.2.0

Supportability

  • Added JSON schema support for Microsoft.Identity.Web configuration. This allows for schema validation in the appsettings.json, improving configuration accuracy and developer experience. To use it, add the following at the top of your appsettings.json:
    "$schema": "https://github.com/AzureAD/microsoft-identity-web/blob/master/JsonSchemas/microsoft-identity-web.json"
    This update enhances the configuration process by providing clear structure and validation for settings used in Microsoft.Identity.Web. See PR #3119 for details.

Fundamentals

  • Fix a flaky test in the L1L2Cache tests. See PR #3122 for details.

What's Changed

New Contributors

Full Changelog: 3.3.0...3.3.1

3.3.0

28 Oct 04:11
195328c
Compare
Choose a tag to compare

3.3.0

  • Updated to Microsoft.Identity.Client 4.66.0
  • Update system.Text.Json to 8.0.5 CVE-2024-43485
  • Updated to .NET 9 RC2

New features

  • Microsoft.Identity.Web token acquisition now provides an extensibility mechanism to enlight non-standard features. For details, see #2975

Fundamentals

  • Split DownstreamApi methods between AoT compatible and incompatible methods by @SaurabhMSFT in #3090
  • ASP.NET Core (and other) cross-link updates by @guardrex in #3096. Thank you!
  • Onboarded to Threading Analyzers. For details, see #3052
  • display code coverage as PR comments
  • Fix flaky EncryptionTestAsync on .NET 9.

What's Changed

  • Bump System.Text.Json from 8.0.4 to 8.0.5 in /tools/ConfigureGeneratedApplications by @dependabot in #3069
  • Bump Microsoft.Identity.Web.DownstreamApi, Microsoft.Extensions.Logging.Abstractions, System.Text.Json, System.Text.Encodings.Web, Microsoft.AspNetCore.DataProtection, System.Security.Cryptography.Xml, Microsoft.Extensions.Caching.Memory, Microsoft.Extensions.Logging, Microsoft.Extensions.DependencyInjection, System.Formats.Asn1, System.Security.Cryptography.Pkcs, Microsoft.Extensions.Configuration.Binder, Microsoft.Extensions.Configuration.EnvironmentVariables, Microsoft.Extensions.Configuration and Microsoft.Extensions.Options.ConfigurationExtensions by @dependabot in #3073
  • Bump Microsoft.Identity.Web.MicrosoftGraph, Microsoft.Extensions.Logging.Abstractions, System.Text.Json, System.Text.Encodings.Web, Microsoft.AspNetCore.DataProtection, System.Security.Cryptography.Xml, Microsoft.Extensions.Caching.Memory, Microsoft.Extensions.Logging, Microsoft.Extensions.DependencyInjection, System.Formats.Asn1, System.Security.Cryptography.Pkcs, Microsoft.Extensions.Configuration.Binder, Microsoft.Extensions.Configuration.EnvironmentVariables, Microsoft.Extensions.Configuration and Microsoft.Extensions.Options.ConfigurationExtensions by @dependabot in #3072
  • Bump Microsoft.Identity.Web, Microsoft.Extensions.Logging.Abstractions, System.Text.Json, System.Text.Encodings.Web, Microsoft.AspNetCore.DataProtection, System.Security.Cryptography.Xml, Microsoft.Extensions.Caching.Memory, Microsoft.Extensions.Logging, Microsoft.Extensions.DependencyInjection, System.Formats.Asn1, System.Security.Cryptography.Pkcs, Microsoft.Extensions.Configuration.Binder, Microsoft.Extensions.Configuration.EnvironmentVariables, Microsoft.Extensions.Configuration, Microsoft.Extensions.Configuration.Json, Microsoft.Extensions.Options.ConfigurationExtensions and Microsoft.Extensions.Hosting by @dependabot in #3070
  • update system.Text.Json to 8.0.5 CVE-2024-43485 by @jennyf19 in #3074
  • another update by @jennyf19 in #3075
  • Onboard Id Web to Threading Analyzers by @westin-m in #3041
  • Update .NET 9 to RC 2 by @msbw2 in #3082
  • Align editor config with other libraries by @westin-m in #3079
  • Fix reflection in MemoryCache tests to support both versions seen in .NET 9 RCs by @msbw2 in #3085
  • Use nuget config file by @SaurabhMSFT in #3083
  • Fix EncryptionTestAsync on .NET 9 by @pmaytak in #3088
  • Update GitHub Action to run unit tests by @pmaytak in #3089
  • Update template-install-dependencies.yaml by @jmprieur in #3092
  • Fix DevEx and IDDP builds by @jmprieur in #3093
  • Mark IdWeb APIs as shipped by @westin-m in #3086
  • Update version by @jmprieur in #3094
  • Split aot compatible and incompatible methods by @SaurabhMSFT in #3090
  • ASP.NET Core (and other) cross-link updates by @guardrex in #3096
  • update to MSAL 4.66 by @jennyf19 in #3095
  • Remove swagger dependencies by @msbw2 in #3099
  • Upgrade versions by @JoshLozensky in #3098
  • Upgrading MSAL version by @JoshLozensky in #3104
  • Grouping Dependabot Updates by @JoshLozensky in #3105
  • Microsoft.Identity.Web token acquisition extensions by @jmprieur in #3005
  • display code coverage as PR comments by @westin-m in #3107
  • Use Nuget config file by @SaurabhMSFT in #3112
  • Update changelog.md for 3.3.0 by @jmprieur in #3113

New Contributors

Full Changelog: 3.2.2...3.3.0

3.2.2

09 Oct 00:20
9d05e13
Compare
Choose a tag to compare

3.2.2

  • Updated to Microsoft.IdentityModel.* 8.1.2

3.2.1

05 Oct 02:46
08251ae
Compare
Choose a tag to compare

3.2.1

  • Updated to Microsoft.IdentityModel.* 8.1.1

What's Changed

Full Changelog: 3.2.0...3.2.1

3.2.0

24 Sep 16:52
5cafbdb
Compare
Choose a tag to compare

3.2.0

  • Updated to Microsoft.Identity.Abstractions 7.1.0
  • Updated to Microsoft.IdentityModel.* 8.1.0
  • Updated to Microsoft.Identity.Client 4.64.1
     

New features

  • In .NET 8 and above, IDownstreamApi overloads take a JsonTypeInfo<T> parameter to enable source generated JSON deserialization. See issue #2930 for details.

Bug fixes:

  • Azure region is used while creating application keys when the TokenAcquisition service caches application objects, and the TokenAcquirerFactory caches TokenAcquirer. See #3002 for details.
  • Improved error messages for FIC. See issue #3000 for details.

Fundamentals:

  • Improved test coverage for GetCacheKey. See PR #3020 for details.
  • Update to .NET 9-RC1. See issue #3025 for details.
  • Fix static analysis warnings. See PR #3024 for details.

3.1.0

22 Aug 05:01
63bc10e
Compare
Choose a tag to compare

3.1.0

  • Updated to Microsoft.IdentityModel.* 8.0.2

Security improvement:

  • Id Web now uses CaseSensitiveClaimsIdentity by default and provides AppContextSwitches to fallback to using ClaimsIdentity. This means that when you loopup claims with FindFirst(), FindAll() and HasClaim(), you need to provide the right casing for the claim. See PR #2977 for details.

Bug fixes:

  • For SN/I scenarios, Id Web's GetTokenAcquirer now sets SendX5C in particular protocols. See issue #2887 for details.
  • Fix for Instance/Tenant parsing for V2 authority (affected one Entra External IDs scenario). See PR #2954 for details.
  • Fix regex that threw a format exception: The input string " was not in a correct format when enabling same-site cookie compatibility with userAgent: "Dalvik/2.1.0 (Linux; U; Android 12; Chromecast Build/STTE.230319.008.H1). See issue #2879 for details.
  • Microsoft.Identity.Web 3.1.0 now has an upper bound set on its dependency on Microsoft.Identity.Abstractions to version 7x to avoid referencing Microsoft.Identity.Abstractions 8.0.0, which has an interface breaking change, not yet implemented in Microsoft.Identity.Web. See PR #2962 for details.

Fundamentals:

  • Fix flakey tests: #2972, #2984, #2982,
  • Update to AzureKeyVault@2 in AzureDevOps, #2981.
  • Update to .NET 9-preview7, #2980 and #2991.
  • It's now possible to build a specific version of Microsoft.Identity.Web based on specific versions of Microsoft.IdentityModel and Microsoft.Identity.Abstractions by specifying build variables on the dotnet pack command (MicrosoftIdentityModelVersion, MicrosoftIdentityAbstractionsVersions, and MicrosoftIdentityWebVersion): #2974, #2990

What's Changed

New Contributors

Full Changelog: 3.0.1...3.1.0

3.0.1

23 Jul 01:09
449cbcb
Compare
Choose a tag to compare

3.0.1

  • Updated to Microsoft.IdentityModel.* 8.0.1

2.21.0

19 Jul 03:18
afa4a05
Compare
Choose a tag to compare

2.21.0

  • Updated to Microsoft.IdentityModel 7.7.0

CVE package updates

CVE-2024-30105

3.0.0

18 Jul 03:41
1e6f70f
Compare
Choose a tag to compare

3.0.0

CVE package updates

CVE-2024-30105

  • See PR #2929 for details.

  • Updated to Microsoft.IdentityModel.* 8.0.0, Microsoft.Identity.Lab API 1.0.2, Microsoft.Identity.Abstractions 6.0.0

  • See rel/v2 changelog for full list of added features to 3.0.0.

Fundamentals:

  • Update lab cert and lab version. See PR #2923 for details.