Skip to content

v1.3

Compare
Choose a tag to compare
@vishr vishr released this 01 Dec 23:10
· 1289 commits to master since this release

Echo v1.3

Website
Godoc

  • Support for golang.org/x/net/context
  • Logging with option to set prefix, output and levels.
    • Echo#SetLogPrefix()
    • Echo#SetLogOutput()
    • Echo#SetLogLevel()
  • Echo#Hook Registers a callback to alter request/response objects even before it hits the router or any middleware.
    • Echo#Hook()
  • Echo#AutoIndex() - Enables/disables automatically creating an index page for the directory.
  • Context#Path() - Returns the registered path for a handler, it can be used in the middleware for logging purpose.
  • Context#JSONIndent() - JSON response with indentation.
  • Context#XMLIndent - XML response with indentation.
  • Context#Echo() - Returns the Echo instance.
  • Dropped API
    • Echo#StripTrailingSlash() - Use Echo#Hook()
  • Refactored API
    • Context#String() - Dropped Printf, an option argument.
    • Context#HTML() - Dropped Printf, an optional argument.
  • Recipes
  • Community Packages
  • Updated docs
  • Closed many PRs and issues (v1.2.0...v1.3).