All Versions
13
Latest Version
Avg Release Cycle
107 days
Latest Release
1048 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v2.0.0-beta Changes
November 07, 2020π¨ Refactor
π 1. Support the new project structure.
- Add
adapter
module which is used to adapt v1.x to v2.x. - Add
context.Context
forcache
,httplib
,session
,task
,orm
modules' API. - Add
error
as a return value forcache
,httplib
,session
,task
. π¦ 5. Decouple modules from each other. All modules only depend oncore
package.
π Feature:
- Allow Healthcheck endpoint return JSON for Kubernetes (Experimental). 4055
π 2. Support
ClientAuth
for TLS. 4116 π 3.orm.RawSeter
supportorm.Fielder
. 4191 - Add a new MySQL operator for strict case sensitive query. 4198
π 5. Using
filter-chain
pattern inorm
module. Support opentracing and prometheus by using filter. 4141 π 6. Supportprometheus
filter forhttplib
module. 4145 - Add additional options to redis session prov. 4137
0οΈβ£ 8. Support default value filter for
orm
module. 4156 - Add methods
Unmarshaler
,Sub
,OnChange
forConfiger
module. 4175 π² 10. Custom Log Formatter. 4174, 4179, 4188 - Implement the time precison for time.Time type. 4186
π 12. Support
etcd
. 4195 β‘οΈ 13. Optimize rawSet.QueryRows to avoid many unnecessary calls to parseStructTag. 4210 - Allow users to ignore some table when run orm commands. 4211
- PostgresQueryBuilder 4205
- Provides a quick format method by PatternLogFormatter struct. 4229
π 17. Support custom ES index name. 4233
π 18 Support multiple web server. 4234 π 18. Support toml config. 4262 π 19. Using unmarshaler to parse config in web module. 4266 - Add MaxUploadFile to provide more safety uploading control. 4275 π 21. Support using json string to init session. 4277 π 22. Support global instance for config module. 4278
π Fix:
π 1. Fix reconnection bug in logs/conn.go. 4056 π° 2. Return 403 when request payload too large. 4058
- Fix race condition for Prepare Statement cache. 4061
- Fix
index out of range
in session module whenlen(sid) < 2
. 4068 - Fix concurrent issue of context/input Query method. 4066
- Allow using environment variable to specific the config file. 4111
- XSRF add secure and http only flag. 4126 π 8. Fix temporary create failed on Windows 4244
- Session: adds CookieSameSite to ManagerConfig. 4226
- Make stmt cache smaller to avoid
too many statement
error. 4261 - Fix:return error after inserting data when primary key is string. 4150
12.Fix the bug that Fielder's SetRaw is not called when calling orm.Raw() to query from database. 4160 β‘οΈ 12. Fix: return error when callingInsertOrUpdate
is successful with string primary key. 4158 - Fix the problem that the nested structure of queryRow() cannot assign values 4173
- Empty field in validator.Error when label struct tag is not declared. 4225
- Fix deadlock in task module. 4246
- Fix: form entity too large casue run out of memory. 4272
Doc:
- Add
-
v1.12.3 Changes
November 05, 2020π Feature:
- Allow Healthcheck endpoint return JSON for Kubernetes. 4055
π 2. Support
ClientAuth
for TLS. 4116 π 3.orm.RawSeter
supportorm.Fielder
. 4191 - Add a new MySQL operator for strict case sensitive query. 4198
π Fix:
π 1. Fix reconnection bug in logs/conn.go. 4056 π° 2. Return 403 when request payload too large. 4058
- Fix race condition for Prepare Statement cache. 4061
- Fix
index out of range
in session module whenlen(sid) < 2
. 4068 - Fix concurrent issue of context/input Query method. 4066
- Allow using environment variable to specific the config file. 4111
- XSRF add secure and http only flag. 4126 π 8. Fix temporary create failed on Windows 4244
- Session: adds CookieSameSite to ManagerConfig. 4226
- Make stmt cache smaller to avoid
too many statement
error. 4261
Doc:
- Fix typo. 4251
- Allow Healthcheck endpoint return JSON for Kubernetes. 4055
π 2. Support
-
v1.12.2 Changes
July 01, 2020- π Fix old process didn't exist when graceful restart in beego 1.12.0 #4005
- β¨ Enhance: Print stack while orm abnormally exit #3743
- β¨ Enhance: Replacing lock with read lock in
GetMapData
#3803 - π Fix: Get the real location of the log directory if the path is symbolic path #3818
- π Fix: Cache, context, session: add lock to fix inconsistent field protection #3922
- π Fix: Encoded url(with slash) router mismatch problem #3943
- π Fix:
genRouterCode
method generate wrong codes #3981 - β¨ Enhance: Using LRU algorithm, ignoring big file and using max cache size to reduce the memory usage of file cache #3984
- π Fix: Set max DB connections #3985
- π Fix: SQLite don't support
SELECT ... FOR UPDATE
#3992 - β¨ Enhance: Add
Transfer-Encoding
header in httplib'sPostFile
method #3993 - β¨ Enhance: Support bit operation in ORM #3994
- π Fix:
net/http Middleware
set via RunWithMiddleware or App.Run(middleware) doesn't work when "BConfig.Listen.Graceful" is set to true #3995 - π Fix: Empty field in validator.Error when label struct tag is not declared #4001
- π Fix:
panic: send on closed channel
after closing logger #4004 - β¨ Enhance: Store RouterPattern before filter execute #4007
- π Fix: Using HTMLEscapeString in adminui.go to avoid XSS attack #4018
- π Fix: Process not closed when graceful set to true #4005
- β¨ Enhance: Use
scan
instead ofkeys
in redis #4016 - π Feature: Support prometheus #4021
- Fix: Can't create more than max_prepared_stmt_count statements #4025
- β¨ Enhance: Support more mobile number pattern #4027
- π Fix: Can't set section name #4027
- π Fix:
strings.Repeat
panic inorm/db.go
#4032 - β¨ Enhance: Make redis client idle timeout configurable #4033
-
v1.12.1
February 07, 2020 -
v1.12.0
July 05, 2019 -
v1.11.1
November 30, 2018 -
v1.11.0
November 19, 2018 -
v1.10.1
July 31, 2018 -
v1.10.0 Changes
July 21, 2018- β‘οΈ 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
- 0οΈβ£ 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
-
v1.9.2
December 06, 2017