All Versions
13
Latest Version
Avg Release Cycle
107 days
Latest Release
1227 days ago

Changelog History
Page 1

  • v2.0.0-beta Changes

    November 07, 2020

    πŸ”¨ Refactor

    πŸ‘ 1. Support the new project structure.

    1. Add adapter module which is used to adapt v1.x to v2.x.
    2. Add context.Context for cache, httplib, session, task, orm modules' API.
    3. Add error as a return value for cache, httplib, session, task. πŸ“¦ 5. Decouple modules from each other. All modules only depend on core package.

    πŸ”‹ Feature:

    1. Allow Healthcheck endpoint return JSON for Kubernetes (Experimental). 4055 πŸ‘ 2. Support ClientAuth for TLS. 4116 πŸ‘ 3. orm.RawSeter support orm.Fielder. 4191
    2. Add a new MySQL operator for strict case sensitive query. 4198 πŸ‘ 5. Using filter-chain pattern in orm module. Support opentracing and prometheus by using filter. 4141 πŸ‘ 6. Support prometheus filter for httplib module. 4145
    3. Add additional options to redis session prov. 4137 0️⃣ 8. Support default value filter for orm module. 4156
    4. Add methods Unmarshaler, Sub, OnChange for Configer module. 4175 🌲 10. Custom Log Formatter. 4174, 4179, 4188
    5. 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
    6. Allow users to ignore some table when run orm commands. 4211
    7. PostgresQueryBuilder 4205
    8. 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
    9. 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

    1. Fix race condition for Prepare Statement cache. 4061
    2. Fix index out of range in session module when len(sid) < 2. 4068
    3. Fix concurrent issue of context/input Query method. 4066
    4. Allow using environment variable to specific the config file. 4111
    5. XSRF add secure and http only flag. 4126 🏁 8. Fix temporary create failed on Windows 4244
    6. Session: adds CookieSameSite to ManagerConfig. 4226
    7. Make stmt cache smaller to avoid too many statement error. 4261
    8. 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 calling InsertOrUpdate is successful with string primary key. 4158
    9. Fix the problem that the nested structure of queryRow() cannot assign values 4173
    10. Empty field in validator.Error when label struct tag is not declared. 4225
    11. Fix deadlock in task module. 4246
    12. Fix: form entity too large casue run out of memory. 4272

    Doc:

    1. Fix typo. 4251, 4135, 4107
  • v1.12.3 Changes

    November 05, 2020

    πŸ”‹ Feature:

    1. Allow Healthcheck endpoint return JSON for Kubernetes. 4055 πŸ‘ 2. Support ClientAuth for TLS. 4116 πŸ‘ 3. orm.RawSeter support orm.Fielder. 4191
    2. 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

    1. Fix race condition for Prepare Statement cache. 4061
    2. Fix index out of range in session module when len(sid) < 2. 4068
    3. Fix concurrent issue of context/input Query method. 4066
    4. Allow using environment variable to specific the config file. 4111
    5. XSRF add secure and http only flag. 4126 🏁 8. Fix temporary create failed on Windows 4244
    6. Session: adds CookieSameSite to ManagerConfig. 4226
    7. Make stmt cache smaller to avoid too many statement error. 4261

    Doc:

    1. Fix typo. 4251
  • 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's PostFile 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 of keys 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 in orm/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