Gin Versions Save

Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.

v1.1.4

7 years ago

v1.1.3

7 years ago

v1.1

7 years ago

v1.1 (#751)

  • Implement QueryArray and PostArray methods
  • Refactor GetQuery and GetPostForm
  • Removed additional Iota

I think assigning iota to each constant is not required

  • Add 1.7 test.
  • Add codecov.io
  • corrected a typo in README
  • remove coveralls services.

Signed-off-by: Bo-Yi Wu [email protected]

  • Update TravisCI to Gitter webhook
  • Add codecov.yml Gitter webhook
  • Changed imports to gopkg instead of github in README (#733)
  • Add contribution guide
  • Update go get for stable version

In the future, github default branch will be develop so running go get github.com/gin-gonic/gin will pull latest code from develop.

  • Changed imports to gopkg instead of github in README
  • Update README.md
  • Logger: skip ANSI color commands if output is not a tty

Special note: 👏 Thanks to @appleboy and @tboerger for their awesome work managing PRs and issues for this version. This just only started :wink:

v1.0-rc.2

7 years ago
  • This tag / release points to the latest commit as of today in develop.
  • Added a new maintainer to the organization @appleboy

(Expect a final v1.0 very soon, for now you can use this release as the latest stable work available)

v1.0rc1

8 years ago
  • [PERFORMANCE] Zero allocation router
  • [PERFORMANCE] Faster JSON, XML and text rendering
  • [PERFORMANCE] Custom hand optimized HttpRouter for Gin
  • [PERFORMANCE] Misc code optimizations. Inlining, tail call optimizations
  • [NEW] Built-in support for golang.org/x/net/context
  • [NEW] Any(path, handler). Create a route that matches any path
  • [NEW] Refactored rendering pipeline (faster and static typeded)
  • [NEW] Refactored errors API
  • [NEW] IndentedJSON() prints pretty JSON
  • [NEW] Added gin.DefaultWriter
  • [NEW] UNIX socket support
  • [NEW] RouterGroup.BasePath is exposed
  • [NEW] JSON validation using go-validate-yourself (very powerful options)
  • [NEW] Completed suite of unit tests
  • [NEW] HTTP streaming with c.Stream()
  • [NEW] StaticFile() creates a router for serving just one file.
  • [NEW] StaticFS() has an option to disable directory listing.
  • [NEW] StaticFS() for serving static files through virtual filesystems
  • [NEW] Server-Sent Events native support
  • [NEW] WrapF() and WrapH() helpers for wrapping http.HandlerFunc and http.Handler
  • [NEW] Added LoggerWithWriter() middleware
  • [NEW] Added RecoveryWithWriter() middleware
  • [NEW] Added DefaultPostFormValue()
  • [NEW] Added DefaultFormValue()
  • [NEW] Added DefaultParamValue()
  • [FIX] BasicAuth() when using custom realm
  • [FIX] Bug when serving static files in nested routing group
  • [FIX] Redirect using built-in http.Redirect()
  • [FIX] Logger when printing the requested path
  • [FIX] Documentation typos
  • [FIX] Context.Engine renamed to Context.engine
  • [FIX] Better debugging messages
  • [FIX] ErrorLogger
  • [FIX] Debug HTTP render
  • [FIX] Refactored binding and render modules
  • [FIX] Refactored Context initialization
  • [FIX] Refactored BasicAuth()
  • [FIX] NoMethod/NoRoute handlers
  • [FIX] Hijacking http
  • [FIX] Better support for Google App Engine (using log instead of fmt)