{"action":"created","issue":{"url":"https://api.github.com/repos/NuGet/Home/issues/1359","labels_url":"https://api.github.com/repos/NuGet/Home/issues/1359/labels{/name}","comments_url":"https://api.github.com/repos/NuGet/Home/issues/1359/comments","events_url":"https://api.github.com/repos/NuGet/Home/issues/1359/events","html_url":"https://github.com/NuGet/Home/issues/1359","id":105578070,"number":1359,"title":"NuGet 3.2-RC CLI: SemVer 2.0","user":{"login":"stffabi","id":9464631,"avatar_url":"https://avatars.githubusercontent.com/u/9464631?v=3","gravatar_id":"","url":"https://api.github.com/users/stffabi","html_url":"https://github.com/stffabi","followers_url":"https://api.github.com/users/stffabi/followers","following_url":"https://api.github.com/users/stffabi/following{/other_user}","gists_url":"https://api.github.com/users/stffabi/gists{/gist_id}","starred_url":"https://api.github.com/users/stffabi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stffabi/subscriptions","organizations_url":"https://api.github.com/users/stffabi/orgs","repos_url":"https://api.github.com/users/stffabi/repos","events_url":"https://api.github.com/users/stffabi/events{/privacy}","received_events_url":"https://api.github.com/users/stffabi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NuGet/Home/labels/Type:DCR","name":"Type:DCR","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/NuGet/Home/milestones/12","html_url":"https://github.com/NuGet/Home/milestones/Client-VNext","labels_url":"https://api.github.com/repos/NuGet/Home/milestones/12/labels","id":1107554,"number":12,"title":"Client-VNext","description":"This is the place of the issues we intend to consider in one of the future versions.\r\n\r\nPlacing an issue here does not mean we intend to act on it, it means it looks promising enough to have a deeper dive into it, or that we don't have it planned for the current or one of the planned future releases.","creator":{"login":"yishaigalatzer","id":1238711,"avatar_url":"https://avatars.githubusercontent.com/u/1238711?v=3","gravatar_id":"","url":"https://api.github.com/users/yishaigalatzer","html_url":"https://github.com/yishaigalatzer","followers_url":"https://api.github.com/users/yishaigalatzer/followers","following_url":"https://api.github.com/users/yishaigalatzer/following{/other_user}","gists_url":"https://api.github.com/users/yishaigalatzer/gists{/gist_id}","starred_url":"https://api.github.com/users/yishaigalatzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yishaigalatzer/subscriptions","organizations_url":"https://api.github.com/users/yishaigalatzer/orgs","repos_url":"https://api.github.com/users/yishaigalatzer/repos","events_url":"https://api.github.com/users/yishaigalatzer/events{/privacy}","received_events_url":"https://api.github.com/users/yishaigalatzer/received_events","type":"User","site_admin":false},"open_issues":90,"closed_issues":2,"state":"open","created_at":"2015-05-12T21:08:40Z","updated_at":"2015-10-20T21:31:31Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-09-09T11:29:52Z","updated_at":"2015-10-21T13:14:13Z","closed_at":null,"body":"It seems like using a SemVer2 versionnumber is not possible with NuGet 3.2.0 CLI.\r\n\r\n```\r\nNuGet.exe pack -minClientVersion 3.2.0\r\nMSBuild auto-detection: using msbuild version '14.0' from 'C:\\Program Files (x86)\\MSBuild\\14.0\\bin'.\r\nAttempting to build package from 'MyProject.nuspec'.\r\n'4.0.0+45' is not a valid version string.\r\nParameter name: version\r\n```\r\n\r\nWasn't the support for semver2 planned for NuGet 3.x? It's also interesting that the NuGet.Versioning Assembly seems to support semver2. The CLI sill uses the NuGet.Core (2.8.6) SemanticVersion implementation, would it be possible to support semver2 for packaging e.g. by specifying the minClientVersion 3.2.0?\r\n"},"comment":{"url":"https://api.github.com/repos/NuGet/Home/issues/comments/149890128","html_url":"https://github.com/NuGet/Home/issues/1359#issuecomment-149890128","issue_url":"https://api.github.com/repos/NuGet/Home/issues/1359","id":149890128,"user":{"login":"onovotny","id":1427284,"avatar_url":"https://avatars.githubusercontent.com/u/1427284?v=3","gravatar_id":"","url":"https://api.github.com/users/onovotny","html_url":"https://github.com/onovotny","followers_url":"https://api.github.com/users/onovotny/followers","following_url":"https://api.github.com/users/onovotny/following{/other_user}","gists_url":"https://api.github.com/users/onovotny/gists{/gist_id}","starred_url":"https://api.github.com/users/onovotny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onovotny/subscriptions","organizations_url":"https://api.github.com/users/onovotny/orgs","repos_url":"https://api.github.com/users/onovotny/repos","events_url":"https://api.github.com/users/onovotny/events{/privacy}","received_events_url":"https://api.github.com/users/onovotny/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T13:14:13Z","updated_at":"2015-10-21T13:14:13Z","body":"I'd like to echo @StevenLiekens's point. I don't see any issues in packages requiring a newer NuGet client to work. There's already a minClientVersion concept, this just takes it to the next level. \r\n\r\nA few things to note:\r\n- Even if SemVer 2 is used, I believe at worst it'd just mean that downlevel clients couldn't understand pre-release packages. Too bad, they can't use them. \r\n- However, even with SemVer 2, a stable package would follow a format (2.0.0), that the downlevel client would understand.\r\n\r\nIn the end, it should hopefully be something that can be filtered out by the server. Down-level clients simply won't see packages that they won't parse."}}