Beego beego 1.10.0 发布

astaxie · 2018年07月23日 · 最后由 皇虫 回复于 2018年07月30日 · 541 次阅读

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

更多原创文章干货分享,请关注公众号
  • 加微信实战群请加微信(注明:实战群):gocnio

期待很久了。。。

给你 32 个赞

辛苦了

> 主要的特色是增加了自动 https 申请证书

如何配置能自动申请证书啊?

谢大什么时间有空?谁整理一下 Beego 1.10 的开发文档呗

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册