Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Sep 26, 2025

This PR updates the necessary files to prepare for the Microsoft Identity Web 4.0.0 release, addressing the version configuration, changelog requirements, and API compatibility baselines.

Changes Made

1. Updated changelog.md

Added 4.0.0 release notes at the top of the file with:

  • Breaking Changes: Removal of .NET 6.0 and .NET 7.0 support following Microsoft's support lifecycle
  • New Features: Various improvements to performance logging, authentication, and credential loading capabilities
  • Fundamentals: Various improvements to .NET support and dependency optimizations

2. Updated Directory.Build.props

  • Updated MicrosoftIdentityWebVersion from 3.14.1 to 4.0.0
  • Updated PackageValidationBaselineVersion from 2.7.0 to 3.14.1

3. Generated API Compatibility Baseline Files

  • Ran dotnet pack Microsoft.Identity.Web.sln /p:GenerateCompatibilitySuppressionFile=true
  • Generated/updated CompatibilitySuppressions.xml files for all projects
  • Created baseline API compatibility files for package validation

Key Highlights

The 4.0.0 release introduces significant breaking changes by removing support for both .NET 6.0 and .NET 7.0, aligning with Microsoft's support lifecycle. The supported target frameworks are now:

  • .NET 8.0
  • .NET 9.0
  • .NET Framework 4.6.2
  • .NET Framework 4.7.2
  • .NET Standard 2.0

The release also includes various improvements to performance logging, authentication, and dependency optimizations.

Validation

  • ✅ Build system correctly picks up the new version 4.0.0
  • ✅ Project builds and packs successfully with the updated configuration
  • ✅ API compatibility baseline files generated successfully
  • ✅ All review feedback addressed by removing references to unmerged PRs
  • ✅ Breaking changes updated to include both .NET 6.0 and .NET 7.0 removal
Original prompt

This section details on the original issue you should resolve

<issue_title>Files to Update for 4.0.0 Release</issue_title>
<issue_description>1. changelog.md - Add this at the very top (line 1):

4.0.0
=========
### Breaking Changes
**Removed support for .NET 6.0** - Microsoft Identity Web 4.0.0 no longer targets .NET 6.0, following Microsoft's support lifecycle. The supported target frameworks are now .NET 8.0, .NET 9.0, .NET Framework 4.6.2, .NET Framework 4.7.2, and .NET Standard 2.0.

### New features
- Enhanced performance logging in credential providers. See PR [#3495](https://github.com/AzureAD/microsoft-identity-web/pull/3495) for details.
- Improved certificateless authentication documentation and developer experience. See PR [#3494](https://github.com/AzureAD/microsoft-identity-web/pull/3494) for details.
- Enhanced SigningCredential loading capabilities in DefaultCredentialsLoader. See PR [#3361](https://github.com/AzureAD/microsoft-identity-web/pull/3361) for details.

### Fundamentals
- Updated containerization support for modern .NET versions. See PR [#3481](https://github.com/AzureAD/microsoft-identity-web/pull/3481) for details.
- Improved .NET 10 Preview support preparations. See PR [#3449](https://github.com/AzureAD/microsoft-identity-web/pull/3449) for details.
- Enhanced dependency cleanup and optimization. See PR [#3314](https://github.com/AzureAD/microsoft-identity-web/pull/3314) for details.
  1. Directory.Build.props - Update these two lines:
    Line 5: Change:
<MicrosoftIdentityWebVersion Condition="'$(MicrosoftIdentityWebVersion)' == ''">3.14.1</MicrosoftIdentityWebVersion>

To:

<MicrosoftIdentityWebVersion Condition="'$(MicrosoftIdentityWebVersion)' == ''">4.0.0</MicrosoftIdentityWebVersion>

Line 10: Change:

<PackageValidationBaselineVersion>2.7.0</PackageValidationBaselineVersion>

to:

<PackageValidationBaselineVersion>3.14.1</PackageValidationBaselineVersion>

Thank you!
</issue_description>

Comments on the Issue (you are @copilot in this section)

Fixes #3497

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: jennyf19 <19942418+jennyf19@users.noreply.github.com>
Copilot AI changed the title [WIP] Files to Update for 4.0.0 Release Update files for Microsoft Identity Web 4.0.0 release Sep 26, 2025
Copilot AI requested a review from jennyf19 September 26, 2025 18:35
@jennyf19 jennyf19 marked this pull request as ready for review September 26, 2025 18:47
@jennyf19 jennyf19 requested a review from a team as a code owner September 26, 2025 18:47
Copy link
Collaborator

@jmprieur jmprieur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @jennyf19
don't we need to run

dotnet pack Microsoft.Identity.Web.sln /p:GenerateCompatibilitySuppressionFile=true

@jennyf19
Copy link
Collaborator

@copilot can you run dotnet pack Microsoft.Identity.Web.sln /p:GenerateCompatibilitySuppressionFile=true and create the baseline API files?

Co-authored-by: keegan-caruso <54109988+keegan-caruso@users.noreply.github.com>
…PR references, generate API compatibility files

Co-authored-by: keegan-caruso <54109988+keegan-caruso@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Sep 26, 2025

@copilot can you run dotnet pack Microsoft.Identity.Web.sln /p:GenerateCompatibilitySuppressionFile=true and create the baseline API files?

Successfully ran the dotnet pack command and generated the API compatibility baseline files in commit 449f28d.

Copy link
Contributor

@keegan-caruso keegan-caruso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

few small comments

jmprieur and others added 2 commits October 10, 2025 10:55
Co-authored-by: Keegan <Keegan.Caruso@microsoft.com>
Co-authored-by: Keegan <Keegan.Caruso@microsoft.com>
@jmprieur jmprieur merged commit add88e9 into master Oct 10, 2025
5 checks passed
@jmprieur jmprieur deleted the copilot/fix-b24a0632-a21f-4c70-80d0-1d50f6415f46 branch October 10, 2025 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Files to Update for 4.0.0 Release

4 participants