toimtoimtoim
74b8c4368c
Bring over changes from master (latest commit 135c511f5d
)
2023-07-22 23:39:00 +03:00
toimtoimtoim
aad765a542
Changes from master (from 70acd57105
to 70acd57105
)
2022-07-17 22:19:09 +03:00
toimtoimtoim
0d85116728
Add Context.PathParamDefault(name string, defaultValue string) string
method
...
Improve method comments here and there.
2022-05-22 00:37:19 +03:00
toimtoimtoim
7efeffb06b
Fixes from rebase, Bump Github actions, Fix staticcheck problems
2022-05-22 00:37:14 +03:00
toimtoimtoim
829ddef710
V5.0.0-alpha
2022-05-22 00:35:33 +03:00
toimtoimtoim
ec92fedf21
Update version and changelog for 4.7.2
2022-03-16 09:34:26 +02:00
Gabriel Nelle
05df10c62f
fix nil pointer exception when calling Start again after address binding error
2022-03-15 21:38:57 +02:00
toimtoimtoim
b445958c3c
Update version and changelog for 4.7.1
2022-03-13 18:43:24 +02:00
Roland Lammel
5ebed440ae
Update version to v4.7.0
2022-03-02 23:16:19 +01:00
Wagner Souza
7e719b46e2
Add cache-control and connection headers ( #2103 )
...
Co-authored-by: Wagner Souza <wagner.souza@accenture.com>
2022-03-02 00:11:28 +01:00
Yusuf Eyisan
124825ee62
Bugfix/1834 Fix X-Real-IP bug ( #2007 )
...
* Fix incorrect return ip value for RealIpHeader
* Improve test file to compare correct real IPs to each other and have better comments
* Refactor ip extractor tests to be more readable (longer but readable)
Co-authored-by: toimtoimtoim <desinformatsioon@gmail.com>
2022-03-01 08:56:46 +01:00
eric
27b404bbc5
remove unused notFoundHandler in echo struct ( #2102 )
...
* remove unused notFoundHandler in echo
2022-02-23 13:28:20 +02:00
Martti T
4a1ccdfdc5
JWT, KeyAuth, CSRF multivalue extractors ( #2060 )
...
* CSRF, JWT, KeyAuth middleware support for multivalue value extractors
* Add flag to JWT and KeyAuth middleware to allow continuing execution `next(c)` when error handler decides to swallow the error (returns nil).
2022-01-24 22:03:45 +02:00
toimtoimtoim
1b1a68fd4f
Improve filesystem support (Go 1.16+). Add field echo.Filesystem, methods: echo.FileFS, echo.StaticFS, group.FileFS, group.StaticFS. Following methods will use echo.Filesystem to server files: echo.File, echo.Static, group.File, group.Static, Context.File
2022-01-24 15:55:16 +02:00
sivchari
f3865f9aa5
Minor syntax fixes ( #1994 )
2022-01-24 10:33:13 +01:00
Patrick Willner
94638be9f8
Add Retry-After header constant
2022-01-23 22:21:50 +02:00
toimtoimtoim
aada6f95d7
Fix Echo version number which was not incremented with Release 4.6.2. Now bumped to 4.6.3
2022-01-10 21:51:37 +02:00
toimtoimtoim
6f6befe555
improve docs
2022-01-03 21:04:17 +02:00
toimtoimtoim
5b26a5257b
Allow
header support in Router, MethodNotFoundHandler (405) and CORS middleware
2022-01-03 21:04:17 +02:00
Guilherme Cardoso
c32fafad68
Add support for configurable target header for the request_id middleware
2021-12-07 21:34:16 +02:00
Martti T
c6f0c667f1
Update version and changelog for 4.6.1 ( #1995 )
2021-09-26 18:56:43 +03:00
Martti T
4651c7aafe
Update version and changelog for 4.6.0 ( #1990 )
2021-09-20 22:23:52 +03:00
Martti T
1e7e67cddb
Added request logger middleware which helps to use custom logger library for logging requests ( #1980 )
...
Added request logger middleware which helps to use custom logger library for logging requests.
2021-09-14 20:57:47 +03:00
Mohammad Alian
7d41537e70
return first if response is already committed in DefaultHTTPErrorHandler
2021-08-12 22:12:39 +03:00
toimtoimtoim
5b8fa6979f
Update version and changelog for 4.5.0
2021-08-01 23:20:08 +03:00
Martti T
58366f93e6
Update version and changelog for 4.4.0 ( #1919 )
2021-07-12 22:35:47 +03:00
Hosh
5e791b0787
Allow for custom JSON encoding implementations ( #1880 )
...
* Allow for custom JSON encoding implementations
Co-authored-by: toimtoimtoim <desinformatsioon@gmail.com>
2021-07-05 22:33:19 +03:00
toimtoimtoim
2acb24adb0
Update version and changelog for 4.3.0
2021-05-08 23:39:25 +03:00
Martti T
8da8e16138
Update version and changelog for 4.2.2 ( #1838 )
2021-04-07 22:45:14 +03:00
Roland Lammel
a97052edaf
Update version to v4.2.1
2021-03-08 02:33:04 +01:00
Martti T
5622ecc180
Fix performance regression caused by path escaping ( #1777 , #1798 , #1799 )
...
* Fix performance regression #1777 and avoid double escaping in rewrite/proxy middleware.
* Add rewrite test for correct escaping of replacement (#1798 )
Co-authored-by: Roland Lammel <rl@neotel.at>
2021-03-08 02:01:02 +01:00
Martti T
c79ffed7ce
Fix Echo.Serve() will not serve on HTTP port correctly when there is already TLSListener set to Echo instance. ( #1785 ) ( #1793 )
2021-02-28 19:13:04 +01:00
Roland Lammel
b0f56eaf96
Update version to v4.2.0
2021-02-11 19:35:16 +01:00
Roland Lammel
716eb18329
Handle static routes with trailing slash ( #1747 )
...
- Fix Static file route not working without trailing slash
- Add tests for static middleware with/without trailing slash
- Add tests for static middleware under group
Co-authored-by: pwli <lipw0755@gmail.com>
2021-01-03 00:25:29 +01:00
toimtoimtoim
d18c040937
rename mutex
2020-12-29 13:25:43 +02:00
toimtoimtoim
734e313f71
refactor Echo server startup to allow data race free access to listener address
2020-12-29 12:06:49 +02:00
toimtoimtoim
547ca5ca1e
reverts #1671 changes
2020-12-17 02:20:26 +02:00
pwli
89ec0070b8
Merge branch 'master' into fix-conflict
2020-12-16 09:21:26 +08:00
little-cui
1beaf09740
Bug Fix: Directory Traversal
2020-12-15 21:54:11 +08:00
Pablo Andres Fuente
78fe2224b6
Merge branch 'master' into listener_network_configurable
2020-12-10 04:10:13 +00:00
Pablo Andres Fuente
5f1aa1bc07
Fixing Echo#Reverse for Any type routes
...
Fixes #1690
2020-11-24 03:24:27 +00:00
pwli
d2b8a7fb45
Fix Static files route not working
2020-11-06 22:21:05 +08:00
Pablo Andres Fuente
4727bc6e99
Adding Echo#ListenerNetwork as configuration
...
Now Echo could be configured to Listen on tcp supported networks of
net.Listen Go standard library (tcp, tcp4, tcp6)
2020-11-05 05:09:17 +00:00
Roland Lammel
cdd946aaa0
Fix DefaultHTTPErrorHandler with Debug=true ( #1477 )
2020-11-05 03:37:15 +01:00
Arun Gopalpuri
1a6ec73e57
using url.EscapedPath instead of custom GetPath, rewritePath func added to middleware - used by proxy and rewrite
2020-08-31 13:09:24 -07:00
Vishal Rana
cb84205219
Bumped version
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2020-08-27 20:09:25 -07:00
风吹过
28020c2a47
The directory path does not end with '/', it needs to be redirected ( #1572 )
...
* The directory path does not end with '/', it needs to be redirected
* changed guide highlighting to shell (#1593 )
* Fix recover print stack trace log level (#1604 )
* Fix recover print stack trace log level
* Add recover log level test
* Add default LogLevel to DefaultRecoverConfig
Co-authored-by: solym <ymwh@foxmai.com>
Co-authored-by: roz3x <52892437+roz3x@users.noreply.github.com>
Co-authored-by: Masahiro Furudate <178inaba.git@gmail.com>
2020-08-27 17:53:48 -07:00
Roland Lammel
d3245067e0
Merge pull request #1559 from flimzy/wrapper
...
Extend HTTPError to satisfy the Go 1.13 error wrapper interface
2020-07-23 21:51:54 +02:00
buglan
546639c8d0
Fix duplicate code
2020-07-08 20:17:34 +08:00
Jonathan Hall
803c4f673b
Extend HTTPError to satisfy the Go 1.13 error wrapper interface
2020-04-29 16:13:30 +02:00