3597 Commits

Author SHA1 Message Date
René Werner
5745dfe1ac add docs for dynamic routing 2023-08-27 14:29:17 +02:00
René Werner
57aef091c4 add docs for dynamic routing 2023-08-27 14:27:40 +02:00
RW
b84f8a64e3
Update app.go
prepare release v2.49.0
v2.49.0
2023-08-27 12:53:07 +02:00
René Werner
1512997235 improve not found error 2023-08-27 12:35:30 +02:00
Jian Lim
8ec7cec435
♻️ Refactor: Use Global vars instead of local vars for isLocalHost (#2595)
♻️ Refactor: Use Global vars instead of local vars for isLocalHost
2023-08-23 12:19:22 +02:00
dependabot[bot]
408501434a
build(deps): bump github.com/google/uuid from 1.3.0 to 1.3.1 (#2592)
Bumps [github.com/google/uuid](https://github.com/google/uuid) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/google/uuid/releases)
- [Changelog](https://github.com/google/uuid/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/uuid/compare/v1.3.0...v1.3.1)

---
updated-dependencies:
- dependency-name: github.com/google/uuid
  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-08-23 08:35:52 +03:00
RW
7850cde541
Update CONTRIBUTING.md 2023-08-22 12:35:26 +02:00
Jian Lim
35797e6639
📝 Docs: update io/ioutil package to io package (#2589)
Deprecation of io/ioutil
2023-08-22 08:57:00 +02:00
M. Efe Çetin
1dea615ddf
🔥 add config to enable splitting by comma in parsers (#2560)
* 🔥 add config to enable splitting by comma in parsers

🔥 add config to enable splitting by comma in parsers

* optimize if statements, remove escape char support

optimize if statements, remove escape char support

* update
2023-08-21 09:44:02 +02:00
M. Efe Çetin
e2f7457d4d
🧹 chore: add go 1.21 to ci and readmes (#2588) 2023-08-19 18:31:38 +02:00
Girges Scandar
5fd3f20de8
📝 Replace EG flag with the proper and smaller SVG (#2585)
replace the EG flag with the proper smaller svg
2023-08-18 08:57:52 +02:00
Eng Zer Jun
242ff94505
♻️ Refactor: Remove redundant nil check (#2584)
From the Go docs:

  "If the map is nil, the number of iterations is 0." [1]

Therefore, an additional nil check for before the loop is unnecessary.

[1]: https://go.dev/ref/spec#For_range

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2023-08-17 20:49:53 +02:00
RW
85d1f6895a
Update README.md
correct EG flag
2023-08-17 16:24:38 +02:00
Jacob
892b23bd46
Add custom data property to favicon middleware config (#2579)
* Add custom data property to favicon middleware

* Update favicon middleware docs

* Fix formatting
2023-08-17 15:04:53 +02:00
Girges Scandar
bd9c3fc239
📝 Added Egyptian Arabic readme file (#2565)
* Adds EG readme

* Links EG readme to other readmes

* update language count to 19

* add missing translation
2023-08-17 14:35:48 +02:00
Jason McNeil
c3ae06608b
🐛 fix(middleware/logger): default latency output format (#2580)
* fix: default logger formater latency

* test: add Test_Logger_WithLatency_DefaultFormat

* test: rm t.Parallel() from Latency tests

Trying to make windows CI pass....

* test: fix windows sleep issue
2023-08-17 14:33:59 +02:00
Jason McNeil
2624c5dc63
Merge pull request #2569 from sixcolors/2258-logger-latency
💄 feat(middleware/logger): latency match gin-gonic/gin formatter
2023-08-10 21:13:33 -03:00
Jason McNeil
35da4c6a75
test: fix text 2023-08-10 16:04:29 -03:00
Jason McNeil
7b1aa8a612
chore: rm debug 2023-08-10 15:35:16 -03:00
Jason McNeil
acf427c4bb
chore: TagLatency match gin-gonic/gin format 2023-08-10 15:27:25 -03:00
Anderson Miranda
35a13fb726
📚 Doc: Translate README to Portuguese (#2567)
📚 Doc: Translate REAMDE to Portuguese

Co-authored-by: Anderson Miranda <amiranda@dminc.com>
2023-08-09 13:05:01 +02:00
dependabot[bot]
8d8bddf212
build(deps): bump golang.org/x/sys from 0.10.0 to 0.11.0 (#2563)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.10.0 to 0.11.0.
- [Commits](https://github.com/golang/sys/compare/v0.10.0...v0.11.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-08-07 16:16:16 +02:00
René Werner
e6a9380880 sync docs workflow optimization 2023-08-07 16:03:12 +02:00
RW
e4839eaeba
Update sync_docs.sh
optimize sync docs
- sort version json
2023-08-07 15:51:16 +02:00
René Werner
1e4e0c3b76 optimize release drafter config 2023-08-07 10:35:50 +02:00
M. Efe Çetin
9fbb961adb
filesystem: refactor: use errors.Is instead of os.IsNotExist (#2558) 2023-08-06 18:10:44 +02:00
João Victor Oliveira Couto
f29f39b1b3
fix: Decompress request body when multi Content-Encoding sent on request headers (#2555)
* 🔧 feat: Decode body in order when sent a list on content-encoding

* 🚀 perf: Change `getSplicedStrList` to have 0 allocations

* 🍵 test: Add tests for the new features

* 🍵 test: Ensure session test will not raise an error unexpectedly

* 🐗 feat: Replace strings.TrimLeft by utils.TrimLeft

Add docs to functions to inform correctly what the change is

* 🌷 refactor: Apply linter rules

* 🍵 test: Add test cases to the new body method change

* 🔧 feat: Remove return problems to be able to reach original body

* 🌷 refactor: Split Body method into two to make it more maintainable

Also, with the previous fix to problems detected by tests, it becomes really hard to make the linter happy, so this change also helps in it

* 🚀 perf: Came back with Header.VisitAll, to improve speed

* 📃 docs: Update Context docs
2023-08-06 17:23:37 +02:00
M. Efe Çetin
e91b02b345
📝 docs: fix wrong JSON docs (#2554) 2023-07-26 13:27:45 +02:00
Renan Bastos
3e5743bcac
doc: Improve *fiber.Client section (#2553)
* wip

* doc: Improve *fiber.Client section

Enhanced the documentation for the *fiber.Client section, providing
a clear and concise example to help users better understand its usage.

* chore: refactor message about example
2023-07-25 20:15:23 +02:00
René Werner
443804e95d improved the config section of the middleware readme´s 2023-07-24 17:03:11 +02:00
RW
51ea636b60
improved the config section of the middleware readme´s (#2552) 2023-07-24 16:46:50 +02:00
Lev Saminskij
5d74725a69
📝 added documentation about ctx Fresh (#2549)
added documentation about ctx Fresh
2023-07-24 15:36:18 +02:00
dependabot[bot]
8e9d57f5a0
Bump github.com/mattn/go-runewidth from 0.0.14 to 0.0.15 (#2551)
Bumps [github.com/mattn/go-runewidth](https://github.com/mattn/go-runewidth) from 0.0.14 to 0.0.15.
- [Commits](https://github.com/mattn/go-runewidth/compare/v0.0.14...v0.0.15)

---
updated-dependencies:
- dependency-name: github.com/mattn/go-runewidth
  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-07-24 16:34:17 +03:00
Precious Luke
2c8c4a6545
Update intro.md (#2550)
Since we are using port 3000, it ideal to maintain that throughout in order not to confuse beginners
2023-07-22 18:42:48 +03:00
RW
c0116f445f
Update ctx.md
Add hint for references to GetReqHeaders
2023-07-20 16:47:39 +02:00
RW
3b08646abf
Update ctx.md
Add additional documentation for GetRespHeaders
2023-07-20 16:43:49 +02:00
Štefan Baebler
f1ff0f45c8
📚 Doc: Fixed link to slim template engine (#2547)
docs: fixed link to slim template engine
2023-07-18 11:57:06 +02:00
RW
f6446ab0b9
Update log.md v2.48.0 2023-07-16 16:18:23 +02:00
RW
9c2d214bcf
Update app.go
prepare release v2.48.0
2023-07-16 16:06:35 +02:00
f1rstmehul
08099b0635
📚 Docs: Fix link (#2542)
fix link
2023-07-15 20:20:29 +02:00
André da Silva
58270e2d5b
🩹 Fix: dictpool is not completely gone (#2540)
* Completely remove dictpool

Looks like issue:
https://github.com/gofiber/fiber/issues/2209
Was not complete. So here dictpool is completely gone

* Fix linting error
2023-07-11 09:06:32 +02:00
RW
a9933f50c5
Update intro.md 2023-07-09 18:52:51 +02:00
René Werner
99902abc0c improve docs sync script 2023-07-09 18:49:42 +02:00
René Werner
47b767e716 Merge remote-tracking branch 'origin/master' 2023-07-09 18:46:41 +02:00
René Werner
fb9b57f534 improve docs sync script 2023-07-09 18:46:37 +02:00
RW
924fefd677
Update README.md 2023-07-08 22:02:08 +02:00
RW
4e5540fcbf
Update README.md
fix dark and light mode picture
https://github.blog/changelog/2021-11-24-specify-theme-context-for-images-in-markdown/
2023-07-08 21:59:24 +02:00
René Werner
032bde9452 use new template docs in fiber docs 2023-07-08 21:33:15 +02:00
M. Efe Çetin
70aec2b4ca
📝 docs: update sync_docs.sh script (#2532)
* 📝 docs: update sync_docs.sh script

* 📝 docs: update sync_docs.sh script
2023-07-06 16:14:57 +02:00
RW
453ccadadd
Update sync-docs.yml 2023-07-06 11:39:20 +02:00