mirror of
https://github.com/labstack/echo.git
synced 2024-12-24 20:14:31 +02:00
c5a3575d4c
Signed-off-by: Vishal Rana <vr@labstack.com>
1.3 KiB
1.3 KiB
+++ title = "Migration" description = "Migration" [menu.side] name = "Migration" parent = "guide" weight = 2 +++
V3
Change Log
- Automatic TLS certificates via Let's Encrypt
- Built-in support for graceful shutdown
- Dropped static middleware in favor of
Echo#Static
- Utility functions to wrap standard handler and middleware
Map
type as shorthand formap[string]interface{}
- Context now wraps standard net/http Request and Response
- New configuration
Echo#ShutdownTimeout
Echo#DisableHTTP2
- New API
Echo#Start()
Echo#StartTLS()
Echo#StartAutoTLS()
Echo#StartServer()
Echo#Shutdown()
Echo#ShutdownTLS()
Context#Scheme()
Context#RealIP()
Context#IsTLS()
- Exposed the following properties instead of setter / getter functions on
Echo
instance:Binder
Renderer
HTTPErrorHandler
Debug
Logger
- Enhanced redirect and CORS middleware
- Dropped API
Echo#Run()
Context#P()
- Dropped standard
Context
support - Dropped support for
fasthttp
- Dropped deprecated API
- Moved
Logger
interface to root level - Moved website and recipes to the main repo
- Updated docs and fixed numerous issues