Juan Calderon-Perez
16f9056f5f
🐛 fix: Improve naming convention for Context returning functions ( #3193 )
...
* Rename UserContext() to Context(). Rename Context() to RequestCtx()
* Update Ctxt docs and What's new
* Remove extra blank lines
---------
Co-authored-by: M. Efe Çetin <efectn@protonmail.com>
2024-11-13 16:12:19 +01:00
Muhammed Efe Cetin
75bb02b87e
Merge remote-tracking branch 'origin/master' into v3-beta
2023-08-05 22:02:01 +03:00
Muhammed Efe Çetin
41866cd3dd
👷 v3 (ci): fix some linter warnings
2023-03-06 17:35:39 +03:00
Muhammed Efe Çetin
15e9235383
📝 docs: remove README.mds from middleware dirs
2023-03-06 16:42:35 +03:00
Muhammed Efe Çetin
088cde594d
Merge remote-tracking branch 'origin/master' into v3-beta
2023-02-05 23:43:42 +03:00
leonklingele
ac4ce21d9c
🐛 Bug: Fix issues introduced in linting PR ( #2319 )
...
* internal: revert linting changes
Changes to the internal package should not have been made in 167a8b5e94
.
* middleware/monitor: revert changes to exported field "ChartJSURL"
This is a breaking change introduced in 167a8b5e94
.
* middleware/monitor: fix error checking
Fix the errorenous error checking introduced in 167a8b5e94
.
* 🐛 Bug: Fix issues introduced in linting PR #2319
* 🐛 Bug: Fix issues introduced in linting PR #2319
* Bug: Fix issues introduced in linting PR #2319
---------
Co-authored-by: René Werner <rene@gofiber.io>
2023-02-02 15:57:40 +01:00
leonklingele
167a8b5e94
🚀 Feature: Add and apply more stricter golangci-lint linting rules ( #2286 )
...
* golangci-lint: add and apply more stricter linting rules
* github: drop security workflow now that we use gosec linter inside golangci-lint
* github: use official golangci-lint CI linter
* Add editorconfig and gitattributes file
2023-01-27 09:01:37 +01:00
M. Efe Çetin
5406560033
🧹 chore: make most tests parallel ( #2299 )
...
* 🧹 chore: make most tests parallel
* revert some tests
* revert some tests
* revert some tests
2023-01-15 23:21:37 +08:00
M. Efe Çetin
691d2e6ad5
🗑️ deprecate: go 1.14 & go 1.15 support deprecation ( #2172 )
...
* 🗑️ deprecate: go 1.14 & go 1.15 support deprecation
https://github.com/valyala/fasthttp/pull/1379
* fix tests
2022-10-26 11:51:50 +02:00
M. Efe Çetin
10d6f69a89
✨ v3 (feature): new redirection methods ( #2014 )
...
* ✨ v3 (feature): new redirection methods
* add flash messages
* withinput, parsing flash message
* add tests
* add benchmarks
* gosec issues
* fix tests
* fix tests
* fix performance issues
* fix performance issues
* optimization.
* better names
* fix tests
* Update router.go
* fix
* fix old messaages with flash messages behavior, add new test case with req
* complete some reviews
* add pool for redirection.
* use constant
* update
* ✨ v3 (feature): new redirection methods
* fix tests, optimize cookie parsing (9 allocs -> 1 alloc)
* test case for message includes comma
* cleanup
* optimization.
* some improvements for the redirect feature
* fix Benchmark_Redirect_Route_WithFlashMessages
* some improvements for the redirect feature
* Update redirect.go
* improve message parsing & test case
Co-authored-by: René Werner <rene@gofiber.io>
2022-09-23 08:17:34 +02:00
Trim21
c964fda009
v3(tests): use testify for assertion ( #2036 )
...
* replace
* write
* rewrite more
* rewrite
* rewrite
* fix
* rewrite
2022-08-22 07:57:10 +02:00
Muhammed Efe Çetin
4105b008c2
Merge remote-tracking branch 'origin/master' into v3-beta
2022-08-19 14:33:31 +03:00
M. Efe Çetin
a458bd344c
✨ v3 (feature): convert fiber.Ctx type to interface ( #1928 )
...
* ✨ v3: convert fiber.Ctx type to interface
* update ctx methods
* add new methods to customize ctx, fix some problems
* update comments.
* fix something
2022-07-13 07:48:29 +02:00
Muhammed Efe Çetin
f119794035
v3: replace io/ioutil by io and os, update version constant
2022-06-01 18:34:22 +03:00
Muhammed Efe Çetin
1188144d78
🎉 v3: init
2022-05-31 17:35:49 +03:00
M. Efe Çetin
5766feef29
✨ feature: add Next to Pprof and Expvar middlewares. ( #1737 )
...
* Add Next to Pprof and Expvar middlewares.
* Update READMEs.
2022-01-29 22:24:32 +01:00
hi019
bc7b240158
improve mw
2020-11-21 12:36:16 -05:00
kiyon
c30c98a537
🎨 improve README
2020-09-28 13:06:42 +08:00
kiyon
6e40c15149
🆕 add expvar middleware
...
It's wrapper of fasthttp/expvarhandler
2020-09-28 12:59:49 +08:00