原文作者:astaxie
beego经过了很长一段时间的修修补补,终于在周末发布了1.10.0版本,这一次详细更新如下,主要的特色是增加了自动https申请证书,增加了yaml格式支持输出,支持了Redis 集群等新特性。
Update log.go add GetLevel Function to Log #2970
Fix a typo "conflict" #2971
Bug on private fields #2978
Fix access log console unexpected '\n' at end of each log. #2976
Fix Documentation for HTTP status codes descriptions. #2992
Redis cache: make MaxIdle configurable #3004
Update: Fix migration generate SQL #3017
Handle pointer validation #3046
Fix the issue TaseCase TestFormatHeader_0 is failed #3066
Fix BEEGO_RUNMODE #3064
Swagger: Allow example values with different types, allow example for enum. #3085
Fix the bug: unable to add column with ALTER TABLE #2999
Set default Beego RunMode to production #3076
Fix typo #3103
In dev mode, template parse error cause program lock #3126
Amend a very minor typo in a variable name #3115
When log maxSize set big int,FileWrite Init fail #3109
Change github.com/garyburd/redigo to newest branch github.com/gomodul… #3100
ExecElem.FieldByName as local variable #3039
Allow log prefix #3145
Refactor yaml config for support multilevel #3127
Create redis_cluster.go #3175
Add field comment on create table #3190
Update: use PathEscape replace QueryEscape #3200
Update gofmt #3206
Update: Htmlquote Htmlunquote #3202
Add 'FOR UPDATE' support for querySet #3208
Debug stringsToJSON #3171
Fix defaut value bug, and add config for maxfiles #3185
Fix: correct MaxIdleConnsPerHost value to net/http default 100. #3230
Fix: When multiply comment routers on one func #3217
Send ErrNoRows if the query returns zero rows ... in method orm_query… #3247
Fix typo #3245
Add session redis IdleTimeout config #3239
Fix the wrong status code in prod #3226
Add method to set the data depending on the accepted #3182
Fix Unexpected EOF bug in staticfile #3152
Add code style for logs README #3146
Fix response http code #3142
Improve access log #3141
Auto create log dir #3105
Html escape before display path, avoid xss #3022
Acquire lock when access config data #3250
Fix orm fields SetRaw function error judge problem #2985
Fix template rendering with automatic mapped parameters (see #2979) #2981
Fix the model can not be registered correctly on Ubuntu 32bit #2997
Feature/yaml #3181
Feature/autocert #3249
https://github.com/astaxie/beego/releases/tag/v1.10.0
版权申明:内容来源网络,版权归原创者所有。除非无法确认,我们都会标明作者及出处,如有侵权烦请告知,我们会立即删除并表示歉意。谢谢。
Golang语言社区
游戏服务器架构丨分布式技术丨大数据丨游戏算法学习
领取专属 10元无门槛券
私享最新 技术干货