Gin v1.4.0 Release Notes

Release Date: 2019-05-08 // almost 5 years ago
    • ๐Ÿ‘ [NEW] Support for Go Modules #1569
    • ๐Ÿ”จ [NEW] Refactor of form mapping multipart request #1829
    • ๐Ÿšค [FIX] Truncate Latency precision in long running request #1830
    • [FIX] IsTerm flag should not be affected by DisableConsoleColor method. #1802
    • ๐Ÿ‘ [NEW] Supporting file binding #1264
    • ๐Ÿ‘ [NEW] Add support for mapping arrays #1797
    • โšก๏ธ [FIX] Readme updates #1793 #1788 1789
    • ๐Ÿ›  [FIX] StaticFS: Fixed Logging two log lines on 404. #1805, #1804
    • [NEW] Make context.Keys available as LogFormatterParams #1779
    • [NEW] Use internal/json for Marshal/Unmarshal #1791
    • ๐Ÿ‘ [NEW] Support mapping time.Duration #1794
    • ๐Ÿ”จ [NEW] Refactor form mappings #1749
    • [NEW] Added flag to context.Stream indicates if client disconnected in middle of stream #1252
    • ๐Ÿšš [FIX] Moved examples to stand alone Repo #1775
    • [NEW] Extend context.File to allow for the content-disposition attachments via a new method context.Attachment #1260
    • ๐Ÿ‘ [FIX] Support HTTP content negotiation wildcards #1112
    • [NEW] Add prefix from X-Forwarded-Prefix in redirectTrailingSlash #1238
    • [FIX] context.Copy() race condition #1020
    • [NEW] Add context.HandlerNames() #1729
    • 0๏ธโƒฃ [FIX] Change color methods to public in the defaultLogger. #1771
    • โšก๏ธ [FIX] Update writeHeaders method to use http.Header.Set #1722
    • [NEW] Add response size to LogFormatterParams #1752
    • [NEW] Allow ignoring field on form mapping #1733
    • [NEW] Add a function to force color in console output. #1724
    • [FIX] Context.Next() - recheck len of handlers on every iteration. #1745
    • โš  [FIX] Fix all errcheck warnings #1739 #1653
    • [NEW] context: inherits context cancellation and deadline from http.Request context for Go>=1.7 #1690
    • [NEW] Binding for URL Params #1694
    • [NEW] Add LoggerWithFormatter method #1677
    • โšก๏ธ [FIX] CI testing updates #1671 #1670 #1682 #1669
    • [FIX] StaticFS(): Send 404 when path does not exist #1663
    • [FIX] Handle nil body for JSON binding #1638
    • ๐Ÿ‘ [FIX] Support bind uri param #1612
    • [FIX] recovery: fix issue with syscall import on google app engine #1640
    • ๐ŸŒฒ [FIX] Make sure the debug log contains line breaks #1650
    • ๐Ÿ–จ [FIX] Panic stack trace being printed during recovery of broken pipe #1089 #1259
    • [NEW] RunFd method to run http.Server through a file descriptor #1609
    • ๐Ÿ‘ [NEW] Yaml binding support #1618
    • [FIX] Pass MaxMultipartMemory when FormFile is called #1600
    • โœ… [FIX] LoadHTML* tests #1559
    • ๐Ÿ”€ [FIX] Removed use of sync.pool from HandleContext #1565
    • ๐ŸŒฒ [FIX] Format output log to os.Stderr #1571
    • [FIX] Make logger use a yellow background and a darkgray text for legibility #1570
    • ๐Ÿšš [FIX] Remove sensitive request information from panic log. #1370
    • ๐Ÿ–จ [FIX] log.Println() does not print timestamp #829 #1560
    • [NEW] Add PureJSON renderer #694
    • โšก๏ธ [FIX] Add missing copyright and update if/else #1497
    • โšก๏ธ [FIX] Update msgpack usage #1498
    • [FIX] Use protobuf on render #1496
    • ๐Ÿ‘ [FIX] Add support for Protobuf format response #1479
    • 0๏ธโƒฃ [NEW] Set default time format in form binding #1487
    • [FIX] Add BindXML and ShouldBindXML #1485
    • โฌ†๏ธ [NEW] Upgrade dependency libraries #1491