M. Efe Çetin
d4938dad6c
🐛 bug: fix onListen hooks when they are used with prefork mode ( #2504 )
...
* 🐛 bug: fix onListen hooks when they are used with prefork mode
🐛 bug: fix onListen hooks when they are used with prefork mode
* 🐛 bug: fix onListen hooks when they are used with prefork mode
2023-06-09 22:42:50 +02:00
René Werner
9effdf829a
disable golang test cache
2023-06-09 21:14:32 +02:00
RW
0822f2e322
Revert "Migrate to Golang official govulncheck action" ( #2502 )
...
Revert "Migrate to Golang official govulncheck action (#2501 )"
This reverts commit b66bcd975a
.
2023-06-09 13:34:29 +02:00
Juan Calderon-Perez
b66bcd975a
Migrate to Golang official govulncheck action ( #2501 )
...
* Migrate to golang official govulncheck action
* Remove unsupported go version from govulncheck
* Update vulncheck.yml
2023-06-09 09:43:33 +02:00
Jason McNeil
0f5ffed3cc
🐛 fix: update getOffer to consider quality and specificity ( #2486 )
...
* feat: getOffer consider q value and specificity
* fix: ignore q=0
* fix: float
* test: client-prefered order and q=0 not acceptable
* fix: always use my insertion sort.
* fix: sort.SliceStable if > 20
* fix: zero allocations
* perf: optimize the sort
* chore: fix lint issue
* fix: consider order
* chore: fix test func name
* chore: fix helper test func name
* chore: revert fix
* perf: use fasthttp.ParseUfloat
* test: GetOffer and SortAcceptedTypes
* chore: remote nil check
* test: sortAcceptedTypes
* fix: use utils.UnsafeBytes
* docs: update docs for fiber PR #2486
* docs: update docs for fiber PR #2486
* test: add test from docs
* fix: yaml
2023-06-07 17:51:45 +02:00
Amir Hossein
d91ea9e01e
📚 translate README_fa.md ( #2496 )
...
* translate README_fa.md (#1 )
* add "Using Trusted Proxy" section under the "show more code examples"
2023-06-07 18:21:36 +03:00
Anzhi
06ef450a8a
🚀 Add DisableColors to set the default output format ( #2493 )
...
Add DisableColor for default logger format
2023-06-05 13:20:45 +02:00
Chris Hurst
c955d76f5d
🐛 bug: fix middleware naming and returned values of group methods ( #2477 )
...
* Bug fix: route names not updating
* fixed lint error
* updated tests with renaming edge case
* fix group naming partially
* add todo
* fix todo
* fix todo
---------
Co-authored-by: Muhammed Efe Çetin <efectn@protonmail.com>
2023-06-05 13:00:51 +02:00
cmd777
4c12938309
♻️ Refactor: use c.app.getString instead of string(...) ( #2489 )
...
use c.app.getString instead of string(...)
2023-06-01 10:47:07 +02:00
Oleg
b9e93ccd4a
Fix Sliding Window limiter when SkipSuccessfulRequests/SkipFailedRequests is used. ( #2484 )
...
* Fix Sliding Window limiter when SkipSuccessfulRequests/SkipFailedRequests is used.
* Add tests.
* Fix linter.
---------
Co-authored-by: Oleg Bakumenko <Bakumenko.Oleg@wb.ru>
2023-06-01 08:00:31 +02:00
Lucas Lemos
5d53263572
🐛 fix: treat case for possible timer memory leak ( #2488 )
2023-05-31 08:01:13 +02:00
Satont
369494cf25
fix: reset terminal colors after print routes ( #2481 )
...
* fix: reset terminal colors after print routes
* Remove unnecessary `\t` for routes
2023-05-28 09:34:14 +02:00
dependabot[bot]
9217820f23
Bump github.com/mattn/go-isatty from 0.0.18 to 0.0.19 ( #2474 )
...
Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty ) from 0.0.18 to 0.0.19.
- [Commits](https://github.com/mattn/go-isatty/compare/v0.0.18...v0.0.19 )
---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-23 18:49:28 +03:00
Alexander
5a84fa0e8e
📒 Correcting a syntax error in the README ( #2473 )
...
* Update README.md
* 📝 docs: fix typo in some readme
2023-05-20 11:09:24 +02:00
RW
1207d5055b
Update app.go
...
prepare release 2.46.0
2023-05-19 12:22:16 +02:00
leonklingele
fe487934f9
utils: add Go 1.20+ way of converting byte slice to string ( #2468 )
...
Ref. d2f97fc426/b2s_old.go
.
Ref. d2f97fc426/b2s_new.go
.
2023-05-19 11:07:20 +02:00
RW
182f9f0970
🚀 Speedup and cleanup "path" testcases and benchmarks ( #2465 )
2023-05-17 15:45:38 +02:00
RW
df87a82d5a
🐛 Fix mount route positioning ( #2463 )
...
* 🐛 [Bug-fix]: Wrong handlers execution order in some mount cases #2460
* 🐛 [Bug-fix]: Wrong handlers execution order in some mount cases #2460
* 🐛 [Bug-fix]: Wrong handlers execution order in some mount cases #2460
* [Bug-fix]: Wrong handlers execution order in some mount cases #2460
* [Bug-fix]: Wrong handlers execution order in some mount cases #2460
2023-05-17 10:51:05 +02:00
leonklingele
c56b4e66a0
middleware/adaptor: allow to convert fiber.Ctx to (net/http).Request ( #2461 )
2023-05-15 13:04:58 +02:00
leonklingele
eced39c47e
utils: add Go 1.20+ way of converting string to byte slice ( #2462 )
...
* utils: add Go 1.20+ way of converting string to byte slice
Ref. d2f97fc426/s2b_old.go
.
Ref. d2f97fc426/s2b_new.go
.
* utils: fix golangci-lint apparently running with Go < 1.20
See https://github.com/gofiber/fiber/actions/runs/4968641325/jobs/8891360463?pr=2462 .
2023-05-15 07:21:16 +02:00
Алексей Ковригин
77c1b4868a
📝 docs: update README_ru.md ( #2456 )
...
📝 docs: update README_ru.md
Translated 3 blocks: Limitations, Awesome list, License
2023-05-10 23:51:56 +03:00
M. Efe Çetin
c7c37d9b50
♻️ refactor: merge some external middlewares to core ( #2453 )
...
* ♻️ refactor: merge adaptor, helmet, keyauth, redirect, rewrite middlewares to core
* fix linting issues
* fix linting issues
* fix linting issues
* update
2023-05-10 08:01:49 +02:00
RW
9cc10e942a
Update benchmark.yml
2023-05-09 09:01:56 +02:00
RW
6770e45590
Update app.go
...
prepare release v2.45.0
2023-05-07 16:49:42 +02:00
dependabot[bot]
9abb24597f
Bump golang.org/x/sys from 0.7.0 to 0.8.0 ( #2449 )
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.7.0 to 0.8.0.
- [Commits](https://github.com/golang/sys/compare/v0.7.0...v0.8.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-05 16:24:44 +03:00
dependabot[bot]
3ed1c8dd3e
Bump github.com/valyala/fasthttp from 1.46.0 to 1.47.0 ( #2445 )
...
Bumps [github.com/valyala/fasthttp](https://github.com/valyala/fasthttp ) from 1.46.0 to 1.47.0.
- [Release notes](https://github.com/valyala/fasthttp/releases )
- [Commits](https://github.com/valyala/fasthttp/compare/v1.46.0...v1.47.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-03 19:26:46 +03:00
bcd
3c3f12b76c
[Feature]: Add filesystem config contentTypeCharset support ( #2438 )
...
* Update filesystem.go
* Update filesystem_test.go
* Update filesystem.md
* fmt
2023-05-02 08:40:20 +02:00
RW
3a7dbd0b48
🚀 Consistent way of logging and fix middleware log format #2432 ( #2444 )
...
- change log patter
2023-05-01 18:52:30 +02:00
Kousik Mitra
a59d9bac59
🚀 Consistent way of logging and fix middleware log format ( #2432 )
...
* 🚀 Replace fmt.Print* with log.Print* (#2402 )
* 🚀 Fix middleware logging format (#2402 )
2023-05-01 10:01:27 +02:00
RW
9d8eba55d6
Update labeler.yml
2023-04-26 21:55:03 +02:00
dependabot[bot]
0b5baf522d
Bump github.com/valyala/fasthttp from 1.45.0 to 1.46.0 ( #2426 )
...
Bumps [github.com/valyala/fasthttp](https://github.com/valyala/fasthttp ) from 1.45.0 to 1.46.0.
- [Release notes](https://github.com/valyala/fasthttp/releases )
- [Commits](https://github.com/valyala/fasthttp/compare/v1.45.0...v1.46.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-21 23:03:34 +03:00
RW
9feaf2296e
🚀 Improve error handling for net error(s) ( #2421 )
...
* improve error handling for net error(s)
fixes: reverse proxy support #2419
* Update app.go
Co-authored-by: leonklingele <git@leonklingele.de>
* improve error handling for net error(s)
fixes: reverse proxy support #2419
* improve error handling for net error(s)
fixes: reverse proxy support #2419
* improve error handling for net error(s)
fixes: reverse proxy support #2419
---------
Co-authored-by: leonklingele <git@leonklingele.de>
2023-04-21 13:41:19 +02:00
James Lucas
c4d2876d64
🐛 fix(cors): Changed condition for 'AllowOriginsFunc' ( #2423 )
...
🐛 fix(cors): Changed condition for 'AllowOriginsFunc' to check against default config value of 'AllowOrigins'
2023-04-21 13:37:53 +02:00
Carmelo Riolo
3e9575b0fe
📚 Docs: Correct errors in Italian translation ( #2417 )
...
docs: fix typos and errors in README_it.md
2023-04-15 19:26:08 +03:00
Kanan N
dbc8c42040
Correct grammar errors in Azerbaijani translation. ( #2413 )
...
* Update README_az.md
* Update README_az.md
* Update README_az.md
2023-04-15 14:39:49 +02:00
RW
ee2b13c8c0
Update timeout.md
2023-04-14 12:18:00 +02:00
RW
ff390b5bb8
prepare release v2.44.0
2023-04-14 11:49:07 +02:00
RW
41b08b6cb0
Update faq.md
2023-04-14 11:36:57 +02:00
RW
65e0ce285a
🐛 [Bug-Fix]: Mounted subapps don't work correctly if parent app attached … ( #2331 )
...
* 🐛 [Bug]: Mounted subapps don't work correctly if parent app attached additional middlewares after mounting (v2.40.1 bug) #2233
2023-04-13 14:19:04 +02:00
eldaniz
2237e9c511
📚 Docs: Added Azerbaijani README translation ( #2411 )
...
azerbaijani translation completed
2023-04-13 08:54:07 +03:00
cmd777
3b7a7d491b
📚 Docs: Fix import and comma issues ( #2410 )
...
Fix import and comma issues
2023-04-13 12:32:39 +08:00
James Lucas
866d5b7628
✨ feat(cors): Added new 'AllowOriginsFunc' function. ( #2394 )
...
* ✨ feat(cors): Added new 'AllowOriginsFunc' function.
* feat(cors): Added warning log for when both 'AllowOrigins' and 'AllowOriginsFunc' are set.
* feat(docs): Updated docs to include note about discouraging the use of this function in production workloads.
---------
Co-authored-by: RW <rene@gofiber.io>
2023-04-11 10:24:29 +02:00
RW
fcf708dfc2
Update routing.md
2023-04-10 12:31:49 +02:00
RW
c396d2aa45
Update grouping.md
2023-04-10 12:28:57 +02:00
cmd777
8b1f9260a3
📚 Docs: Fix typos, and make middleware documentation more consistent ( #2408 )
...
Fix typos, and make docs more consistent
This fixes several typos in the ISSUE_TEMPLATES, as well as improve
their readability, also makes the documentation markdowns more
consistent
2023-04-10 10:48:12 +08:00
Hakan Kutluay
22b407e2e7
🐛 [Bug-Fix] add original timeout middleware ( #2367 )
...
* add original timeout middleware
* fix linter issues
* deprecate original timeout middleware
* update timeout middleware documentation
2023-04-09 16:05:51 +02:00
Juan C. Yamacho H
562d15db86
🚀 Feature: Public ShutdownWithContext ( #2407 )
...
* feat: public shutdown with context
* docs: add server shutdown option
* chore: revert spacing changes
* test: app shutdown with context
2023-04-09 21:08:03 +08:00
dependabot[bot]
1c5eb1846e
Bump golang.org/x/sys from 0.6.0 to 0.7.0 ( #2405 )
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/golang/sys/releases )
- [Commits](https://github.com/golang/sys/compare/v0.6.0...v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-07 11:22:10 +03:00
Joey
f0987ec071
Update README_ckb.md
2023-04-06 14:14:26 +02:00
Joey
00781c3df2
Update README_zh-TW.md
2023-04-06 14:14:09 +02:00