Skip to content

Releases: gin-gonic/gin

v1.2

02 Jul 09:30
Compare
Choose a tag to compare
  • [NEW] Switch from godeps to govendor
  • [NEW] Add support for Let's Encrypt via gin-gonic/autotls
  • [NEW] Improve README examples and add extra at examples folder
  • [NEW] Improved support with App Engine
  • [NEW] Add custom template delimiters, see #860
  • [NEW] Add Template Func Maps, see #962
  • [NEW] Add *context.Handler(), see #928
  • [NEW] Add *context.GetRawData()
  • [NEW] Add *context.GetHeader() (request)
  • [NEW] Add *context.AbortWithStatusJSON() (JSON content type)
  • [NEW] Add *context.Keys type cast helpers
  • [NEW] Add *context.ShouldBindWith()
  • [NEW] Add *context.MustBindWith()
  • [NEW] Add *engine.SetFuncMap()
  • [DEPRECATE] On next release: *context.BindWith(), see #855
  • [FIX] Refactor render
  • [FIX] Reworked tests
  • [FIX] logger now supports cygwin
  • [FIX] Use X-Forwarded-For before X-Real-Ip
  • [FIX] time.Time binding (#904)

Release v1.1.4

05 Dec 01:25
Compare
Choose a tag to compare
  • #754 Support google appengine for IsTerminal func.

Release v1.1.3

04 Dec 00:39
Compare
Choose a tag to compare
  • Reverted Logger: skip ANSI color commands PR #744 #753

v1.1

03 Dec 09:13
Compare
Choose a tag to compare

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 appleboy.tw@gmail.com

  • 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 😉

v1.0-rc.2

12 Oct 12:23
Compare
Choose a tag to compare
  • 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

22 May 15:03
Compare
Choose a tag to compare
  • [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)