{"action":"closed","issue":{"url":"https://api.github.com/repos/dacodekid/gulp-factory/issues/1","labels_url":"https://api.github.com/repos/dacodekid/gulp-factory/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/dacodekid/gulp-factory/issues/1/comments","events_url":"https://api.github.com/repos/dacodekid/gulp-factory/issues/1/events","html_url":"https://github.com/dacodekid/gulp-factory/issues/1","id":116882578,"number":1,"title":"V 2.0.0 - API Breaking Change","user":{"login":"dacodekid","id":10047844,"avatar_url":"https://avatars.githubusercontent.com/u/10047844?v=3","gravatar_id":"","url":"https://api.github.com/users/dacodekid","html_url":"https://github.com/dacodekid","followers_url":"https://api.github.com/users/dacodekid/followers","following_url":"https://api.github.com/users/dacodekid/following{/other_user}","gists_url":"https://api.github.com/users/dacodekid/gists{/gist_id}","starred_url":"https://api.github.com/users/dacodekid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dacodekid/subscriptions","organizations_url":"https://api.github.com/users/dacodekid/orgs","repos_url":"https://api.github.com/users/dacodekid/repos","events_url":"https://api.github.com/users/dacodekid/events{/privacy}","received_events_url":"https://api.github.com/users/dacodekid/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-14T00:48:41Z","updated_at":"2015-11-19T20:54:15Z","closed_at":"2015-11-19T20:54:15Z","body":"Completely rewriting the code and changing API signature, \r\n\r\nfrom\r\n```javascript\r\nfactory(pluginName, pluginFunction[, factoryOptions])\r\n```\r\n\r\nto\r\n```javascript\r\nfactory (options)\r\n```\r\n\r\nNow `name & pluginFunction` both will be supplied through options alone to make the API simpler.  This also gives opportunity to pass an option `flush` function to `through2`. \r\n\r\nAlso planning to remove `app-root-path` package from dependency and instead will rely on user's input.\r\n\r\n---\r\nChanges\r\n\r\n- [x] Change core API signature\r\n- [x] Add an optional `flush function` option for plugins who willing to use\r\n- [x] Get `package.json` path from user and parse\r\n- [x] Move `test codebase` from `mocha & chai` to `tape`\r\n- [x] Update `readme.md` **(almost done)**\r\n- [x] Update `examples` to reflect V2 API\r\n- [x] Remove `console.log` warnings as their existence doesn't make any sense"}}