{"action":"published","release":{"url":"https://api.github.com/repos/wonli/crossphp/releases/2309039","assets_url":"https://api.github.com/repos/wonli/crossphp/releases/2309039/assets","upload_url":"https://uploads.github.com/repos/wonli/crossphp/releases/2309039/assets{?name,label}","html_url":"https://github.com/wonli/crossphp/releases/tag/v1.5.3","id":2309039,"tag_name":"v1.5.3","target_commitish":"master","name":"","draft":false,"author":{"login":"wonli","id":872939,"avatar_url":"https://avatars.githubusercontent.com/u/872939?v=3","gravatar_id":"","url":"https://api.github.com/users/wonli","html_url":"https://github.com/wonli","followers_url":"https://api.github.com/users/wonli/followers","following_url":"https://api.github.com/users/wonli/following{/other_user}","gists_url":"https://api.github.com/users/wonli/gists{/gist_id}","starred_url":"https://api.github.com/users/wonli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wonli/subscriptions","organizations_url":"https://api.github.com/users/wonli/orgs","repos_url":"https://api.github.com/users/wonli/repos","events_url":"https://api.github.com/users/wonli/events{/privacy}","received_events_url":"https://api.github.com/users/wonli/received_events","type":"User","site_admin":false},"prerelease":true,"created_at":"2015-12-18T02:06:50Z","published_at":"2015-12-18T02:32:30Z","assets":[],"tarball_url":"https://api.github.com/repos/wonli/crossphp/tarball/v1.5.3","zipball_url":"https://api.github.com/repos/wonli/crossphp/zipball/v1.5.3","body":"### 1.5.3 更新说明\r\n---\r\n\r\n#### 一. 新增功能 ####\r\n\r\n增加Rest::any(), 匹配所有请求类型\r\n\r\n\t$app = Cross\\Core\\Delegate::loadApp('web');\r\n\r\n\t$rest = $app->rest();\r\n\t$rest->any('/', function(){\r\n\t    echo  'hi';\r\n\t});\r\n\t$rest->run();\r\n\r\n### 二. 优化 ###\r\n\r\n1. 去掉`Delegate::mRun()`, 由功能更强大的`Delegate::rest()`取代\r\n2. `ClosureContainer::isRegister()`更名为`ClosureContainer::has()`\r\n3. Rest匹配url时, 区分大小写, 提升不带参数匹配下的性能\r\n4. `ImageThumb`生成缩略图时, 增加品质参数\r\n5. 减少FrameBase中的静态成员变量改用匿名函数容器来传递参数\r\n6. 优化解密带问号的参数导致解密失败的BUG\r\n\r\n### 三. skeleton ###\r\n\r\nadmin默认风格变更为adminLTE\r\n"}}