{"action":"created","issue":{"url":"https://api.github.com/repos/yuantiku/YTKNetwork/issues/224","repository_url":"https://api.github.com/repos/yuantiku/YTKNetwork","labels_url":"https://api.github.com/repos/yuantiku/YTKNetwork/issues/224/labels{/name}","comments_url":"https://api.github.com/repos/yuantiku/YTKNetwork/issues/224/comments","events_url":"https://api.github.com/repos/yuantiku/YTKNetwork/issues/224/events","html_url":"https://github.com/yuantiku/YTKNetwork/issues/224","id":175923008,"number":224,"title":"YTKNetwork 2.0.x ToDo List","user":{"login":"lancy","id":1206841,"avatar_url":"https://avatars.githubusercontent.com/u/1206841?v=3","gravatar_id":"","url":"https://api.github.com/users/lancy","html_url":"https://github.com/lancy","followers_url":"https://api.github.com/users/lancy/followers","following_url":"https://api.github.com/users/lancy/following{/other_user}","gists_url":"https://api.github.com/users/lancy/gists{/gist_id}","starred_url":"https://api.github.com/users/lancy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lancy/subscriptions","organizations_url":"https://api.github.com/users/lancy/orgs","repos_url":"https://api.github.com/users/lancy/repos","events_url":"https://api.github.com/users/lancy/events{/privacy}","received_events_url":"https://api.github.com/users/lancy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yuantiku/YTKNetwork/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-09-09T04:01:12Z","updated_at":"2016-09-14T10:54:41Z","closed_at":null,"body":" 目前发现的 2.0 版本的问题：\r\n\r\n- [x] 2. 新增的`responseSerializerType`默认为 `.JSON`，会导致 response 不是 JSON 的请求失败，需要在迁移指南里说明\r\n\r\n- [x] 3.`baseUrl`和`requestUrl`的拼接规则有修改，需要在文档中说明（添加 `buildRequestUrl` 测试用例）\r\n\r\n- [X] 6. 在请求初始化以及响应处理的时候，将可能发生的错误通过 `request.error` 暴露出来（而不只是打出 log）。\r\n\r\n- [ ] 7. <del>对于部分需要调用 super 的重载方法，使用 `NS_REQUIRES_SUPER` 标注，防止使用错误。</del>(Later)\r\n\r\n- [ ] 8. <del>使用 `NSParameterAssert` 对一些 API 的输入进行限制，减少函数内部逻辑层级。</del>(Later)\r\n\r\n- [X] 10. `YTKChainRequest`和`YTKBatchRequest`不在允许设置单个`request`的`completionBlock`。\r\n\r\n- [ ] 11. README.md 中英文分开，里面加上 MigrationGuide.md 链接。 \r\n\r\n2.0.1 fixed:\r\n- [x] 1. `YTKBaseRequest`中`@property (nonatomic, readonly, getter=isExecuting) BOOL isExecuting`需要修改为`@property (nonatomic, readonly, getter=isExecuting) BOOL executing`\r\n\r\n- [x] 4. `maxConcurrentCount`不再能够限制并发请求，将相关代码删除，保持和 AFNetworking 一致\r\n\r\n- [x] 5. `CFNetwork`需要显示加为依赖来避免 iOS 8.1 上的 Crash\r\n\r\n- [x] 9. `startWithoutCache` 和 `ignoreCache` 在 2.x 版本会清理掉缓存，而 1.x 版本则仅仅是忽略缓存，需要改回 1.x 版本的行为，以符合 without 和 ignore 的语义"},"comment":{"url":"https://api.github.com/repos/yuantiku/YTKNetwork/issues/comments/246976719","html_url":"https://github.com/yuantiku/YTKNetwork/issues/224#issuecomment-246976719","issue_url":"https://api.github.com/repos/yuantiku/YTKNetwork/issues/224","id":246976719,"user":{"login":"skyline75489","id":4710575,"avatar_url":"https://avatars.githubusercontent.com/u/4710575?v=3","gravatar_id":"","url":"https://api.github.com/users/skyline75489","html_url":"https://github.com/skyline75489","followers_url":"https://api.github.com/users/skyline75489/followers","following_url":"https://api.github.com/users/skyline75489/following{/other_user}","gists_url":"https://api.github.com/users/skyline75489/gists{/gist_id}","starred_url":"https://api.github.com/users/skyline75489/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skyline75489/subscriptions","organizations_url":"https://api.github.com/users/skyline75489/orgs","repos_url":"https://api.github.com/users/skyline75489/repos","events_url":"https://api.github.com/users/skyline75489/events{/privacy}","received_events_url":"https://api.github.com/users/skyline75489/received_events","type":"User","site_admin":false},"created_at":"2016-09-14T10:54:41Z","updated_at":"2016-09-14T10:54:41Z","body":"同样的 request 实例还是会使用旧的 request 回调"}}
{"actor":{"display_login":"skyline75489"}}