1
0
mirror of https://github.com/labstack/echo.git synced 2026-04-24 20:55:53 +02:00

Commit Graph

  • 0143b9da1e fix(lint): resolve staticcheck issues and improve code quality (#2941) master llyaz 2026-04-07 14:03:50 +03:00
  • 607f385cb8 use ListenConfig for StartConfig listeners Eric Gusmao 2026-04-03 13:23:37 -03:00
  • 492ebd7336 Add golangci linter configuration toim 2026-03-31 12:36:53 +03:00
  • 597b4faaa9 Changelog for v5.1.0 v5.1.0 toim 2026-03-31 23:50:18 +03:00
  • c192e50a9e Merge pull request #2933 from aldas/LegacyIPExtractor Martti T. 2026-03-31 23:42:09 +03:00
  • 22e4b71109 Remove legacy IP extraction logic from context.RealIP method and move it to LegacyIPExtractor IP extraction function. toim 2026-03-31 23:26:41 +03:00
  • 83e04d265e Do not set http.Server.WriteTimeout in StartConfig this is bad for SSE and static file serving (#2932) Martti T. 2026-03-31 15:23:49 +03:00
  • a7005b2f5f Add NewDefaultFS function to help create filesystem that allows absolute paths (#2931) Martti T. 2026-03-31 14:27:50 +03:00
  • a0e5ff7ea0 Add doc comments to clarify usage of File related methods and leading slash handling toim 2026-03-29 23:06:28 +03:00
  • 3f50cc66c2 Fix rate limiter documentation for default burst value karesansui 2026-03-25 13:19:03 +09:00
  • 675712da34 Add StartConfig.Listener so server with custom Listener is easier to create. toim 2026-03-19 13:11:30 +02:00
  • 7d228b2efe Add https://github.com/labstack/echo-prometheus to the middleware list in README.md toim 2026-03-19 11:09:55 +02:00
  • ec05bc8507 fix: correct spelling mistakes in comments and field name majianhan 2026-03-12 09:23:40 +08:00
  • 1753170a74 Add https://github.com/labstack/echo-opentelemetry to the middleware list in README.md toim 2026-02-24 00:59:03 +02:00
  • 6f3a84a505 Merge pull request #2905 from aldas/v4_crsf_token_fallback v4.15.1 v4 Martti T. 2026-02-22 13:50:50 +02:00
  • 24fa4d07ff CSRF: support older token-based CSRF protection handler that want to render token into template toim 2026-02-10 10:23:11 +02:00
  • fa5311b26a Add changelog for v5.0.4 release v5.0.4 toim 2026-02-15 17:44:43 +02:00
  • a260cf5d7f Merge pull request #2900 from aldas/v5_resolveresponsestatus Martti T. 2026-02-14 17:39:44 +02:00
  • 9183f1e809 CSRF: support older token-based CSRF protection handler that want to render token into template toim 2026-02-10 10:23:11 +02:00
  • 19364e2b12 use ResolveResponseStatus in RequestLogger middleware toim 2026-02-12 18:49:39 +02:00
  • 717034fc7a Add ResolveResponseStatus function to help middleware/handlers determine HTTP status code and echo.Response toim 2026-02-12 18:14:20 +02:00
  • 00991f2969 Add new function "echo.StatusCode" to resolve status code from errors implementing HTTPStatusCoder interface Martti T. 2026-02-12 17:32:44 +02:00
  • 4dd9f46413 rename and moved to HttpStatusCoder below keitosuwahara 2026-02-13 00:18:50 +09:00
  • 9e37c93010 removed Is method and improved StatusCode method keitosuwahara 2026-02-12 22:29:13 +09:00
  • 2c377f1e6f add Go 1.26 to CI flow + update security.md contents Martti T. 2026-02-12 14:22:45 +02:00
  • 817d037a0f Update security version table toim 2026-02-12 14:18:23 +02:00
  • 909581fd92 Add Go 1.26 (https://go.dev/doc/go1.16) to CI toim 2026-02-12 14:18:02 +02:00
  • 215808e09f Update location of oapi-codegen in README Marcin Romaszewicz 2026-02-11 08:36:26 -08:00
  • fa0078cfd6 Graceful shutdown: http.Serve needs to wait for graceful shutdown goroutine to finish. Fixes #2897 toim 2026-02-12 09:07:41 +02:00
  • a16859ca8f add/Is_method keitosuwahara 2026-02-09 19:46:10 +09:00
  • ea6bb41f76 Merge pull request #2889 from kumapower17/patch-1 Martti T. 2026-02-09 11:26:03 +02:00
  • b1d443086e Merge pull request #2891 from aldas/fix_staticmw v5.0.3 Martti T. 2026-02-06 15:23:31 +02:00
  • 48f25a6c16 Fix test reporting different size due Windows / Linux line ending inconsistencies toim 2026-02-06 15:21:00 +02:00
  • 6c162596b4 Fix directory traversal vulnerability under Windows in Static middleware when default Echo filesytem is used (effectively middleware.StaticConfig{Filesystem: nil}) toim 2026-02-06 15:03:55 +02:00
  • 88d975a83d Fix directory traversal vulnerability under Windows in Static middleware when default Echo filesytem is used (effectively middleware.StaticConfig{Filesystem: nil}) toim 2026-02-06 12:27:18 +02:00
  • 4000fc8fc2 Remove unused import 'errors' from README example kumapower17 2026-02-06 08:46:37 +08:00
  • 09ccfbaace Fill c.Request().Pattern field with route path to help standard library based middlewares. toim 2026-02-02 08:51:19 +02:00
  • 68aaf3a429 Changelog for version 5.0.2 v5.0.2 toim 2026-02-02 19:59:39 +02:00
  • 26ec148ea7 security (static middleware): fix bowser=true listing all file names from given filesystem root toim 2026-02-02 18:26:49 +02:00
  • ba104908b9 Merge pull request #2880 from aldas/changelog_501 v5.0.1 Martti T. 2026-01-28 23:28:05 +02:00
  • 0954d6e36e Changelog for v5.0.1 release toim 2026-01-28 22:59:16 +02:00
  • 8e4c91f736 Create SECURITY.md Martti T. 2026-01-28 22:49:48 +02:00
  • 1f3ef29366 Context: json should not send status code before serialization is complete (#2877) Martti T. 2026-01-28 11:41:43 +02:00
  • 489646e68e fix: enhance IsWebSocket() test cases with Connection header validation Raju Ahmed 2026-01-23 20:09:00 +06:00
  • f1d43af105 fix: add Connection header validation to IsWebSocket() (RFC 6455) Raju Ahmed 2026-01-23 20:04:48 +06:00
  • 3205495cc9 Update RateLimiterWithConfig example Cyril Galibern 2026-01-26 16:25:23 +01:00
  • 096ce41d2a Panic MW: will now return a custom PanicStackError with stack trace when config.DisablePrintStack is set to false. toim 2026-01-20 12:41:59 +02:00
  • 9500f27454 Changelog for v5.0.0 release v5.0.0 toim 2026-01-18 17:50:48 +02:00
  • c0ff1d4021 fix failing tests under Windows toim 2026-01-18 17:34:15 +02:00
  • b3e13e9249 Bump dependencies and update migration guide for Echo v5 support. Add notes about supported Echo versions to README.md. toim 2026-01-18 12:55:48 +02:00
  • 8bfe9f52b4 Serve does not return http.ErrServerClosed anymore, handle graceful shutdown properly toim 2026-01-14 00:02:59 +02:00
  • 98913cd896 Echo logger defaults to slog.NewJSONHandler toim 2026-01-13 21:55:30 +02:00
  • 85e01ed1f8 Response should implement http.Flusher and http.Hijacker to work with older libraries that do not use http.NewResponseController() toim 2026-01-06 11:12:52 +02:00
  • f071367e3c V5 changes toimtoimtoim 2025-12-26 16:21:08 +02:00
  • d74dd5601a Changelog for v5.0.0 release v5 toim 2026-01-18 17:50:48 +02:00
  • 45c8c14c21 fix failing tests under Windows toim 2026-01-18 17:34:15 +02:00
  • 2b8f3817ef Bump dependencies and update migration guide for Echo v5 support. Add notes about supported Echo versions to README.md. toim 2026-01-18 12:55:48 +02:00
  • 6f1ae101a4 Serve does not return http.ErrServerClosed anymore, handle graceful shutdown properly toim 2026-01-14 00:02:59 +02:00
  • ff6eb048ab Echo logger defaults to slog.NewJSONHandler toim 2026-01-13 21:55:30 +02:00
  • d6cb58b5c2 Response should implement http.Flusher and http.Hijacker to work with older libraries that do not use http.NewResponseController() toim 2026-01-06 11:12:52 +02:00
  • ec9232814e V5 changes toimtoimtoim 2025-12-26 16:21:08 +02:00
  • 482bb46fe5 v4.15.0 changelog v4.15.0 toimtoimtoim 2026-01-01 12:52:26 +02:00
  • d0f9d1e735 CRSF with Sec-Fetch-Site=same-site falls back to legacy token toimtoimtoim 2025-12-29 23:14:29 +02:00
  • f3fc61848f CRSF with Sec-Fetch-Site checks toimtoimtoim 2025-12-29 22:47:42 +02:00
  • 4dcb9b44f0 licence headers toimtoimtoim 2025-12-25 15:50:46 +02:00
  • cbc0ac1dbc Add PathParam(Or)/QueryParam(Or)/FormParam(Or) generic functions toimtoimtoim 2025-12-25 15:29:37 +02:00
  • 6b14f4ef3f Add Context.Get generic functions toimtoimtoim 2025-12-25 15:28:38 +02:00
  • 321530d2c2 disable test - returns different error under Windows toimtoimtoim 2025-12-12 12:46:58 +02:00
  • c8abd9f7db disable flaky test toimtoimtoim 2025-12-12 12:40:36 +02:00
  • 9fe43f78b8 fix Rate limiter disallows fractional rates toimtoimtoim 2025-12-12 11:23:24 +02:00
  • 1b5122aaed document things to reduce false positives toimtoimtoim 2025-12-12 10:51:24 +02:00
  • b70ec6a084 add checks for invalid casts toimtoimtoim 2025-12-12 10:05:31 +02:00
  • cdcf16d3cf deprecate timeout middleware toimtoimtoim 2025-12-12 10:04:55 +02:00
  • c9b8b36c9a fix Time-of-Check-Time-of-Use bug in rate limiter toimtoimtoim 2025-12-12 09:47:15 +02:00
  • 1d63c1c242 licence to test file toimtoimtoim 2025-12-11 23:48:48 +02:00
  • f7dc94df14 handle errors in body dump middleware toimtoimtoim 2025-12-11 23:47:24 +02:00
  • 0232b57927 improve logger middleware error value logging toimtoimtoim 2025-12-11 23:38:49 +02:00
  • e2133320c7 fix goroutine leak in proxy raw mode toimtoimtoim 2025-12-11 23:29:55 +02:00
  • 88a60e4bac fix data race with errors in proxy raw toimtoimtoim 2025-12-11 23:21:24 +02:00
  • 6392cb4598 Changelog for 4.14.0 v4.14.0 toimtoimtoim 2025-12-11 22:40:41 +02:00
  • c9bd2cd8e3 Update golang.org/x/* deps (#2850) Martti T. 2025-12-11 15:38:04 +02:00
  • c12cb08a86 Logger middleware json string escaping and deprecation (#2849) Martti T. 2025-12-11 14:39:59 +02:00
  • 612967a9fe Update deps toimtoimtoim 2025-11-22 16:12:13 +02:00
  • 53b692c4d4 Ensure proxy connection is closed in proxyRaw function (#2837) kumapower17 2025-10-25 11:54:29 +08:00
  • e644ff8f7b Replace custom private IP range check with built-in net.IP.IsPrivate() method kumapower17 2025-10-15 23:41:19 +08:00
  • 40e2e8faf9 Fix typo "+" yuya-morimoto 2025-10-07 16:34:58 +09:00
  • 55cb3b625d Optimize realm quoting to happen once during middleware creation Vishal Rana 2025-09-15 21:54:13 -07:00
  • dbd583fa4d Add comprehensive tests for realm quoting behavior Vishal Rana 2025-09-15 21:53:07 -07:00
  • 432a2adf46 Improve BasicAuth middleware: use strings.Cut and RFC compliance Vishal Rana 2025-09-15 20:46:38 -07:00
  • 212bfe0071 Fix typo in ContextTimeout middleware comment Vishal Rana 2025-09-15 21:04:06 -07:00
  • b4ea924836 Fix typo in SetParamValues comment Vishal Rana 2025-09-15 21:05:14 -07:00
  • 52d2bff1b9 Modernize context.go by replacing interface{} with any (#2822) Vishal Rana 2025-09-15 22:08:28 -07:00
  • 6ff0f2537b Add Go Interview Practice to Learning Resources add-go-interview-practice-resource Vishal Rana 2025-09-15 19:58:37 -07:00
  • f1ebc67c56 Enhance Logger Middleware Documentation with Detailed Configuration Examples Vishal Rana 2025-09-15 19:27:34 -07:00
  • b7a781ce5d Add comprehensive tests for IP extraction improvements Vishal Rana 2025-09-15 19:21:57 -07:00
  • d0137c3e80 Revert Issue #2813 fix based on maintainer feedback Vishal Rana 2025-09-15 19:08:27 -07:00
  • 2fb84197e9 Fix DefaultBinder empty body handling for unknown ContentLength Vishal Rana 2025-09-15 18:47:57 -07:00
  • 61da50fefc Update test to expect improved Response.Flush error message Vishal Rana 2025-09-15 17:54:49 -07:00
  • a92f4209c6 Fix IP extraction fallback and improve Response.Flush error messages Vishal Rana 2025-09-15 17:51:44 -07:00
  • 5ac2f11f21 Use Go 1.25 in CI (#2810) Martti T. 2025-08-29 17:53:06 +03:00