Gin v1.5.0 Release Notes

Release Date: 2019-11-28 // over 4 years ago
  • ๐Ÿ”‹ Feature

    • ๐Ÿ“œ [NEW] Now you can parse the inline lowercase start structure #1893
    • [NEW] [Break-Backward] Hold matched route full path in the Context #1826
    • [NEW] Add context param query cache #1450
    • ๐Ÿ‘ [NEW] Add support of multipart multi files #1949
    • ๐Ÿ‘ [NEW] Support bind http header param #1957
    • ๐Ÿ‘ [NEW] Support bind unix time #1980
    • ๐Ÿ‘ [NEW] Support negative Content-Length in DataFromReader #1981
    • [NEW] Add DisallowUnknownFields() in gin.Context.BindJSON() #2028
    • [NEW] Use specific net.Listener with Engine.RunListener() #2023

    ๐Ÿ› Bug fix

    • 0๏ธโƒฃ [FIX] Use DefaultWriter and DefaultErrorWriter for debug messages #1891
    • [FIX] Some code improvements #1909
    • [FIX] Use encode replace json marshal increase json encoder speed #1546
    • [FIX] Fix context.Params race condition on Copy() #1841
    • ๐ŸŽ [FIX] Improve GetQueryMap performance #1918
    • [FIX] Improve get post data #1920
    • [FIX] Use context instead of x/net/context #1922
    • [FIX] Attempt to fix PostForm cache bug #1931
    • [FIX] [Break-Backward] Drop support for go1.8 and go1.9 #1933
    • ๐Ÿ›  [FIX] Bugfix for the FullPath feature #1919
    • ๐Ÿ— [FIX] Gin1.5 bytes.Buffer to strings.Builder #1939
    • โฌ†๏ธ [FIX] Upgrade github.com/ugorji/go/codec #1969
    • [FIX] Simplify code #2004
    • ๐Ÿ”Š [FIX] Identify terminal on a RISC-V architecture for auto-colored logs #2019
    • [FIX] [Break-Backward] Context.JSONP() now expects a semicolon (;) at the end #2007
    • [FIX] [Break-Backward] Upgrade validator version to v9 #1015
    • [FIX] Fix some typo #2079 #2080
    • โœ… [FIX] Relocate binding body tests #2086
    • [FIX] Use Writer in Context.Status #1606
    • [FIX] Engine.RunUnix() now returns the error if it can't change the file mode #2093
    • [FIX] RouterGroup.StaticFS() leaked files. Now it closes them. #2118
    • [FIX] Context.Request.FormFile leaked file, now it closes it #2114
    • [FIX] Ignore walking on form:"-" mapping #1943
    • [REFACTOR] [Break-Backward] Use encode replace json marshal increase json encoder speed #1546