Skip to content

Releases: labstack/echo

v1.4.2

09 Jun 20:31
Compare
Choose a tag to compare
  • Fixed log level type

v2.0.0

08 Jun 03:29
Compare
Choose a tag to compare

v1.4.1

03 Jun 14:52
Compare
Choose a tag to compare

v2.0.0-beta.2

21 Mar 21:19
Compare
Choose a tag to compare
v2.0.0-beta.2 Pre-release
Pre-release

v1.4

20 Mar 04:02
Compare
Choose a tag to compare
v1.4

v2.0.0-beta.1

11 Mar 02:09
Compare
Choose a tag to compare
v2.0.0-beta.1 Pre-release
Pre-release
Fixed recover and gzip middleware

Signed-off-by: Vishal Rana <[email protected]>

v2.0.0-apha.2

05 Mar 04:20
Compare
Choose a tag to compare
v2.0.0-apha.2 Pre-release
Pre-release
GAE fix

Signed-off-by: Vishal Rana <[email protected]>

2.0.0-apha.1

10 Feb 04:32
Compare
Choose a tag to compare
2.0.0-apha.1 Pre-release
Pre-release
Fixed test cases

Signed-off-by: Vishal Rana <[email protected]>

2.0.0-alpha

09 Feb 06:46
Compare
Choose a tag to compare
2.0.0-alpha Pre-release
Pre-release
package main

import (
    "github.com/labstack/echo"
    "github.com/labstack/echo/engine"
    mw "github.com/labstack/echo/middleware"
)

func main() {
    e := echo.New()
    // e.SetEngine(engine.FastHTTP)
    e.Use(mw.Log())
    e.Get("/", func(c echo.Context) error {
        return c.String(200, "Hello, World!")
    })
    e.Get("/v2", func(c echo.Context) error {
        return c.String(200, "Echo v2")
    })
    e.Run(":4444")
}

v1.3

01 Dec 23:10
Compare
Choose a tag to compare

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).