{"action":"created","issue":{"url":"https://api.github.com/repos/balderdashy/sails/issues/3175","labels_url":"https://api.github.com/repos/balderdashy/sails/issues/3175/labels{/name}","comments_url":"https://api.github.com/repos/balderdashy/sails/issues/3175/comments","events_url":"https://api.github.com/repos/balderdashy/sails/issues/3175/events","html_url":"https://github.com/balderdashy/sails/issues/3175","id":102629026,"number":3175,"title":"Update from Express3 to Express4","user":{"login":"Josebaseba","id":1160665,"avatar_url":"https://avatars.githubusercontent.com/u/1160665?v=3","gravatar_id":"","url":"https://api.github.com/users/Josebaseba","html_url":"https://github.com/Josebaseba","followers_url":"https://api.github.com/users/Josebaseba/followers","following_url":"https://api.github.com/users/Josebaseba/following{/other_user}","gists_url":"https://api.github.com/users/Josebaseba/gists{/gist_id}","starred_url":"https://api.github.com/users/Josebaseba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Josebaseba/subscriptions","organizations_url":"https://api.github.com/users/Josebaseba/orgs","repos_url":"https://api.github.com/users/Josebaseba/repos","events_url":"https://api.github.com/users/Josebaseba/events{/privacy}","received_events_url":"https://api.github.com/users/Josebaseba/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-08-23T15:13:17Z","updated_at":"2015-08-28T06:10:21Z","closed_at":null,"body":"Hi guys,\r\n\r\n```\r\n\r\nExpress 3.x support is ending soon\r\n\r\nThis series will continue to receive only security updates and bug fixes until July 2015. It is highly recommended to upgrade to Express 4.x.\r\n```\r\n\r\nSo, I've tried to update by myself the dependency, you can take a look: https://github.com/Josebaseba/sails\r\n\r\nAlmost all the test are passing, just four of the CORS tests are giving me some problems and the layouts aren't working yet (don't know why, the test are passing).\r\n\r\nAll the Connect dependencies are gone, I've added Express packages to replace them: ```express-session, csurf, cookie-parser``` and ```compression.```\r\n\r\nBut the biggest changes are related to the Router, to both of them (the internal and the external), in express4 the Router works pretty different. \r\n\r\nMore info: https://github.com/strongloop/express/wiki/Migrating-from-3.x-to-4.x and http://expressjs.com/4x/api.html#router\r\n\r\nBefore following working in that way I think that I need some light or help, am I following the correct path? Should I open a Pull Request or something?\r\n\r\nAny kind of help is welcome!"},"comment":{"url":"https://api.github.com/repos/balderdashy/sails/issues/comments/135644406","html_url":"https://github.com/balderdashy/sails/issues/3175#issuecomment-135644406","issue_url":"https://api.github.com/repos/balderdashy/sails/issues/3175","id":135644406,"user":{"login":"tjwebb","id":1009114,"avatar_url":"https://avatars.githubusercontent.com/u/1009114?v=3","gravatar_id":"","url":"https://api.github.com/users/tjwebb","html_url":"https://github.com/tjwebb","followers_url":"https://api.github.com/users/tjwebb/followers","following_url":"https://api.github.com/users/tjwebb/following{/other_user}","gists_url":"https://api.github.com/users/tjwebb/gists{/gist_id}","starred_url":"https://api.github.com/users/tjwebb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjwebb/subscriptions","organizations_url":"https://api.github.com/users/tjwebb/orgs","repos_url":"https://api.github.com/users/tjwebb/repos","events_url":"https://api.github.com/users/tjwebb/events{/privacy}","received_events_url":"https://api.github.com/users/tjwebb/received_events","type":"User","site_admin":false},"created_at":"2015-08-28T06:10:21Z","updated_at":"2015-08-28T06:10:21Z","body":"hey @listepo, sorry it took me so long to get to this. We really appreciate the work you're doing. What can I do to help you?"}}