3610 Commits

Author SHA1 Message Date
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
Joey
e7adba48c9
Update README.md 2023-04-06 14:10:39 +02:00
Shahriar Sohan
74a9fa96f5
docs: added code link to fiber config fields (#2385)
* docs: added code link to fiber config fields

* docs: added code link to fiber config fields [reference line link updated]

* docs: added code link to fiber config fields [reference line link updated]

* removed reference line link from docs

* docs/api: fix indentation

---------

Co-authored-by: leonklingele <git@leonklingele.de>
2023-04-04 11:12:53 +02:00
leonklingele
5a8bc44a1f
Merge pull request #2397 from gofiber/fix_logger_data_race
middleware/logger: Fix #2396, data race logger middleware
2023-04-02 14:49:08 +02:00
René Werner
035e7d4f43 Fix #2396, data race logger middleware 2023-04-02 14:36:00 +02:00
René Werner
243f393434 Fix #2396, data race logger middleware 2023-04-02 14:08:20 +02:00
RW
e9541945e5
Update faq.md 2023-03-31 12:36:30 +02:00
RW
856332c16a
Update faq.md 2023-03-31 12:35:20 +02:00
João Vitor
5eb4d57d88
feat: adding to fac sub domain routing 📝 (#2393)
* feat: adding to fac sub domain routing

* update: docs to include a example

* Update faq.md

* fix code after tests

---------

Co-authored-by: RW <rene@gofiber.io>
2023-03-31 12:29:14 +02:00
Iliya
bf31f1f3c6
💊 Change default value of Querybool from true to false. (#2391)
* 🩹 Fix QueryBool function: change default value from true to false

* 📚 Update QueryBool function document

* Update ctx.md

---------

Co-authored-by: RW <rene@gofiber.io>
2023-03-30 13:26:26 +02:00
RW
28d9abb71b
Fix #2383, accepts mimeType (#2386)
* Fix #2383, accepts mimeType

* Fix #2383, accepts mimeType

* Fix #2383, accepts mimeType
2023-03-27 15:55:41 +02:00
leonklingele
c6e86ac906
github/workflows: also run tests with Go 1.19.x (#2384) 2023-03-25 17:47:38 +01:00
leonklingele
2f591c991d
Merge pull request #2381 from gofiber/dependabot/go_modules/github.com/mattn/go-isatty-0.0.18
Bump github.com/mattn/go-isatty from 0.0.17 to 0.0.18
2023-03-25 15:37:10 +01:00
René Werner
c9121189a9 Fix docu 2023-03-24 18:58:15 +01:00
René Werner
cc5c793d83 Add documentation for ctx.QueryFloat and ctx.QueryBool 2023-03-24 18:54:09 +01:00
RW
69884117c2
prepare release v2.43.0 v2.43.0 2023-03-24 18:23:38 +01:00
dependabot[bot]
152d59aeb7
Bump github.com/mattn/go-isatty from 0.0.17 to 0.0.18
Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty) from 0.0.17 to 0.0.18.
- [Release notes](https://github.com/mattn/go-isatty/releases)
- [Commits](https://github.com/mattn/go-isatty/compare/v0.0.17...v0.0.18)

---
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>
2023-03-24 13:30:56 +00:00
Erkan Durmuş
547db83cdd
Get mime fallback (#2340)
* added fallback to go's mime detection

* added test for getting mime

* added err check

* added err check

* removing import alias for builtin mime and aserting error for adding mime type.

* removing import alias for builtin mime and aserting error for adding mime type.

* added fallback to go's mime detection

* added test for getting mime

* added err check

* added err check

* removing import alias for builtin mime and aserting error for adding mime type.

* removing import alias for builtin mime and aserting error for adding mime type.

---------

Co-authored-by: René Werner <rene.werner@verivox.com>
2023-03-24 14:29:42 +01:00
René Werner
1f52799686 Refresh middleware documentation 2023-03-24 13:23:52 +01:00
leonklingele
f0582a59ef
github: use proper discord invitation link (#2382) 2023-03-23 19:16:52 +03:00
Kyle Manning
32c3961726
corrected coding typos in MountPath docs section (#2379)
* corrected coding typos in MountPath docs section

* Update app.md

---------

Co-authored-by: Kyle Manning <kyle@manning.jp>
Co-authored-by: M. Efe Çetin <efectn@protonmail.com>
2023-03-22 09:44:36 +03:00
dependabot[bot]
7536ce8b1a
Bump actions/setup-go from 3 to 4 (#2376)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-20 08:27:53 +01:00
M. Efe Çetin
9064eb6469
🧹 chore: drop go 1.16 support & update dependencies (#2374)
* 🧹 chore: drop go 1.16 support

* downgrade uniseg

* fix tests

* fix tests

* fix tests
2023-03-20 08:22:31 +01:00
Rorke76753
56839b433e
🚀 [Feature]: middleware/requestid: don't call "Generator" func on existing request ID header (#2371)
call uuid generator only if rid is empty
2023-03-15 09:45:42 +01:00
Benjamin Grosse
d7b36cde54
🐛 requestid.Config.ContextKey is interface{} (#2369)
requestid.Config.ContextKey is interface{}

Consistent with c.Locals(key inteface{}, ...).
Fixes #2356
2023-03-14 19:37:10 +01:00
UtopiaGitHub
678728de6d
🐛 [Bug-Fix]: add lock to avoid data race #2360 (#2368)
Update memory.go

The fix is to protect the access to s.db and save the result to a local variable.
2023-03-14 11:41:48 +01:00
RW
01d39dbb81
Update benchmark.yml 2023-03-14 11:41:39 +01:00
RW
0dee42a57c
Update ctx.md ip documentation 2023-03-14 11:24:11 +01:00
Tumushimire Yves
634f163e3f
🚀 [Feature]: SessionOnly when cookie.Expires is 0 (#2152)
* feature: session only for zero expire cookie #2145

* refactor condition to set MaxAge and Expire on cookie

* move checking zero maxage and expire in session middleware

Signed-off-by: Yves Tumushimire <yvestumushimire@gmail.com>

* feature: session only for zero expire cookie #2145

* refactor condition to set MaxAge and Expire on cookie

* move checking zero maxage and expire in session middleware

Signed-off-by: Yves Tumushimire <yvestumushimire@gmail.com>

* CR changes

* some updates

---------

Signed-off-by: Yves Tumushimire <yvestumushimire@gmail.com>
Co-authored-by: Muhammed Efe Çetin <efectn@protonmail.com>
Co-authored-by: René Werner <rene.werner@verivox.com>
2023-03-12 19:14:22 +01:00
René Werner
01fcdedcef improve labeler config 2023-03-12 09:31:49 +01:00
RW
9e440635f0
enable benchmark summary for pull requests/ fix auto labeler (#2365)
* enable benchmark summary for pull requests

* enable benchmark summary for pull requests

* correct auto labeler
2023-03-10 10:30:52 +01:00
Hong Seungwoo
c1c119337f
Fix typo in docs (#2357)
Co-authored-by: Seungwoo Hong <qksn1541@hits.ai>
2023-03-08 17:59:36 +03:00
Muhammed Efe Çetin
15e9235383
📝 docs: remove README.mds from middleware dirs 2023-03-06 16:42:35 +03:00
lublak
2e7e879d6f
feature: allow preloaded certs with prefork (#2351)
* allow preloaded certs with prefork

* add to documentation

* add comments for ListenMutualTLSWithCertificate

* add test for WithCertificate

* Update benchmark.yml

* Update benchmark.yml

* Update benchmark.yml

* Update benchmark.yml

* Update benchmark.yml

* Update benchmark.yml

---------

Co-authored-by: RW <rene@gofiber.io>
2023-03-06 12:03:41 +01:00
RW
e2da8540be
Update auto-labeler.yml
downgrade autolabeler
2023-03-06 07:55:19 +01:00
Caio Augusto
44fd1976e7
fix(docs): add missing comma (#2353)
fix: add missing comma

nothing too much but it's a fix :p
2023-03-05 23:26:06 +03:00
skyenought
a70b8612b1
🐛 [Bug-Fix] Fix all inaccessible links in docs (#2349)
Fix all inaccessible links in docs
2023-02-28 18:14:41 +01:00
René Werner
19aa55da38 improve workflows
- exclude markdown changes
- don´t push the benchmark results in a pull request
2023-02-28 18:10:05 +01:00
René Werner
7017001921 Merge remote-tracking branch 'origin/master' 2023-02-28 17:47:58 +01:00
dependabot[bot]
0e87b260a1
Bump fuxingloh/multi-labeler from 1 to 2 (#2348)
Bumps [fuxingloh/multi-labeler](https://github.com/fuxingloh/multi-labeler) from 1 to 2.
- [Release notes](https://github.com/fuxingloh/multi-labeler/releases)
- [Commits](https://github.com/fuxingloh/multi-labeler/compare/v1...v2)

---
updated-dependencies:
- dependency-name: fuxingloh/multi-labeler
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 14:21:16 +01:00
RW
d124757c78
Update pull_request_template.md 2023-02-25 11:47:42 +01:00
René Werner
f6b5ed6d26 update proxy docs 2023-02-25 10:57:12 +01:00
René Werner
3992cab83b update proxy docs 2023-02-25 10:56:10 +01:00
René Werner
35e6825614 update proxy docs 2023-02-25 10:55:27 +01:00
René Werner
bfa8b6a222 Merge remote-tracking branch 'origin/master' 2023-02-25 10:44:08 +01:00
M. Efe Çetin
a1eb0e69a6
📝 docs: fix example on envvar middleware 2023-02-25 12:43:57 +03:00
René Werner
d034115dec optimize workflows and test docs sync 2023-02-25 10:43:53 +01:00