3477 Commits

Author SHA1 Message Date
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
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