Commit Graph

3506 Commits (182f9f09705eab40c61a618835d46faee79c1e49)

Author SHA1 Message Date
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
Joey b1bd06691b
Update README_zh-CN.md 2023-04-06 14:14:05 +02:00
Joey f3d67f0b50
Update README_uk.md 2023-04-06 14:14:01 +02:00
Joey 1f5d7ca80c
Update README_tr.md 2023-04-06 14:13:58 +02:00
Joey 7a5e033a4b
Update README_sa.md 2023-04-06 14:13:54 +02:00
Joey 069617be16
Update README_ru.md 2023-04-06 14:13:51 +02:00
Joey f431f965fb
Update README_pt.md 2023-04-06 14:13:47 +02:00
Joey 700868c986
Update README_nl.md 2023-04-06 14:13:44 +02:00
Joey 87c8a3e995
Update README_ko.md 2023-04-06 14:13:40 +02:00
Joey 8988ac4d11
Update README_ja.md 2023-04-06 14:13:36 +02:00
Joey ef22e461d3
Update README_it.md 2023-04-06 14:13:33 +02:00
Joey 820d86abdb
Update README_id.md 2023-04-06 14:13:09 +02:00
Joey 66fb58cc74
Update README_he.md 2023-04-06 14:13:05 +02:00
Joey e18c211d7d
Update README_fr.md 2023-04-06 14:13:01 +02:00
Joey 79af24ee9a
Update README_fa.md 2023-04-06 14:12:57 +02:00
Joey 6dee3c8191
Update README_es.md 2023-04-06 14:12:53 +02:00
Joey 336a802608
Update README_de.md 2023-04-06 14:12:50 +02:00