{"action":"created","issue":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/15983","repository_url":"https://api.github.com/repos/yiisoft/yii2","labels_url":"https://api.github.com/repos/yiisoft/yii2/issues/15983/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/15983/comments","events_url":"https://api.github.com/repos/yiisoft/yii2/issues/15983/events","html_url":"https://github.com/yiisoft/yii2/issues/15983","id":308382636,"number":15983,"title":"Switch to plain semver (three version digits)","user":{"login":"schmunk42","id":649031,"avatar_url":"https://avatars1.githubusercontent.com/u/649031?v=4","gravatar_id":"","url":"https://api.github.com/users/schmunk42","html_url":"https://github.com/schmunk42","followers_url":"https://api.github.com/users/schmunk42/followers","following_url":"https://api.github.com/users/schmunk42/following{/other_user}","gists_url":"https://api.github.com/users/schmunk42/gists{/gist_id}","starred_url":"https://api.github.com/users/schmunk42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schmunk42/subscriptions","organizations_url":"https://api.github.com/users/schmunk42/orgs","repos_url":"https://api.github.com/users/schmunk42/repos","events_url":"https://api.github.com/users/schmunk42/events{/privacy}","received_events_url":"https://api.github.com/users/schmunk42/received_events","type":"User","site_admin":false},"labels":[{"id":33241821,"url":"https://api.github.com/repos/yiisoft/yii2/labels/status:under%20discussion","name":"status:under discussion","color":"f7c6c7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/yiisoft/yii2/milestones/10","html_url":"https://github.com/yiisoft/yii2/milestone/10","labels_url":"https://api.github.com/repos/yiisoft/yii2/milestones/10/labels","id":838439,"number":10,"title":"infrastructure","description":"","creator":{"login":"samdark","id":47294,"avatar_url":"https://avatars2.githubusercontent.com/u/47294?v=4","gravatar_id":"","url":"https://api.github.com/users/samdark","html_url":"https://github.com/samdark","followers_url":"https://api.github.com/users/samdark/followers","following_url":"https://api.github.com/users/samdark/following{/other_user}","gists_url":"https://api.github.com/users/samdark/gists{/gist_id}","starred_url":"https://api.github.com/users/samdark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samdark/subscriptions","organizations_url":"https://api.github.com/users/samdark/orgs","repos_url":"https://api.github.com/users/samdark/repos","events_url":"https://api.github.com/users/samdark/events{/privacy}","received_events_url":"https://api.github.com/users/samdark/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":95,"state":"open","created_at":"2014-10-24T00:17:21Z","updated_at":"2018-03-31T12:36:45Z","due_on":null,"closed_at":null},"comments":67,"created_at":"2018-03-25T20:28:15Z","updated_at":"2018-03-31T19:49:25Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"### What steps will reproduce the problem?\r\n\r\nCurrently Yii is using a four-digit versioning, which is not 100% [Semantic Versioning](https://semver.org/) and it does not play very well with composer.\r\n\r\nTwo of the most commonly used operators `^` and `~` don't work well with the current versioning.\r\n\r\n### What is the expected result?\r\n\r\nHave a concise way to define constraints for the core framework.\r\n\r\n### What do you get instead?\r\n\r\n- `^2.0.15.2` - gives you updates of all the 2.x versions (which include major releases in Yii terms)\r\n- `~2.0.15.2` - gives you only updates below `2.0.16`, which is clearly too restrictive\r\n\r\nThere's no operator which can be used in a sane way with the current versioning.\r\n\r\n### Additional info\r\n\r\n| Q                | A\r\n| ---------------- | ---\r\n| Yii version      | any\r\n\r\nYou can read the prologue to this issue starting from https://github.com/yiisoft/yii2-phpunit/pull/2#issuecomment-375270353\r\n\r\nI know this is a huge change and I'd avoid it if there'd be a reasonable alternative, but neither changing semver, nor introducing a new operator to composer seems to be one.\r\n\r\nPossible naming:\r\n- Yii 2.0 Framework 3.0.0\r\n- Yii 2:3.0.0 Framework\r\n- ...\r\n\r\n### Tasks\r\n- [ ] change 2.1 branches to 3.0\r\n- [ ] change branding info"},"comment":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/comments/377718615","html_url":"https://github.com/yiisoft/yii2/issues/15983#issuecomment-377718615","issue_url":"https://api.github.com/repos/yiisoft/yii2/issues/15983","id":377718615,"user":{"login":"bizley","id":8577314,"avatar_url":"https://avatars2.githubusercontent.com/u/8577314?v=4","gravatar_id":"","url":"https://api.github.com/users/bizley","html_url":"https://github.com/bizley","followers_url":"https://api.github.com/users/bizley/followers","following_url":"https://api.github.com/users/bizley/following{/other_user}","gists_url":"https://api.github.com/users/bizley/gists{/gist_id}","starred_url":"https://api.github.com/users/bizley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bizley/subscriptions","organizations_url":"https://api.github.com/users/bizley/orgs","repos_url":"https://api.github.com/users/bizley/repos","events_url":"https://api.github.com/users/bizley/events{/privacy}","received_events_url":"https://api.github.com/users/bizley/received_events","type":"User","site_admin":false},"created_at":"2018-03-31T19:49:25Z","updated_at":"2018-03-31T19:49:25Z","author_association":"CONTRIBUTOR","body":"> This question remains still open ... how should extensions be named then?\r\n\r\nThis is not a discussion about extensions' names. They can be named whatever. The only thing that matters is the Yii version they required."}}
{"actor":{"display_login":"bizley"}}