{"action":"created","issue":{"url":"https://api.github.com/repos/edwardhotchkiss/mongoose-paginate/issues/34","labels_url":"https://api.github.com/repos/edwardhotchkiss/mongoose-paginate/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/edwardhotchkiss/mongoose-paginate/issues/34/comments","events_url":"https://api.github.com/repos/edwardhotchkiss/mongoose-paginate/issues/34/events","html_url":"https://github.com/edwardhotchkiss/mongoose-paginate/issues/34","id":58744088,"number":34,"title":"Callback should be always last argument","user":{"login":"villesau","id":2647016,"avatar_url":"https://avatars.githubusercontent.com/u/2647016?v=3","gravatar_id":"","url":"https://api.github.com/users/villesau","html_url":"https://github.com/villesau","followers_url":"https://api.github.com/users/villesau/followers","following_url":"https://api.github.com/users/villesau/following{/other_user}","gists_url":"https://api.github.com/users/villesau/gists{/gist_id}","starred_url":"https://api.github.com/users/villesau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/villesau/subscriptions","organizations_url":"https://api.github.com/users/villesau/orgs","repos_url":"https://api.github.com/users/villesau/repos","events_url":"https://api.github.com/users/villesau/events{/privacy}","received_events_url":"https://api.github.com/users/villesau/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-02-24T14:18:31Z","updated_at":"2015-07-01T13:06:04Z","closed_at":"2015-06-25T19:59:09Z","body":"Hi!\r\n\r\nThere is convention in node.js, that callback is always the last argument of function. Current implementation of mongoose-paginate does not follow this convention and cause conflicts for example with Bluebird. Even though the options might not be used in all situations,  i would always appreciate the conventions so it does not cause uncertainty with developers. It is possible to take length of passed arguments and deduce if there is options passed or not."},"comment":{"url":"https://api.github.com/repos/edwardhotchkiss/mongoose-paginate/issues/comments/117658126","html_url":"https://github.com/edwardhotchkiss/mongoose-paginate/issues/34#issuecomment-117658126","issue_url":"https://api.github.com/repos/edwardhotchkiss/mongoose-paginate/issues/34","id":117658126,"user":{"login":"MarkCancellieri","id":6568022,"avatar_url":"https://avatars.githubusercontent.com/u/6568022?v=3","gravatar_id":"","url":"https://api.github.com/users/MarkCancellieri","html_url":"https://github.com/MarkCancellieri","followers_url":"https://api.github.com/users/MarkCancellieri/followers","following_url":"https://api.github.com/users/MarkCancellieri/following{/other_user}","gists_url":"https://api.github.com/users/MarkCancellieri/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkCancellieri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkCancellieri/subscriptions","organizations_url":"https://api.github.com/users/MarkCancellieri/orgs","repos_url":"https://api.github.com/users/MarkCancellieri/repos","events_url":"https://api.github.com/users/MarkCancellieri/events{/privacy}","received_events_url":"https://api.github.com/users/MarkCancellieri/received_events","type":"User","site_admin":false},"created_at":"2015-07-01T13:06:04Z","updated_at":"2015-07-01T13:06:04Z","body":"@niftylettuce This seems to be a breaking change. You probably should have updated the major version rather than the minor version according to the semver rules. Don't you agree?"}}