1
0
mirror of https://github.com/labstack/echo.git synced 2026-04-26 21:03:34 +02:00

Commit Graph

  • 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
  • 47844c9b7f Changelog for v4.10.2 v4.10.2 toimtoimtoim 2023-02-22 00:55:31 +02:00
  • f909660bb9 Add middleware.CORSConfig.UnsafeWildcardOriginWithAllowCredentials to make UNSAFE usages of wildcard origin + allow cretentials less likely. toimtoimtoim 2023-02-21 12:21:49 +02:00
  • ef4aea97ef use different variable name so returned function would not accidentally be able to use it in future and cause data race toimtoimtoim 2023-02-21 12:20:30 +02:00
  • 7c7531002d Clean on go1.20 (#2406) Martti T 2023-02-22 00:00:52 +02:00
  • 04ba8e2f9d Add more http error values (#2277) Ara Park 2023-02-22 06:32:11 +09:00
  • b888a30fe3 Changelog for v4.10.1 v4.10.1 toimtoimtoim 2023-02-19 21:04:05 +02:00
  • 2c25767e45 remediate flaky timeout tests toimtoimtoim 2023-02-19 10:38:34 +02:00
  • a3998ac96a Upgrade deps due to the latest golang.org/x/net vulnerability toimtoimtoim 2023-02-19 10:16:07 +02:00
  • 45da0f888b remove .travis.yml toimtoimtoim 2023-02-19 10:14:05 +02:00
  • 6b09f3ffeb Update link to jaegertracing Roman Garanin 2023-02-07 21:59:38 +01:00
  • 82a964c657 Add context timeout middleware (#2380) Hakan Kutluay 2023-02-01 23:38:20 +03:00
  • 08093a4a1d Return an empty string for ctx.path if there is no registered path Brie Taylor 2023-01-27 12:58:54 -08:00
  • 24a30611df Add new JWT repository to the README toimtoimtoim 2023-01-02 21:39:15 +02:00
  • f36d5662fb Changelog for 4.10.0 v4.10.0 toimtoimtoim 2022-12-27 21:09:32 +02:00
  • a69727e2b9 Mark JWT middleware deprecated toimtoimtoim 2022-12-27 21:08:37 +02:00
  • 0056cc8ec0 Improve comments wording toimtoimtoim 2022-12-03 19:34:21 +02:00
  • 45402bb393 Add echo.OnAddRouteHandler field. As name says - this handler is called when new route is registered. toimtoimtoim 2022-11-12 19:38:02 +02:00
  • f1cf1ec930 Fix adding route with host overwrites default host route with same method+path in list of routes. toimtoimtoim 2022-11-12 18:35:19 +02:00
  • 895121d178 Fix rate limiter docs (#2366) yagikota 2022-12-17 18:16:00 +09:00
  • abecadcbdc Merge pull request #2362 from aldas/add_govulncheck_2_ci Roland Lammel 2022-12-14 14:31:13 +01:00
  • bc75cc2b17 Add govulncheck to CI and bump dependencies. Refactor GitHub workflows. toimtoimtoim 2022-12-13 10:38:20 +02:00
  • 40eb889d14 build: harden echo.yml permissions Alex 2022-12-08 19:37:15 +02:00
  • 135c511f5d Add request route with "route" tag to logger middleware (#2162) Kanji Yomoda 2022-12-05 03:38:45 +09:00
  • 8d4ac4c907 Additional configuration options for RequestLogger and Logger middleware (#2341) Martti T 2022-11-30 15:47:23 +02:00
  • 466bf80e41 Add testcases for some BodyLimit middleware configuration options (#2350) Martti T 2022-11-25 13:27:52 +02:00
  • 7544796946 Remove square brackets from ipv6 addresses in XFF (#2182) Wim 2022-11-24 21:17:31 +01:00
  • 36ff0b3fbd Replace relative path determination from proprietary to std OHZEKI Naoki 2022-11-23 09:13:50 +09:00
  • a0c211542c Add staticcheck to CI flow toimtoimtoim 2022-11-21 16:05:30 +02:00
  • 3c4d3b3083 Replace "io/ioutil" zeek 2022-11-21 21:29:43 +09:00
  • be23ab67cc Add new method HTTPError.WithInternal toimtoimtoim 2022-11-19 22:05:53 +02:00
  • fd2b102d3e Modify comment syntax error wanghaha-dev 2022-11-06 22:00:51 +08:00
  • a97d4bfb7b fix func(Context) error to HandlerFunc lkeix 2022-10-25 23:12:15 +09:00
  • 35184a893b Expose middleware.CreateExtractors function so we can use it from echo-contrib repository toimtoimtoim 2022-11-12 23:14:59 +02:00
  • b010b69329 Bump dependencies and add notes about Go releases we support toimtoimtoim 2022-11-04 11:32:53 +02:00
  • 0ce73028d0 [suggestion] Add helper interface for ProxyBalancer interface (#2316) Hristo Hristov 2022-10-29 21:54:23 +03:00
  • 8f2bf82982 go mod tidy Patrick Brueckner 2022-10-17 10:45:27 +02:00
  • b02e78ba55 bump x/text to 0.3.8 Patrick Brueckner 2022-10-14 16:29:14 +02:00
  • 8ad22302f2 Changelog for v4.9.1 v4.9.1 toimtoimtoim 2022-10-12 22:05:39 +03:00
  • 56f63c3036 bump github.com/labstack/gommon dependency version toimtoimtoim 2022-10-12 21:58:55 +03:00
  • 1d5f335f40 refactor assertions (#2301) Martti T 2022-10-12 21:47:21 +03:00
  • 4c44305b23 update tests (#2275) Amir Hossein 2022-10-06 12:04:00 +03:30
  • 79221d91ca Update readme about supported Go versions (#2291) Martti T 2022-10-05 06:36:12 +03:00
  • 666938e523 tests: error handling on closing body (#2254) Amir Hossein 2022-09-14 10:10:39 +04:30
  • 50e7e569f0 Improve CORS documentation Daniel Price 2022-09-12 18:53:44 +00:00
  • 16d3b65eb0 Changelog for 4.9.0 v4.9.0 toimtoimtoim 2022-09-04 22:58:19 +03:00
  • 0ac4d74402 Fix #2259 open redirect vulnerability in echo.StaticDirectoryHandler (used by e.Static, e.StaticFs etc) toimtoimtoim 2022-09-04 22:44:32 +03:00
  • d77e8c09b2 Added ErrorHandler and ErrorHandlerWithContext in CSRF middleware (#2257) Mojtaba Arezoumand 2022-09-01 12:21:55 +04:30
  • 534bbb81e3 replace POST constance with stdlib constance Kamandlou 2022-08-19 21:38:38 +04:30
  • fb57d96a6d replace GET constance with stdlib constance Kamandlou 2022-08-19 21:36:40 +04:30
  • d48197db7a Changelog for 4.8.0 v4.8.0 toimtoimtoim 2022-08-10 22:49:43 +03:00
  • cba12a570e Allow arbitrary HTTP method types to be added as routes toimtoimtoim 2022-08-06 23:25:43 +03:00
  • a327884b68 add:README.md-Third-party middlewares-github.com/go-woo/protoc-gen-echo go-woo 2022-08-08 15:18:59 +08:00
  • 61422dd7de Update CI-flow (Go 1.19 +deps) toimtoimtoim 2022-08-06 23:29:21 +03:00
  • a9879ffa6b Middlewares should use errors.As() instead of type assertion on HTTPError Daniel Price 2022-07-21 17:40:44 +00:00
  • 74022662be Merge branch 'v5_alpha' into v5_alpha_labstack toimtoimtoim 2022-07-17 23:38:27 +03:00
  • aad765a542 Changes from master (from 70acd57105 to 70acd57105) toimtoimtoim 2022-07-17 22:19:09 +03:00
  • 70acd57105 Fix case when routeNotFound handler is lost when new route is added to the router (#2219) Martti T 2022-07-13 08:16:27 +03:00
  • 690e3392d9 Add support for registering handlers for 404 routes (#2217) Martti T 2022-07-12 21:53:41 +03:00
  • 9bf1e3c8ce Allow different param names in different methods with same path scheme (#2209) Artem Iurin 2022-07-11 20:25:41 +03:00
  • ddb66e1ba2 Add logger middleware template variables: ${time_unix_milli} and ${time_unix_micro} (#2206) moznion 2022-07-04 21:57:39 -07:00
  • 0644cd6ecd fix: duplicated findStaticChild process at findChildWithLabel (#2176) lkeix 2022-05-28 02:15:58 +09:00
  • b0453b98e0 fix: basic auth invalid base64 string (#2191) welling guzmán 2022-05-27 18:44:51 +02:00
  • 2b4c5a4097 expose source for KeyAuth/JWT key/token validation/parsing function to allow custom logic depending from where key/token value was extracted toimtoimtoim 2022-05-21 22:34:29 +03:00
  • 0d85116728 Add Context.PathParamDefault(name string, defaultValue string) string method Improve method comments here and there. toimtoimtoim 2022-05-04 14:32:09 +03:00
  • 7efeffb06b Fixes from rebase, Bump Github actions, Fix staticcheck problems toimtoimtoim 2022-04-30 21:09:44 +03:00
  • 3d2da856e3 Fix server related tests (different error messages) on Windows toimtoimtoim 2022-02-01 20:15:37 +02:00
  • 829ddef710 V5.0.0-alpha toimtoimtoim 2021-07-15 23:34:01 +03:00
  • d5f883707b Timeout mw: rework how test waits for timeout. Using sleep as delay i… (#2187) Martti T 2022-05-22 00:21:50 +03:00
  • 28797c761d Timeout mw: fix datarace in tests when we are getting data from buffer (in test) and writing to logger at the same time. toimtoimtoim 2022-05-21 20:58:15 +03:00
  • 2e02ce3dd8 Timeout mw: fix datarace in tests when we are getting data from buffer. Run each test in their own server so multiple tests cases will not cause datarace getting data out of logger buffer. toimtoimtoim 2022-05-21 19:27:22 +03:00
  • 6df1c355c2 Merge pull request #2166 from aldas/ci_with_go1_18 Roland Lammel 2022-05-02 10:26:37 +02:00
  • a987b6577c Update Github CI flow to use Go 1.18, bump actions versions toimtoimtoim 2022-04-29 21:57:14 +03:00
  • 572466d928 Fix body_limit middleware unit test gemaizi 2022-03-21 23:45:06 +08:00
  • 63c62bcbe5 Tidy up comments for value binders Roland Lammel 2022-03-16 00:56:50 +01:00
  • 59d2eaa4ac Add new value binding methods (UnixTimeMilli,TextUnmarshaler,JSONUnmarshaler) to ValueBinder toimtoimtoim 2022-03-13 17:30:02 +02:00
  • ec92fedf21 Update version and changelog for 4.7.2 v4.7.2 toimtoimtoim 2022-03-16 08:43:59 +02:00
  • 1919cf4491 Timeout middleware write race toimtoimtoim 2022-03-13 16:00:02 +02:00
  • 01d7d01bbc Fix CSRF middleware not being able to extract token from multipart/form-data form (#2136, fixes #2135) Martti T 2022-03-16 01:43:20 +02:00
  • 5c38c3b770 Recover middleware should not log panic for aborted handler (#2134, fixes #2133) Becir Basic 2022-03-16 00:29:42 +01:00
  • 05df10c62f fix nil pointer exception when calling Start again after address binding error Gabriel Nelle 2022-03-14 10:44:07 +01:00
  • b445958c3c Update version and changelog for 4.7.1 v4.7.1 toimtoimtoim 2022-03-13 18:20:30 +02:00
  • 54efc3850d remove some unused code (#2116) eric 2022-03-13 21:31:39 +08:00
  • 3f5b733425 Fix e.Static, .File(), c.Attachment() being picky with paths starting with ./, ../ and / after 4.7.0 introduced echo.Filesystem support (Go1.16+) (#2123) Martti T 2022-03-13 15:05:12 +02:00
  • 5ebed440ae Update version to v4.7.0 v4.7.0 Roland Lammel 2022-03-02 23:16:19 +01:00
  • da85d23d68 Revert "Update direct golang deps" Roland Lammel 2022-03-02 23:11:46 +01:00
  • d66712b252 Update direct golang deps Roland Lammel 2022-03-02 22:59:19 +01:00
  • 7e719b46e2 Add cache-control and connection headers (#2103) Wagner Souza 2022-03-01 20:11:28 -03:00
  • 124825ee62 Bugfix/1834 Fix X-Real-IP bug (#2007) Yusuf Eyisan 2022-03-01 10:56:46 +03:00
  • 27b404bbc5 remove unused notFoundHandler in echo struct (#2102) eric 2022-02-23 19:28:20 +08:00
  • 6cb3b7c046 remove redundant 0 in make chan (#2101) eric 2022-02-23 15:22:20 +08:00
  • ed2888cfa1 Fix server related tests (different error messages) on Windows toimtoimtoim 2022-02-01 20:15:37 +02:00
  • c0c00e6241 V5.0.0-alpha toimtoimtoim 2021-07-15 23:34:01 +03:00
  • 4a1ccdfdc5 JWT, KeyAuth, CSRF multivalue extractors (#2060) Martti T 2022-01-24 22:03:45 +02:00