Releases: labstack/echo
Releases · labstack/echo
v4.1.2
v4.1.1
v4.1.0
- Built-in capability to run multiple hosts via
Echo#Host()
- Fix unhandled errors (#1271)
- Simplify code of Add/Remove trailing slash and fix bug (#1275)
- Use concurrency safe context by default. (#1158)
Echo.StartTLS
: acceptstring
or[]byte
as parameters. (#1277)- Support Content-Security-Policy-Report-Only header (#1287)
- Refactor DefaultProxyConfig Skipper & WebSocket Check in Context (#1297)
- Enable adding
preload
tag to HSTS header (#1247) - Set subdomains to AllowOrigins with wildcard (#1301)
- Ensure that the TLS config contains the ALPN protocol (#1305)
- Fix flushing in Gzip middleware (#1317)
- Updated dependencies
Introduced Go module support as v4, removed obsolete CloseNotifier()
This reintroduces support for Go modules, as v4. Please see the README for compatibility.
CloseNotifier() is removed as it has been obsoleted, see https://golang.org/doc/go1.11#net/http
It was already NOT working (not sending signals) as of 1.11 the functionality was gone, we merely
deleted the functions that exposed it. If anyone still relies on it they should migrate to using
c.Request().Context().Done()
instead.
Fixing Go modules
This releases removed the initial support for Go modules, in order to get things working in end users own modules. This fixes the issue where for go module enabled projects only v3.3.5 was being pulled (the last version before adding go.mod to Echo).
Support for Go modules will be reintroduced with a new, V4 version.
v3.3.9
v3.3.8
v3.3.7
- Update dependencies (#1194)
- Simplify REALIP method (#1193)
- Expose stdLogger (#1196)
- Add error variable for too many request (#1181)
- Support internal error when Bind() data #888 (#1164)
- The logging interface add SetHeader method (#1092)
- Add common error variable (#1200)
- Fix node's parameter names assignment problem. (#1201)
- Extend proxy middleware. (#1203)
- Proxy: Better errors + remote custom TLS (#1197)
- Replace http constants with stdlib ones
- Delete useless goto statements (#1208)
- Add back exported HTTP method constants (#1209)
v3.3.6
- Remove unnecessary if-s and else-s (#1189)
- Add go.mod for Go modules (#1187)
- Add go 1.11.x version (#1186)
- Fix issue #1143 (#1176)
- Use HTTP status codes constants where applicable (#1184)
- Change getting method point after overriding method in premiddleware (#1182)
- Logs the internal error message instead of returning it (#1173)
- Jwtconfig adds an HTTPErrorCustom configuration (#1121)
- Add protocol field for logger middleware
- JWT middleware BeforeFunc, SuccessHandler & ErrorHandler functions
- Added error to logger middleware
- Removed error log from http error handler