Fenny
d59282db20
Improve performance
...
- Move ctx pool to *App
- Improve performance on most methods
- Introduce gofiber/utils
Co-Authored-By: RW <renewerner87@googlemail.com>
2020-05-23 09:26:30 +02:00
Fenny
9574b148e2
Fix Golint errcheck
2020-05-16 05:22:49 +02:00
Fenny
0069c1b92e
Update ctx.go
2020-05-16 05:10:47 +02:00
Fenny
caef8be9ad
Optimizations
...
- Routes in stack are renamed to Layers
- ctx.Body(key ...string) -> ctx.Body()
- ctx.Cookies(key ...string) -> ctx.Cookies(key string)
- Remove referrer type check in ctx.Get
- Validate method override
- Remove unnecessary nil setters in ctx.Next
- Clarify compression bool in c.SendFile
2020-05-16 05:10:37 +02:00
Fenny
e0b13d9ca4
Update test & benchmark ( #374 )
...
Co-Authored-By: RW <renewerner87@googlemail.com>
* Add nosec for WriteByte
* test persistens for benchmark results
* Add tests & benchmark
* Update app_test.go
* Update benchmark.yml
2020-05-13 20:21:49 +02:00
Fenny
8b8f2ad26a
Fix Golint errcheck
2020-05-12 23:26:05 +02:00
Fenny
e719fa00bf
Use param support + optimizations ( #361 )
...
* Benchmark workflow
* Update router.go
* Clean root
* Add mutex
* Benchmark workflow
* Benchmark workflow
* Add mutex
* Enable benchmark tests
* Enable race testing
Co-Authored-By: ReneWerner87 <renewerner87@users.noreply.github.com>
* Benchmark Workflow
* Benchmark workflow
* Add mutex
* Enable benchmark tests
* Enable race testing
Co-Authored-By: ReneWerner87 <renewerner87@users.noreply.github.com>
* Update security workflow
* Benchmark workflow
* Add mutex
* Enable benchmark tests
* Enable race testing
Co-Authored-By: ReneWerner87 <renewerner87@users.noreply.github.com>
* Make Ctx pool accessible
- Add ctx benchmarks
* v1.9.6
* v1.9.6
Co-Authored-By: ReneWerner87 <renewerner87@googlemail.com>
* Improve context functions
* Add utils benchmarks
* Update benchmarks & tests
* Add utils tests
* New tests
* update test
* Move fastpath tests
* offer negotiation
* Cleanup
* Update Vary
Co-Authored-By: RW <renewerner87@googlemail.com>
* Optimize Append
Co-Authored-By: RW <renewerner87@googlemail.com>
* Optimize more methods
Co-Authored-By: RW <renewerner87@googlemail.com>
Co-Authored-By: Vic Shóstak <vikkyshostak@gmail.com>
* Add param support to Use
Co-Authored-By: RW <renewerner87@googlemail.com>
Co-Authored-By: Vic Shóstak <vikkyshostak@gmail.com>
* Add use_params tests
Co-Authored-By: RW <renewerner87@googlemail.com>
Co-Authored-By: Vic Shóstak <vikkyshostak@gmail.com>
* v1.9.7
Co-Authored-By: RW <renewerner87@googlemail.com>
Co-Authored-By: Vic Shóstak <vikkyshostak@gmail.com>
* Tests
Co-Authored-By: RW <renewerner87@googlemail.com>
Co-Authored-By: Vic Shóstak <vikkyshostak@gmail.com>
* v1.9.7
Co-Authored-By: RW <renewerner87@googlemail.com>
Co-Authored-By: Vic Shóstak <vikkyshostak@gmail.com>
Co-Authored-By: József Sallai <jozsef@sallai.me>
Co-Authored-By: Thomas van Vugt <thomasvvugt@users.noreply.github.com>
* Update app_test.go
Co-Authored-By: RW <renewerner87@googlemail.com>
Co-Authored-By: Vic Shóstak <vikkyshostak@gmail.com>
Co-Authored-By: József Sallai <jozsef@sallai.me>
Co-Authored-By: Thomas van Vugt <thomasvvugt@users.noreply.github.com>
Co-Authored-By: Nifty255 <nifty255@users.noreply.github.com>
* Rename argument
Co-Authored-By: RW <renewerner87@googlemail.com>
* Add nosec for WriteByte
Co-Authored-By: RW <renewerner87@googlemail.com>
* Add media article
* Update media articles
* Fix typo
Co-Authored-By: Thomas van Vugt <thomasvvugt@users.noreply.github.com>
* Fix typo
Co-authored-by: ReneWerner87 <renewerner87@users.noreply.github.com>
Co-authored-by: ReneWerner87 <renewerner87@googlemail.com>
Co-authored-by: Vic Shóstak <vikkyshostak@gmail.com>
Co-authored-by: József Sallai <jozsef@sallai.me>
Co-authored-by: Thomas van Vugt <thomasvvugt@users.noreply.github.com>
Co-authored-by: Nifty255 <nifty255@users.noreply.github.com>
2020-05-12 19:24:04 +02:00
Fenny
6e58bfcde3
Make ctx pool accessible + ctx benchmarks ( #355 )
...
**🚀 Fiber `v1.9.6`**
The Ctx pool is now accessible for third-party packages
🔥 New
- `func AcquireCtx(fctx *fasthttp.RequestCtx) *Ctx`
- `func ReleaseCtx(ctx *Ctx)`
🩹 Fixes
- Some `Ctx` methods didn't work correctly when called without an `*App` pointer.
- `ctx.Vary` sometimes added duplicates to the response header
🧹 Updates
- Add context benchmarks
- Remove some unnecessary functions from `utils`
🧬 Middleware
- [gofiber/adaptor](https://github.com/gofiber/adaptor ) `v0.0.1` Converter for net/http handlers to/from Fiber handlers
2020-05-11 04:30:31 +02:00
Fenny
e3b777bacf
🤖 v1.9.5 ( #344 )
...
* 🤖 v1.9.5
Co-authored-by: Fenny <fenny@protonmail.com>
2020-05-07 20:22:26 +02:00
Fenny
8ea25a79b9
💥 v1.9.4 ( #341 )
...
* Update router.go
Co-authored-by: Fenny <fenny@protonmail.com>
2020-05-07 19:28:21 +02:00
Fenny
27a7b21716
Replace two-value range loops ( #324 )
...
* Replace two value range loops
2020-04-29 04:55:34 +02:00
Fenny
0419d089e9
🧹 PR for 1.9.3 ( #321 )
...
* Add crowdin
* Update media links
* Update README_de.md
* Update README_de.md
* Update README_de.md
* Add crowdin link
* Print addr when listening
* Print addr on listening
* Add DisableStartupMessage
* Fix typo
* Update Test_BodyParser
* Support ETags
* v1.9.3
2020-04-28 21:34:34 +02:00
bestgopher
86a9b05d09
Update c.Fresh( #311 ) ( #317 )
...
* update: ctx.BodyParser
* add #311
* Update utils.go
2020-04-28 19:44:22 +02:00
bestgopher
1cf0d257c0
update: ctx.BodyParser ( #316 )
...
* update: ctx.BodyParser
* Update ctx.go
fmt file
2020-04-28 14:18:02 +02:00
bestgopher
260f3b3410
use getString in Range( #312 )
...
* Transform string in Range without allocation
2020-04-27 06:28:53 +02:00
bestgopher
101e1cce98
Modify ctx.Send ( #310 )
...
* fix typo
* move ctx.Write method in ctx.Send
2020-04-26 13:53:13 +02:00
da-z
ccf7989e4f
Fixes typo
2020-04-24 19:00:37 +02:00
Fenny
afeb3025d7
v1.9.2
2020-04-24 02:15:24 +02:00
Fenny
6e2dbc50f7
Update ctx.go
2020-04-24 00:45:02 +02:00
Fenny
4242901c92
v1.9.2
2020-04-23 00:33:36 +02:00
Fenny
1927d6bc40
Test
2020-04-20 22:43:40 +02:00
Fenny
8aa42fb2b1
Update ctx.go
2020-04-20 22:42:59 +02:00
Fenny
673bd61fa1
BodyParser supports Query params
2020-04-13 09:01:27 +02:00
Fenny
79c378c384
v1.8.431
2020-03-31 10:03:39 +02:00
Fenny
48dd9846c6
Issue #250
...
Disable common errors
Fix issue #250
2020-03-29 14:13:02 +02:00
Fenny
6a42bc6450
v1.8.43
2020-03-27 06:56:58 +01:00
Fenny
8ad8d6eb23
Hi Ctx
2020-03-24 05:59:56 +01:00