{"action":"created","issue":{"url":"https://api.github.com/repos/serverless/serverless/issues/4301","repository_url":"https://api.github.com/repos/serverless/serverless","labels_url":"https://api.github.com/repos/serverless/serverless/issues/4301/labels{/name}","comments_url":"https://api.github.com/repos/serverless/serverless/issues/4301/comments","events_url":"https://api.github.com/repos/serverless/serverless/issues/4301/events","html_url":"https://github.com/serverless/serverless/pull/4301","id":259629719,"number":4301,"title":"Print message that an update is available if user runs Serverless command with an outdated version","user":{"login":"RafalWilinski","id":3391616,"avatar_url":"https://avatars3.githubusercontent.com/u/3391616?v=4","gravatar_id":"","url":"https://api.github.com/users/RafalWilinski","html_url":"https://github.com/RafalWilinski","followers_url":"https://api.github.com/users/RafalWilinski/followers","following_url":"https://api.github.com/users/RafalWilinski/following{/other_user}","gists_url":"https://api.github.com/users/RafalWilinski/gists{/gist_id}","starred_url":"https://api.github.com/users/RafalWilinski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RafalWilinski/subscriptions","organizations_url":"https://api.github.com/users/RafalWilinski/orgs","repos_url":"https://api.github.com/users/RafalWilinski/repos","events_url":"https://api.github.com/users/RafalWilinski/events{/privacy}","received_events_url":"https://api.github.com/users/RafalWilinski/received_events","type":"User","site_admin":false},"labels":[{"id":484058097,"url":"https://api.github.com/repos/serverless/serverless/labels/stage/in-review","name":"stage/in-review","color":"fad8c7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-09-21T20:55:50Z","updated_at":"2017-10-08T11:38:56Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/serverless/serverless/pulls/4301","html_url":"https://github.com/serverless/serverless/pull/4301","diff_url":"https://github.com/serverless/serverless/pull/4301.diff","patch_url":"https://github.com/serverless/serverless/pull/4301.patch"},"body":"## What did you implement:\r\n\r\nCloses https://github.com/serverless/serverless/issues/2118\r\n\r\n## How did you implement it:\r\n\r\nAdded https://www.npmjs.com/package/update-notifier module.\r\n\r\n## How can we verify it:\r\n\r\n```\r\n# Modify package.json version to something like 0.23.0\r\nserverless info\r\nserverless logs   # Message should be shown at the end of command\r\n```\r\n\r\nYou can also remove `~/.config/configstore/update-notifier-serverless.json` and then try again.\r\n\r\n<img width=\"580\" alt=\"screen shot 2017-09-21 at 22 53 46\" src=\"https://user-images.githubusercontent.com/3391616/30718293-c4337716-9f1f-11e7-9d14-af5fa67792bc.png\">\r\n\r\nTests coverage is likely to drop but I think there's nothing to test here.\r\n\r\n## Todos:\r\n\r\n- [x] Write tests\r\n- [x] Write documentation\r\n- [x] Fix linting errors\r\n- [x] Make sure code coverage hasn't dropped\r\n- [x] Provide verification config / commands / resources\r\n- [x] Enable \"Allow edits from maintainers\" for this PR\r\n- [x] Update the messages below\r\n\r\n***Is this ready for review?:*** YES\r\n***Is it a breaking change?:*** NO"},"comment":{"url":"https://api.github.com/repos/serverless/serverless/issues/comments/335000665","html_url":"https://github.com/serverless/serverless/pull/4301#issuecomment-335000665","issue_url":"https://api.github.com/repos/serverless/serverless/issues/4301","id":335000665,"user":{"login":"RafalWilinski","id":3391616,"avatar_url":"https://avatars3.githubusercontent.com/u/3391616?v=4","gravatar_id":"","url":"https://api.github.com/users/RafalWilinski","html_url":"https://github.com/RafalWilinski","followers_url":"https://api.github.com/users/RafalWilinski/followers","following_url":"https://api.github.com/users/RafalWilinski/following{/other_user}","gists_url":"https://api.github.com/users/RafalWilinski/gists{/gist_id}","starred_url":"https://api.github.com/users/RafalWilinski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RafalWilinski/subscriptions","organizations_url":"https://api.github.com/users/RafalWilinski/orgs","repos_url":"https://api.github.com/users/RafalWilinski/repos","events_url":"https://api.github.com/users/RafalWilinski/events{/privacy}","received_events_url":"https://api.github.com/users/RafalWilinski/received_events","type":"User","site_admin":false},"created_at":"2017-10-08T11:38:56Z","updated_at":"2017-10-08T11:38:56Z","author_association":"CONTRIBUTOR","body":"Dismissing your review @pmuens as I've addressed your concern 😝 "}}
{"actor":{"display_login":"RafalWilinski"}}