Beego v1.12.2 Release Notes
Release Date: 2020-07-01 // almost 4 years ago-
- ๐ 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