Beego v1.12.2 Release Notes

Release Date: 2020-07-01 // over 1 year 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'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