1
0
mirror of https://github.com/labstack/echo.git synced 2025-11-25 22:32:23 +02:00

Commit Graph

  • 612967a9fe Update deps master 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
  • cbff9d1971 Optimize realm quoting to happen once during middleware creation fix-basic-auth-improvements Vishal Rana 2025-09-15 21:54:13 -07:00
  • 9144e71b7a Add comprehensive tests for realm quoting behavior Vishal Rana 2025-09-15 21:53:07 -07:00
  • 8d0d5f5c43 Rewrite README.md with impressive modern design impressive-readme-rewrite Vishal Rana 2025-09-15 21:15:57 -07:00
  • 327828a7c4 Fix typo in SetParamValues comment fix-typo-brake-break Vishal Rana 2025-09-15 21:05:14 -07:00
  • e6674baede Fix typo in ContextTimeout middleware comment fix-typo-context-timeout Vishal Rana 2025-09-15 21:04:06 -07:00
  • a9df64c8da Improve secure middleware readability and add deprecation notice improve-secure-middleware-readability Vishal Rana 2025-09-15 20:54:12 -07:00
  • dc5d145a3f Improve BasicAuth middleware: use strings.Cut and RFC compliance Vishal Rana 2025-09-15 20:46:38 -07:00
  • c05d3d35b7 Modernize remaining interface{} to any in context.go modernize-remaining-interface-any Vishal Rana 2025-09-15 20:43:39 -07:00
  • 3b65867b99 Modernize for loop using range over int in SetParamValues modernize-for-loop-range-over-int Vishal Rana 2025-09-15 20:41:29 -07:00
  • c298e30a33 Fix misleading Context.Bind documentation comment fix-context-bind-comment Vishal Rana 2025-09-15 20:13:03 -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
  • 9c11b31cc9 Document ContextTimeout middleware with comprehensive examples document-context-timeout-middleware Vishal Rana 2025-09-15 19:55:49 -07:00
  • 5a3f2ac6ce Enhance Logger Middleware Documentation with Detailed Configuration Examples enhance-logger-middleware-docs Vishal Rana 2025-09-15 19:30:26 -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
  • 9acf534182 refactor to use reflect.TypeFor (#2812) cui 2025-08-26 03:32:58 +08:00
  • 8493c61ede Update deps (#2807) Martti T. 2025-08-12 11:57:52 +03:00
  • 98ca08e7dd Improve changelog for 4.13.4 (#2783) v4.13.4 Martti T. 2025-05-22 14:18:29 +03:00
  • f24aaff49b Revert "CORS: reject requests with 401 for non-preflight request with not mat…" (#2782) Martti T. 2025-05-22 14:11:54 +03:00
  • 4cb5dc8522 Revert "CORS: reject requests with 401 for non-preflight request with not mat…" revert-2732-cors_reject_notmatching_origin Martti T. 2025-05-22 14:11:27 +03:00
  • 9f50a659e9 Changelog for 4.13.4 (#2781) Martti T. 2025-05-22 14:04:26 +03:00
  • d735cb6a2e Upgrade dependencies (#2780) Martti T. 2025-05-22 13:57:55 +03:00
  • de44c53a5b Add support for TLS WebSocket proxy (#2762) t-ibayashi-safie 2025-04-04 17:01:42 +09:00
  • c44f6283f0 CI: test with Go 1.24 (#2748) Martti T. 2025-02-12 19:17:34 +02:00
  • ce0b12ae53 chore: fix some typos in comment (#2735) zhuhaicity 2025-01-12 15:28:38 +08:00
  • ee3e129778 CORS: reject requests with 401 for non-preflight request with not matching origin header (#2732) Martti T. 2025-01-07 22:06:28 +02:00
  • 45524e39d6 Update golang.org/x/net dependency [GO-2024-3333](https://pkg.go.dev/vuln/GO-2024-3333) (#2722) v4.13.3 Martti T. 2024-12-19 06:51:34 +02:00
  • 692bc2abb6 Update dependencies (dependabot reports https://pkg.go.dev/vuln/GO-2024-3321) (#2721) v4.13.2 Martti T. 2024-12-12 07:47:56 +02:00
  • fd3f07447e Changelog for v4.13.1 (#2719) v4.13.1 Martti T. 2024-12-11 12:18:50 +02:00
  • 0368ed87f2 Add Conditions to Ensure Bind Succeeds with Transfer-Encoding: chunked (#2717) Masahiro Furudate 2024-12-11 19:04:21 +09:00
  • 3b017855b4 Changelog for 4.13.0 (#2712) v4.13.0 Martti T. 2024-12-04 22:13:45 +02:00
  • fe26277781 remove jwt middleware Steven-Whitehead 2024-11-13 15:17:10 -05:00
  • 9e73691837 Shorten Github issue template and add test example toimtoimtoim 2024-11-22 21:45:51 +02:00
  • 118c1632f2 CORS middleware should compile allowOrigin regexp at creation. toimtoimtoim 2024-11-21 21:53:07 +02:00
  • a973e3bc43 add unit-test pham vinh dat 2024-11-22 15:22:47 +07:00
  • c4410fe0b8 fix(bind body): content-length can be -1 pham vinh dat 2024-11-22 14:44:19 +07:00
  • 5d98929328 Remove broken header toimtoimtoim 2024-11-18 20:41:51 +02:00
  • 5a0b4dd806 clean up field assignments with default values to make test configuration more concise/readable eolson 2024-10-16 17:45:35 -07:00
  • 03c0236fb3 refactor basic_auth_test to utilize table driven tests eolson 2024-10-16 12:37:13 -07:00
  • 822d11a465 Add TemplateRenderer struct to ease creating renderers for html/template and text/template packages. toimtoimtoim 2024-10-20 20:59:39 +03:00
  • d5b32c6e47 Refactor work done by martinpasaribu <martin.yonathan305@gmail.com> (binding multipart files by using struct tags) toimtoimtoim 2024-10-20 20:14:34 +03:00
  • fb769d71b5 🎨 : add some test case for multipart file martinpasaribu 2024-10-10 23:37:33 +07:00
  • d1ab8e8544 bind: add support of multipart multi files martinpasaribu 2024-10-06 21:42:24 +07:00
  • ab87b63640 improve MultipartForm test martinpasaribu 2024-10-06 17:21:19 +07:00
  • d20a6257aa Remove pre Go1.20 support toimtoimtoim 2024-08-15 14:25:35 +03:00
  • 27c55f2189 tests: In Go 1.23 fs related errors have changed. toimtoimtoim 2024-08-15 14:13:58 +03:00
  • a5612d83d0 Add Go 1.23 to CI toimtoimtoim 2024-08-15 13:36:24 +03:00
  • f13e2640f0 bind: Maintain backwards compatibility for map[string]interface{} binding (#2656) Saloni Agarwal 2024-07-22 13:33:01 +09:00
  • f7d9f5142e optimization: struct alignment (#2636) Behnam 2024-05-30 23:20:01 +03:30
  • 88c379ff77 Changelog for v4.12.0 (#2626) v4.12.0 Martti T 2024-04-15 21:31:01 +03:00
  • e0f2a02e4c proxy middleware should use http proxy for SSE requests (#2624) Martti T 2024-04-15 21:12:26 +03:00
  • 3062025405 Update golang.org/x/* deps (#2625) Martti T 2024-04-15 20:45:51 +03:00
  • 447c92d842 When route is registered with empty path it is normalized to /. Make sure that returned echo.Route structs reflect that behavior. (#2616) Martti T 2024-03-27 12:28:46 +02:00
  • d549290448 Remove maxparam dependence from Context (#2611) Martti T 2024-03-21 23:42:16 +02:00
  • 011acb4732 default binder can bind pointer to slice as struct field. For example *[]string (#2608) Martti T 2024-03-13 22:07:08 +02:00
  • c57fcb3746 Default binder can use UnmarshalParams(params []string) error interface to bind multiple input values at one go. (#2607) Martti T 2024-03-11 22:49:58 +02:00
  • a3b0ba24d3 Fix Real IP logic (#2550) Vladimir Buyanov 2024-03-10 19:04:54 +02:00
  • 3598f295f9 Change type definition blocks to single declarations. This helps copy/pasting Echo code in examples. (#2606) Martti T 2024-03-09 17:53:07 +02:00
  • 5f7bedfb86 update makefile toimtoimtoim 2024-03-09 11:23:55 +02:00
  • f0966790fb Upgrade deps toimtoimtoim 2024-03-09 11:23:12 +02:00
  • a842444e8f Add SPDX licence comments to files. See https://spdx.dev/learn/handling-license-info/ (#2604) Martti T 2024-03-09 11:21:24 +02:00
  • bc1e1904f1 Allow ResponseWriters to unwrap writers when flushing/hijacking (#2595) Martti T 2024-03-09 10:50:47 +02:00
  • 3e04e3e2f2 fix: some typos (#2596) pomadev 2024-03-07 04:52:53 +09:00
  • 34717b717d fix some typos (#2603) teslaedison 2024-03-07 03:43:59 +08:00
  • fa70db801e Add Skipper Unit Test In BasicBasicAuthConfig and Add More Detail Explanation regarding BasicAuthValidator (#2461) Ryo Kusnadi 2024-02-18 20:47:13 +07:00
  • ea529bbab6 binder: allow binding to a nil map Georg Müller 2024-02-06 16:18:12 +01:00
  • 29aab274b3 In Go 1.22 finding name of function with reflection has changed. change tests to work with that. toim 2024-02-07 07:37:19 +02:00
  • 51c54f4734 CI: Use Go 1.22 toim 2024-02-07 07:23:31 +02:00
  • 76994d17d5 Remove default charset from 'application/json' Content-Type header (#2568) Suwon Chae 2024-02-06 14:41:33 +09:00
  • f12fdb09cd CI: upgrade actions/checkout to v4 and actions/setup-go to v5 (#2584) Martti T 2024-01-28 17:16:51 +02:00
  • b835498241 Reorder paragraphs in README.md (#2581) Martti T 2024-01-24 17:45:40 +02:00
  • d262120690 README.md: add Encore as sponsor (#2579) Marcus Kohlberg 2024-01-23 04:26:05 +01:00
  • 60fc2fb1b7 binder: make binding to Map work better with string destinations (#2554) Martti T 2023-12-20 15:32:51 +02:00
  • 226e4f076a Changelog for v4.11.4 (#2564) v4.11.4 Martti T 2023-12-20 15:24:30 +02:00
  • 209c6a199a Update deps and mark Go version to 1.18 as this is what golang.org/x/* use. (#2563) Martti T 2023-12-20 15:17:20 +02:00
  • 287a82c228 Upgrade golang.org/x/crypto to v0.17.0 to fix vulnerability issue (#2562) Nicu Maxian 2023-12-19 18:07:23 +02:00
  • 584cb85a6b request logger: add example for Slog https://pkg.go.dev/log/slog (#2543) Martti T 2023-11-07 15:09:43 +02:00
  • 4b26cde851 Changelog for v4.11.3 (#2542) v4.11.3 Martti T 2023-11-07 14:19:32 +02:00
  • 14daeb9680 Security: c.Attachment and c.Inline should escape name in Content-Disposition header to avoid 'Reflect File Download' vulnerability. (#2541) Martti T 2023-11-07 14:10:06 +02:00
  • 50ebcd8d7c refactor context tests to be separate functions (#2540) Martti T 2023-11-07 13:40:22 +02:00
  • c7d6d4373f proxy middleware: reuse echo request context (#2537) Kai Ratzeburg 2023-11-05 17:01:01 +01:00
  • 69a0de8415 Mark unmarshallable yaml struct tags as ignored (#2536) Martti T 2023-10-24 21:12:13 +03:00
  • 98a523756d Changelog for v4.11.2 (#2529) v4.11.2 Martti T 2023-10-11 08:32:23 +03:00
  • 89ae0e5f2c Bump dependancies (#2522) Štefan Baebler 2023-10-11 06:47:09 +02:00
  • 5780908c7c Fix CVE-2023-39325 / CVE-2023-44487 (#2527) Štefan Baebler 2023-10-11 06:14:52 +02:00