Skip to content

Releases: labstack/echo

v4.1.2

29 Apr 06:10
Compare
Choose a tag to compare

Fixed sub-group for virtual hosts

v4.1.1

29 Apr 05:49
Compare
Choose a tag to compare

Added a method to return map of routers

v4.1.0

29 Apr 05:29
Compare
Choose a tag to compare
  • 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: accept string 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()

30 Jan 14:39
Compare
Choose a tag to compare

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

28 Jan 14:42
Compare
Choose a tag to compare

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

27 Jan 13:20
Compare
Choose a tag to compare

Removed unnecessary alloc for XML, JSON, JSONP (#1199)
Add golint to ci (#1243)
Updated comment (#1245)
Comment typo fix (#1246)
Balance double-quotes in json (#1232)
Added probot-stale

v3.3.8

23 Nov 06:38
Compare
Choose a tag to compare

Added user-agent to logger middleware

v3.3.7

06 Nov 02:04
Compare
Choose a tag to compare
  • 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

11 Sep 04:43
Compare
Choose a tag to compare
  • 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

v3.3.5

05 Nov 15:24
Compare
Choose a tag to compare
  • Export version #1096
  • Dropped Go 1.7 #1100
  • HTTPError#Inner to HTTPError#Internal
  • Enhanced UI for static middleware file browsing