Skip to content

Releases: labstack/echo

v2.0.0-beta.2

21 Mar 21:19

Choose a tag to compare

v2.0.0-beta.2 Pre-release
Pre-release

v1.4

20 Mar 04:02

Choose a tag to compare

v1.4

v2.0.0-beta.1

11 Mar 02:09

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

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

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

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

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

v1.2.0

11 Oct 21:15

Choose a tag to compare

  • New API
    • Echo.Any - Any adds a route > handler to the router for all HTTP methods.
    • Echo.Match - Match adds a route > handler to the router for multiple HTTP methods provided.
    • Response.Committed - Getter function for committed status.
    • Context.File - Sends response as file with option to download as attachment.
    • Context.JSONP - JSONP sends a JSONP response with status code. It uses callback to construct the JSONP payload.
  • Dropped API
    • RedirectToSlash middleware
  • Refactored API
    • Echo.Debug
    • Echo.SetDebug
    • StripTrailingSlash middleware moved to Echo.StripTrailingSlash
  • Enhancements
  • Closed the following issues

v1.1.0

18 Jul 06:02

Choose a tag to compare

Production ready

22 Jun 22:50

Choose a tag to compare

  • New API
    • ServeDir - ServeDir serves files from a directory
    • DefaultHTTPErrorHandler - Invokes the default HTTP error handler
  • Improved router performance
  • More test coverage
  • Fixed issues
  • Examples
    • Steaming response
  • New URL for the website http://echo.labstack.com