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 StoryA single user-facing feature. Can be grouped under an epic.
    Bottom Up WorkNot part of a theme, epic, or user story
    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. removed
    untriagedNew issue has not been triaged by the area owner
    on Jan 8, 2021
  5. 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.

  6. added
    Priority:2Work that is important, but not critical for the release
    Cost:LWork that requires one engineer up to 4 weeks
    on Jan 21, 2021
  7. 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.

  8. 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 WorkNot part of a theme, epic, or user storyCost:LWork that requires one engineer up to 4 weeksPriority:2Work that is important, but not critical for the releaseUser StoryA single user-facing feature. Can be grouped under an epic.area-Meta

Type

No type

Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions