nsubstitute / NSubstitute

A friendly substitute for .NET mocking libraries.

Home Page:https://nsubstitute.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Proposition: Mark as unlisted and Deprecated some old versions

Romfos opened this issue · comments

Hi,

Nuget have feature of deprication + unlist for nuget packages versions

image

Versions that I propose to unlist + deprecate following package versions:

  1. All versions below 1.0.0
  2. Non-release versions like old betas, old release candidates, alphas

Motivation:

  1. Just inform developers that old beta\alpha\rc versions are no longer valid and better to don't use it. These versions were made only for non-production usage, could potentially be buggy and were made only for testing of versions before their release
  2. Make package versions list shorter by removing some non relevant packages

What is 'unlist' feature
There nuget packages still will be available by direct links, installable, e.t.c but they will be not displayable in versions list dropdown

Note about 'deprecated' feature
There nuget packages still will be available by direct links, installable, e.t.c but VS will show warning for them (yellow icon with text)

Thank you

I like this idea :)

Hi @Romfos ,

Thanks for this suggestion. I've unlisted these packages as suggested. Is that sufficient, or worth deprecating as well?

Hi @Romfos ,

Thanks for this suggestion. I've unlisted these packages as suggested. Is that sufficient, or worth deprecating as well?

probably make sense to mark unlisted versions as deprecated as well (VS will show warning for this nuget packages)

I've deprecated some old packages that had a problem with release and were replaced (these were already unlisted). I'll leave the betas/rcs, if people are still using them and they're working then I don't think they should be pushed to update.