Skip to content

Developers should be guided away from more obsolete APIs in .NET 6 #46767

Closed

Description

@jeffhandley

With #39269, we marked many APIs as [Obsolete] in .NET 5. Some follow-up infrastructure work was identified during and after that PR, and some other obsoletions have been proposed. With this story, we will:

  1. Complete that follow-up infrastructure work
  2. Consider additional APIs that could be marked as [Obsolete] (optionally with custom diagnostic Ids)
  3. Document those obsoletions
  4. Consider if there are places where a Roslyn Code Fixer should be provided for obsolete APIs

.NET 6 Work Items

Moved to Future

Definition of Done

Each obsoletion needs to have the following Definition of Done applied.

  • Pre-announce the upcoming breaking change to partner teams using our breaking change DL at least 2 weeks before merge
  • Use the Obsoletions.cs file to define the message and diagnostic ID
  • Add the obsoletion to the list of diagnostics
  • Announce the breaking change to our partner teams using our breaking change DL upon merge
  • Create the breaking change document issue
  • Register the aka.ms link for SYSLIBxxxx obsoletions (see @jeffhandley)

Activity

  1. added
    User Story
    Bottom Up Work
    on Jan 8, 2021
  2. added this to the 6.0.0 milestone on Jan 8, 2021
  3. self-assigned this
    on Jan 8, 2021
  4. added
    untriaged
    on Jan 8, 2021
  5. removed
    untriaged
    on Jan 8, 2021
  6. jeffhandley commented on Jan 8, 2021

    @jeffhandley
    MemberAuthor

    /cc @terrajobst @stephentoub @jkotas @GrabYourPitchforks in case any of you has other items you'd like to add to this list.

  7. added
    Priority:2
    Cost:L
    on Jan 21, 2021
  8. jeffhandley commented on Aug 11, 2021

    @jeffhandley
    MemberAuthor

    Closing this issue for .NET 6 as we have completed the obsoletions for that release. #57207 was filed for obsoletions to consider in .NET 7.

  9. ghost locked as resolved and limited conversation to collaborators on Sep 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Bottom Up WorkCost:LPriority:2User Storyarea-Meta

Type

No type

Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions