dotnet / dotnet/runtime

out of support versions of System.Memory.Data on nuget not marked out of support

Open
#132,263 1 comment 1 reaction 1 assignee Claimed by @rbhanda View on GitHub
area-Meta question
Dominant language
C#
Stars
18.3k
Forks
5.6k
PR merge metrics
PR metrics pending

Description

### Description

according to https://github.com/dotnet/maintenance-packages/blob/main/package-support-policy.md
"The library packages have the same [support model as the .NET versions](https://dotnet.microsoft.com/en-us/platform/support/policy) that they target."

Can i confirm that either 1.0.2 is still a supported version, or could older versions that target unsupported .net packages (and as such are possibly unsupported) please be marked as deprecated (on nuget, deprecated : reason "targets unsupported .net" but still listed)?

https://github.com/Azure/azure-webjobs-sdk/issues/3161 has a core azure library not shifting dependencies relying on v1.0.2 is "still supported in nuget"

this has caused
https://learn.microsoft.com/en-us/answers/questions/2286258/azure-core-could-not-load-file-or-assembly-system

and presumably other grief where a library loads the incorrect dependency.
non-deprecated packages that target deprecated dependences can cause problems.

### Reproduction Steps

nuget add System.Memory.Data 1.0.2- see a 5.5 year old package that pulls in legacy json packages and others - and no warnings.

### Expected behavior

usage of super old packages is discouraged

### Actual behavior

people are raising tickets in various because they accidently pulled in very old libraries and their old dependencies

### Regression?

_No response_

### Known Workarounds

_No response_

### Configuration

_No response_

### Other information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.