|
1 |
| -# CHANGELOG |
| 1 | + |
| 2 | +### Gin 1.4.0 |
| 3 | + |
| 4 | +- [NEW] Support for [Go Modules](https://github.com/golang/go/wiki/Modules) [#1569](https://github.com/gin-gonic/gin/pull/1569) |
| 5 | +- [NEW] Refactor of form mapping multipart requesta [#1829](https://github.com/gin-gonic/gin/pull/1829) |
| 6 | +- [FIX] Truncate Latency precision in long running request [#1830](https://github.com/gin-gonic/gin/pull/1830) |
| 7 | +- [FIX] IsTerm flag should not be affected by DisableConsoleColor method. [#1802](https://github.com/gin-gonic/gin/pull/1802) |
| 8 | +- [NEW] Supporting file binding [#1264](https://github.com/gin-gonic/gin/pull/1264) |
| 9 | +- [NEW] Add support for mapping arrays [#1797](https://github.com/gin-gonic/gin/pull/1797) |
| 10 | +- [FIX] Readme updates [#1793](https://github.com/gin-gonic/gin/pull/1793) [#1788](https://github.com/gin-gonic/gin/pull/1788) [1789](https://github.com/gin-gonic/gin/pull/1789) |
| 11 | +- [FIX] StaticFS: Fixed Logging two log lines on 404. [#1805](https://github.com/gin-gonic/gin/pull/1805), [#1804](https://github.com/gin-gonic/gin/pull/1804) |
| 12 | +- [NEW] Make context.Keys available as LogFormatterParams [#1779](https://github.com/gin-gonic/gin/pull/1779) |
| 13 | +- [NEW] Use internal/json for Marshal/Unmarshal [#1791](https://github.com/gin-gonic/gin/pull/1791) |
| 14 | +- [NEW] Support mapping time.Duration [#1794](https://github.com/gin-gonic/gin/pull/1794) |
| 15 | +- [NEW] Refactor form mappings [#1749](https://github.com/gin-gonic/gin/pull/1749) |
| 16 | +- [NEW] Added flag to context.Stream indicates if client disconnected in middle of stream [#1252](https://github.com/gin-gonic/gin/pull/1252) |
| 17 | +- [FIX] Moved [examples](https://github.com/gin-gonic/examples) to stand alone Repo [#1775](https://github.com/gin-gonic/gin/pull/1775) |
| 18 | +- [NEW] Extend context.File to allow for the content-dispositon attachments via a new method context.Attachment [#1260](https://github.com/gin-gonic/gin/pull/1260) |
| 19 | +- [FIX] Support HTTP content negotiation wildcards [#1112](https://github.com/gin-gonic/gin/pull/1112) |
| 20 | +- [NEW] Add prefix from X-Forwarded-Prefix in redirectTrailingSlash [#1238](https://github.com/gin-gonic/gin/pull/1238) |
| 21 | +- [FIX] context.Copy() race condition [#1020](https://github.com/gin-gonic/gin/pull/1020) |
| 22 | +- [NEW] Add context.HandlerNames() [#1729](https://github.com/gin-gonic/gin/pull/1729) |
| 23 | +- [FIX] Change color methods to public in the defaultLogger. [#1771](https://github.com/gin-gonic/gin/pull/1771) |
| 24 | +- [FIX] Update writeHeaders method to use http.Header.Set [#1722](https://github.com/gin-gonic/gin/pull/1722) |
| 25 | +- [NEW] Add response size to LogFormatterParams [#1752](https://github.com/gin-gonic/gin/pull/1752) |
| 26 | +- [NEW] Allow ignoring field on form mapping [#1733](https://github.com/gin-gonic/gin/pull/1733) |
| 27 | +- [NEW] Add a function to force color in console output. [#1724](https://github.com/gin-gonic/gin/pull/1724) |
| 28 | +- [FIX] Context.Next() - recheck len of handlers on every iteration. [#1745](https://github.com/gin-gonic/gin/pull/1745) |
| 29 | +- [FIX] Fix all errcheck warnings [#1739](https://github.com/gin-gonic/gin/pull/1739) [#1653](https://github.com/gin-gonic/gin/pull/1653) |
| 30 | +- [NEW] context: inherits context cancellation and deadline from http.Request context for Go>=1.7 [#1690](https://github.com/gin-gonic/gin/pull/1690) |
| 31 | +- [NEW] Binding for URL Params [#1694](https://github.com/gin-gonic/gin/pull/1694) |
| 32 | +- [NEW] Add LoggerWithFormatter method [#1677](https://github.com/gin-gonic/gin/pull/1677) |
| 33 | +- [FIX] CI testing updates [#1671](https://github.com/gin-gonic/gin/pull/1671) [#1670](https://github.com/gin-gonic/gin/pull/1670) [#1682](https://github.com/gin-gonic/gin/pull/1682) [#1669](https://github.com/gin-gonic/gin/pull/1669) |
| 34 | +- [FIX] StaticFS(): Send 404 when path does not exist [#1663](https://github.com/gin-gonic/gin/pull/1663) |
| 35 | +- [FIX] Handle nil body for JSON binding [#1638](https://github.com/gin-gonic/gin/pull/1638) |
| 36 | +- [FIX] Support bind uri param [#1612](https://github.com/gin-gonic/gin/pull/1612) |
| 37 | +- [FIX] recovery: fix issue with syscall import on google app engine [#1640](https://github.com/gin-gonic/gin/pull/1640) |
| 38 | +- [FIX] Make sure the debug log contains line breaks [#1650](https://github.com/gin-gonic/gin/pull/1650) |
| 39 | +- [FIX] Panic stack trace being printed during recovery of broken pipe [#1089](https://github.com/gin-gonic/gin/pull/1089) [#1259](https://github.com/gin-gonic/gin/pull/1259) |
| 40 | +- [NEW] RunFd method to run http.Server through a file descriptor [#1609](https://github.com/gin-gonic/gin/pull/1609) |
| 41 | +- [NEW] Yaml binding support [#1618](https://github.com/gin-gonic/gin/pull/1618) |
| 42 | +- [FIX] Pass MaxMultipartMemory when FormFile is called [#1600](https://github.com/gin-gonic/gin/pull/1600) |
| 43 | +- [FIX] LoadHTML* tests [#1559](https://github.com/gin-gonic/gin/pull/1559) |
| 44 | +- [FIX] Removed use of sync.pool from HandleContext [#1565](https://github.com/gin-gonic/gin/pull/1565) |
| 45 | +- [FIX] Format output log to os.Stderr [#1571](https://github.com/gin-gonic/gin/pull/1571) |
| 46 | +- [FIX] Make logger use a yellow background and a darkgray text for legibility [#1570](https://github.com/gin-gonic/gin/pull/1570) |
| 47 | +- [FIX] Remove sensitive request information from panic log. [#1370](https://github.com/gin-gonic/gin/pull/1370) |
| 48 | +- [FIX] log.Println() does not print timestamp [#829](https://github.com/gin-gonic/gin/pull/829) [#1560](https://github.com/gin-gonic/gin/pull/1560) |
| 49 | +- [NEW] Add PureJSON renderer [#694](https://github.com/gin-gonic/gin/pull/694) |
| 50 | +- [FIX] Add missing copyright and update if/else [#1497](https://github.com/gin-gonic/gin/pull/1497) |
| 51 | +- [FIX] Update msgpack usage [#1498](https://github.com/gin-gonic/gin/pull/1498) |
| 52 | +- [FIX] Use protobuf on render [#1496](https://github.com/gin-gonic/gin/pull/1496) |
| 53 | +- [FIX] Add support for Protobuf format response [#1479](https://github.com/gin-gonic/gin/pull/1479) |
| 54 | +- [NEW] Set default time format in form binding [#1487](https://github.com/gin-gonic/gin/pull/1487) |
| 55 | +- [FIX] Add BindXML and ShouldBindXML [#1485](https://github.com/gin-gonic/gin/pull/1485) |
| 56 | +- [NEW] Upgrade dependency libraries [#1491](https://github.com/gin-gonic/gin/pull/1491) |
| 57 | + |
2 | 58 |
|
3 | 59 | ### Gin 1.3.0
|
4 | 60 |
|
|
0 commit comments