dependabot[bot]
4d43db0c79
Bump github.com/mattn/go-isatty from 0.0.16 to 0.0.17 ( #2279 )
...
Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty ) from 0.0.16 to 0.0.17.
- [Release notes](https://github.com/mattn/go-isatty/releases )
- [Commits](https://github.com/mattn/go-isatty/compare/v0.0.16...v0.0.17 )
---
updated-dependencies:
- dependency-name: github.com/mattn/go-isatty
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-30 19:40:42 +03:00
pj
8889cea116
feat: add ShutdownWithTimeout function ( #2228 )
...
* add ShutdownWithTimeout function
* no message
* fix func documentation
* test: add Test_App_ShutdownWithTimeout
Co-authored-by: rocketlaunchr-cto <rocketlaunchr.cloud@gmail.com>
Co-authored-by: kinggo <lilong.21@bytedance.com>
2022-12-19 23:40:43 +08:00
pj
f13c948e36
Match function ( #2142 )
...
Add matching function
Co-authored-by: rocketlaunchr-cto <rocketlaunchr.cloud@gmail.com>
2022-12-11 17:37:35 +01:00
kinggo
efeea7a4b5
optimize: latency use lowest time unit in logger middleware ( #2261 )
2022-12-10 21:56:43 +01:00
kinggo
a9ddef7a20
optimize: add more detail error message in serverErrorHandler ( #2267 )
2022-12-11 02:28:39 +08:00
kinggo
2e3f73cb4d
optimize: use fasthttp.AddMissingPort ( #2268 )
2022-12-10 15:58:18 +03:00
M. Efe Çetin
affa759477
📝 docs: replace 1.14
with 1.16
in READMEs ( #2265 )
2022-12-08 19:07:32 +03:00
Angel ILIEV
356448cb66
Update docstring for FormValue() ( #2262 )
...
Include the other places that are searched for the provided form value key
2022-12-05 15:02:18 +01:00
leonklingele
d9d2153fcc
🩹 Fix: Properly handle error of "net.ParseCIDR" in "(*App).handleTrustedProxy" ( #2243 )
...
* app: do not use empty *net.IPNet in case of an error of "net.ParseCIDR"
* app: expose error returned by "net.ParseCIDR"
* ctx: do not repeatedly call method in loop
* ctx: add test for "IsProxyTrusted" func
2022-12-05 08:27:51 +01:00
M. Efe Çetin
077a5dc3d4
🐛 bug: fix regex constraints that contain comma ( #2256 )
2022-12-05 08:27:31 +01:00
V1def
6b9601fb99
Added Ukrainian README translation ( #2249 )
...
Added ukrainian localization
2022-12-01 09:21:44 +01:00
kinggo
075dfc5a8a
optimize: set byteSent log to 0 when use SetBodyStreamWriter ( #2239 )
2022-12-01 09:19:26 +01:00
Clark Winters
f3679167ff
🩹 Fix: Unintended overwritten bind variables ( #2240 )
...
* bindMap key value should only be set when not already present
* add comment
Co-authored-by: Clark Winters <clwinters8@gmail.com>
2022-12-01 09:18:23 +01:00
leonklingele
17dfcc756b
middleware/requestid: mention that the default UUID generator exposes the number of requests made to the server ( #2241 )
2022-12-01 09:11:14 +01:00
Xaver Fischer
6d798dbda9
📝 middleware/filesystem does not handle url encoded values on it's own ( #2247 )
...
* 📝 middleware/filesystem does not handle url encoded values
* Update README.md
add newline after first warning
Co-authored-by: Xaver Fischer <xaverfischer@mail.de>
2022-12-01 08:53:40 +01:00
dependabot[bot]
3629947c3d
Bump github.com/valyala/fasthttp from 1.42.0 to 1.43.0 ( #2245 )
...
Bumps [github.com/valyala/fasthttp](https://github.com/valyala/fasthttp ) from 1.42.0 to 1.43.0.
- [Release notes](https://github.com/valyala/fasthttp/releases )
- [Commits](https://github.com/valyala/fasthttp/compare/v1.42.0...v1.43.0 )
---
updated-dependencies:
- dependency-name: github.com/valyala/fasthttp
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-28 19:48:07 +08:00
dependabot[bot]
f8457f2eea
Bump github.com/valyala/fasthttp from 1.41.0 to 1.42.0 ( #2237 )
...
Bumps [github.com/valyala/fasthttp](https://github.com/valyala/fasthttp ) from 1.41.0 to 1.42.0.
- [Release notes](https://github.com/valyala/fasthttp/releases )
- [Commits](https://github.com/valyala/fasthttp/compare/v1.41.0...v1.42.0 )
---
updated-dependencies:
- dependency-name: github.com/valyala/fasthttp
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-24 16:32:17 +01:00
RW
8952d170fe
prepare release v2.40.1
v2.40.1
2022-11-23 09:05:31 +01:00
RW
0d038cba46
fix typo
2022-11-21 08:54:34 +01:00
M. Efe Çetin
291fb6e444
🐛 bug: fix mounting when mount prefix is /
( #2227 )
2022-11-20 14:26:42 +01:00
RW
82db2963be
Update vulncheck.yml
2022-11-20 14:26:32 +01:00
RW
fc35dbf927
Update linter.yml
2022-11-20 14:05:03 +01:00
RW
70403aa120
Update security.yml
2022-11-20 14:04:46 +01:00
RW
c8baa613ae
prepare release v2.40.0
v2.40.0
2022-11-18 16:21:47 +01:00
RW
e4b3b5c708
Improve interface for custom logger func ( #2225 )
...
* - logger: fix custom tag
- use real bytebufferpool dependency instead of the internal
* - logger: fix custom tag
- use real bytebufferpool dependency instead of the internal
* - logger: fix custom tag
- use real bytebufferpool dependency instead of the internal
* - logger: fix custom tag
- use real bytebufferpool dependency instead of the internal
2022-11-18 15:32:56 +01:00
Andy Pan
92ce4aac77
📝 Update middleware/logger docs ( #2224 )
...
* 📝 Update middleware/logger docs
Update #2219
* Update middleware/logger/README.md
Co-authored-by: RW <rene@gofiber.io>
2022-11-18 14:29:53 +01:00
René Werner
3d39b82aad
logger: adjustment for the new Done function - use nil instead of empty func
2022-11-18 13:23:57 +01:00
skyenought
e8f8cb647b
✨ Add customTags in logger middleware Config ( #2188 )
...
* ✨ Add customTags in logger middleware Config
* improve tags with parameter
* improve logger performance
* improve logger performance
* improve logger performance
* improve logger performance
Co-authored-by: René Werner <rene@gofiber.io>
2022-11-18 13:10:43 +01:00
Andy Pan
3157fb5f1c
✨ Add callback function for middleware/logger ( #2219 )
...
* ✨ Add callback function for middleware/logger
* Refine test code
2022-11-15 12:14:32 +01:00
Caleb Case
61b4496067
Track Configured Values ( #2221 )
...
* WIP: Use Parent Error Handler on Mount
* Add suggested boolean guard
* Move flag to App
* Move to copy of config as configured
* Apply the same trick to customMethod
2022-11-15 12:13:11 +01:00
leonklingele
235cd9df82
ctx: simplify Protocol() ( #2217 )
...
* ctx: simplify Protocol()
* ctx: also mention "X-Url-Scheme" header in Protocol()
* ctx: use the same warning comment about enabling Config.EnableTrustedProxyCheck everywhere
2022-11-14 08:32:48 +01:00
leonklingele
b288a9f54e
ctx: make Secure() also report whether a secure connection was established to a trusted proxy ( #2215 )
...
We had a discussion about this in https://github.com/gofiber/helmet/pull/74 .
2022-11-14 08:22:35 +01:00
leonklingele
a0645af1ed
Fix and optimize memory storage ( #2207 )
...
* internal/memory: cache timestamp
* internal/memory: ensure to never delete non-expired items
This fixes a TOCTOU problem between a mutex rlock and a mutex lock.
* internal/memory: move costly operations outside of locked area
* internal/storage: cache timestamp
* internal/storage: ensure to never delete non-expired items
This fixes a TOCTOU problem between a mutex rlock and a mutex lock.
* internal/storage: move costly operations outside of locked area
2022-11-14 08:21:03 +01:00
M. Efe Çetin
e5ae764139
🧹 update: replace UnsafeBytes util with suggested way ( #2204 )
2022-11-13 16:58:42 +01:00
M. Efe Çetin
8aeb147c75
✨ feature: add multiple-prefix support to app.Use() and group.Use() ( #2205 )
2022-11-13 16:56:34 +01:00
hs son
20109922aa
Add korean translate in Installation section ( #2213 )
2022-11-13 15:39:15 +03:00
leonklingele
5cac575ad0
utils: reduce diff to external utils package ( #2206 )
...
f33fd2c5f7/bytes.go
2022-11-12 08:27:57 +01:00
Muhammed Efe Çetin
938e0fcea4
♻️ sync other langs with README.md
2022-11-12 09:26:47 +03:00
leonklingele
4d562923aa
README: update list of third-party library licenses ( #2211 )
2022-11-12 09:10:07 +03:00
leonklingele
e388e0edb3
Update HTTP status codes ( #2203 )
...
* helpers: add HTTP status code 306
* helpers: show numeric HTTP status code instead of status code RFC next to errors
* utils: add HTTP status code 425
* helpers,utils: update list of HTTP status codes
2022-11-11 08:40:37 +01:00
Rafi Muhammad
878c9549d8
Feat: Register custom methods ( #2107 )
...
* Implementing register custom methods
* Return timout time to 1000
* Update app_test.go
* Change update stack to add custom request method
* Feat: Register custom methods #2107
* Feat: Register custom methods #2107
* update logic
* optimization.
* fix
Co-authored-by: Rafi Muhammad <rafi.muhammad@mekari.com>
Co-authored-by: RW <rene@gofiber.io>
Co-authored-by: Muhammed Efe Çetin <efectn@protonmail.com>
2022-11-11 08:23:30 +01:00
M. Efe Çetin
581af0052d
🐛 bug: fix naming of routes inside groups ( #2199 )
...
* 🐛 bug: fix naming of routes inside groups
* fix tests
* bug: fix naming of routes inside groups
Co-authored-by: René Werner <rene@gofiber.io>
2022-11-09 16:03:16 +01:00
Glenn Lewis
13247206ab
Add URL prefix to pprof middleware ( #2194 )
...
* Add URL prefix to pprof middleware
Signed-off-by: Glenn Lewis <6598971+gmlewis@users.noreply.github.com>
* Minor tweak
Signed-off-by: Glenn Lewis <6598971+gmlewis@users.noreply.github.com>
Signed-off-by: Glenn Lewis <6598971+gmlewis@users.noreply.github.com>
2022-11-09 07:59:33 +01:00
skyenought
55fcddda6f
📝 Update README_zh-CN.md ( #2186 )
2022-11-09 07:56:58 +01:00
kinggo
486f3709ed
ci: add check-latest param in vulncheck.yml ( #2197 )
...
ci: add check-latest param
2022-11-08 14:20:14 +01:00
M. Efe Çetin
87cedc2022
👷 ci: replace snyk with govulncheck ( #2178 )
2022-11-01 08:50:33 +01:00
James R T
c63a569a92
🚀 [Feature]: Allow optional params with route constraints ( #2179 )
...
Signed-off-by: James R T <jamestiotio@gmail.com>
Signed-off-by: James R T <jamestiotio@gmail.com>
2022-11-01 08:49:44 +01:00
Andy Pan
24a6170323
♻️ Leverage runtime/debug to print the full stack trace info ( #2183 )
2022-10-31 15:12:43 +01:00
pj
ff4602980a
- update Locals function to accept interface{} key ( #2144 )
...
- update Locals function to accept interface{} key (Requires new version of fasthttp)
Co-authored-by: rocketlaunchr-cto <rocketlaunchr.cloud@gmail.com>
2022-10-27 07:51:08 +02:00
dependabot[bot]
fd5045edf9
Bump github.com/valyala/fasthttp from 1.40.0 to 1.41.0 ( #2171 )
...
Bumps [github.com/valyala/fasthttp](https://github.com/valyala/fasthttp ) from 1.40.0 to 1.41.0.
- [Release notes](https://github.com/valyala/fasthttp/releases )
- [Commits](https://github.com/valyala/fasthttp/compare/v1.40.0...v1.41.0 )
---
updated-dependencies:
- dependency-name: github.com/valyala/fasthttp
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-26 12:16:49 +02:00