1
0
mirror of https://github.com/labstack/echo.git synced 2025-04-15 11:56:51 +02:00

Commit Graph

  • de44c53a5b
    Add support for TLS WebSocket proxy (#2762) master 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
  • 4bc3e475e3
    cors middleware: allow sending Access-Control-Max-Age: 0 value with config.MaxAge being negative number. (#2518) Martti T 2023-09-19 08:24:47 +03:00
  • 3950c444b7
    fix some typos (#2511) eiei114 2023-09-14 04:41:58 +09:00
  • 77d5ae6a91
    Use Go 1.21 in CI (#2505) Martti T 2023-08-12 09:01:30 +03:00
  • e6b96f8873
    docs: add comments to util.go randomString (#2494) Trim21 2023-07-23 04:47:35 +08:00
  • ec5b858dab
    Changes from master (from 5b36ce36127b2c011e6f0b905958d2544eef8820 to b3ec8e0fdd9d904aa5b1b95479da20c4961a59eb) v5_alpha toimtoimtoim 2023-07-22 23:25:34 +03:00
  • c2af0cf5a8
    fix test toimtoimtoim 2023-03-01 23:52:43 +02:00
  • 6fd1cc3716
    improve docs toimtoimtoim 2023-02-28 22:55:06 +02:00
  • 2366d5e3c1
    minimize references to external types (rate.Limit) toimtoimtoim 2023-02-28 22:54:35 +02:00
  • 13a733fdf9
    Changes from master (from 70acd57105b15b2db18c730b52083a76d05babf7 to 5b36ce36127b2c011e6f0b905958d2544eef8820) toimtoimtoim 2023-02-28 22:12:14 +02:00
  • 0d62f0065f
    fix toimtoimtoim 2023-01-07 14:45:21 +02:00
  • 5cb7cefcc5
    Bring over changes from master (latest commit f36d5662fbb1850f03c9ac78f02a699a492ecc2d) toimtoimtoim 2023-01-04 00:08:07 +02:00
  • 74b8c4368c
    Bring over changes from master (latest commit 135c511f5dd1b6cecbbc632d01f2640075e2c4d4) toimtoimtoim 2022-12-04 22:17:48 +02:00
  • b3ec8e0fdd
    fix(sec): randomString bias (#2492) Trim21 2023-07-22 12:08:34 +08:00
  • 626f13e338 CSRF/RequestID mw: switch math/random usage to crypto/random toimtoimtoim 2023-07-21 09:49:27 +03:00
  • 3f8ae15b57
    delete unused context in body_limit.go (#2483) Mobina Noori 2023-07-21 11:37:25 +03:30
  • 4598a4a745
    Update README.md Vishal Rana 2023-07-18 09:20:05 -07:00
  • 18d32589cd
    Update README.md Vishal Rana 2023-07-18 08:51:02 -07:00
  • a2e7085094 Changelog for v4.11.1 v4.11.1 toimtoimtoim 2023-07-16 20:36:11 +03:00
  • 130be07425 fix gzip not sending response code for no content responses (404, 301/302 redirects etc) toimtoimtoim 2023-07-16 20:15:24 +03:00
  • 60af056959 Changelog for v4.11.0 v4.11.0 toimtoimtoim 2023-07-14 08:59:02 +03:00
  • ac7a9621a1 bump version to 4.10.0 toimtoimtoim 2023-07-14 08:58:51 +03:00
  • 1ee8e22faa
    do not use global timeNow variables (#2477) Martti T 2023-07-11 23:36:05 +03:00
  • 44ead54c8c
    Upgrade packages (#2475) bahdanmelchankatote 2023-07-10 12:24:39 +03:00
  • 42f07ed880
    gzip response only if it exceeds a minimal length (#2267) Ingo Oppermann 2023-05-31 07:53:33 +02:00
  • fbfe2167f1
    fix(DefaultHTTPErrorHandler): return error message when message is an error (#2456) Martin Desrumaux 2023-05-29 22:26:53 +02:00
  • 8e425c0431 gofmt fixes to comments toimtoimtoim 2023-05-12 20:14:59 +03:00
  • 0ae74648b9
    Support retries of failed proxy requests (#2414) mikemherron 2023-05-12 18:36:24 +01:00
  • deb17d2388 Doc: adding slog.Handler for Echo logging Samuel Berthe 2023-04-30 22:39:52 +02:00
  • 0d47b7e6a9 fix misuses of a vs an cui fliter 2023-04-21 16:06:57 +08:00
  • 7d54690cdc
    Proper colon support in reverse (#2416) Mihard 2023-04-16 20:13:47 +02:00
  • de1c798143 Check whether is nil before invoking centralized error handling. Simba Peng 2023-04-07 16:00:17 +08:00
  • a7802ea523 add supprt for go1.20 http.rwUnwrapper imxyb 2023-03-28 17:25:11 +08:00
  • c0bc886b78 refactor: use strings.ReplaceAll directly imxyb 2023-03-28 16:42:55 +08:00
  • f22ba6725c documentation: changed description for Bind() method of Context interface. Because Bind()` binds not only request body, but also path and query params ivansmaliakou 2023-03-15 22:50:00 +01:00
  • ec642f7df1 Fix group.RouteNotFound not working when group has attached middlewares toimtoimtoim 2023-02-23 21:02:12 +02:00
  • 5b36ce3612
    Fixes the concurrency issue of calling the Next() proxy target on RRB (#2409) Becir Basic 2023-02-24 19:32:41 +01:00
  • 1e575b7b56
    Added a optional config variable to disable centralized error handler in recovery middleware (#2410) Omkar 2023-02-24 16:39:40 +05:30