dotnet / dotnet-api-docs

.NET API reference documentation (.NET 5+, .NET Core, .NET Framework)
https://docs.microsoft.com/dotnet/api/
Other
725 stars 1.56k forks source link

Wrong "Applies to" version information for JsonSerializerOptions.Web property #10588

Closed cremor closed 1 week ago

cremor commented 1 week ago

Type of issue

Other (describe below)

Description

The "Applies to" section of that page currently lists .NET 8+, .NET Framework 4.6.2+ and .NET Standard 2.0. This is wrong, the property is new in .NET 9.

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.text.json.jsonserializeroptions.web?view=net-8.0

Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Text.Json/JsonSerializerOptions.xml

Document Version Independent Id

24b463f8-8ffd-f870-480a-0d372f3ad22a

Article author

@dotnet-bot

dotnet-issue-labeler[bot] commented 1 week ago

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

dotnet-issue-labeler[bot] commented 1 week ago

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

dotnet-policy-service[bot] commented 1 week ago

Tagging subscribers to this area: @dotnet/area-system-text-json

gewarren commented 1 week ago

Thank you for the feedback. The NuGet package is compatible with down-level versions, which is why the older versions are shown in the Applies to table. But we've also received a lot of feedback that this is too confusing. We have a design change in the works to hopefully make this less confusing. Closing as duplicate of https://github.com/dotnet/dotnet-api-docs/issues/10012.