Fenny
adcf0e4eb2
Delete README.md
2020-05-13 00:54:58 +02:00
Fenny
16ac0e5ef1
Add benchmark charts
2020-05-13 00:54:24 +02:00
Fenny
47bd9f572d
Add benchmark charts ( #366 )
...
* Initial Commit
* Create data.js
* add Benchmark (go) benchmark result for 991344f0329336ee320fb17c7b8f9ee2af9eaaae
* add Benchmark (go) benchmark result for a08dbd5c5bb1e621deb8e7deb621d846f3473913
Co-authored-by: github-action-benchmark <github@users.noreply.github.com>
2020-05-13 00:52:06 +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
99f95b2561
v1.9.6 ( #360 )
...
**🚀 Fiber `v1.9.6`**
Special thanks to @renanbastos93 & @renewerner87 for optimizing the current router.
Help use translate our API documentation by [clicking here](https://crowdin.com/project/gofiber )
🔥 New
- `AcquireCtx` / `ReleaseCtx`
The Ctx pool is now accessible for third-party packages
- Fiber docs merged [Russian](https://docs.gofiber.io/v/ru/ ) translations **84%**
- Fiber docs merged [Spanish](https://docs.gofiber.io/v/es/ ) translations **65%**
- Fiber docs merged [French](https://docs.gofiber.io/v/fr/ ) translations **40%**
- Fiber docs merged [German](https://docs.gofiber.io/v/de/ ) translations **32%**
- Fiber docs merged [Portuguese](https://docs.gofiber.io/v/pt/ ) translations **24%**
🩹 Fixes
- Hotfix for interpolated params in nested routes https://github.com/gofiber/fiber/issues/354
- Some `Ctx` methods didn't work correctly when called without an `*App` pointer.
- `ctx.Vary` sometimes added duplicates to the response header
- Improved router by ditching regexp and increased performance by **817%** without allocations.
```go
// Tested with 350 github API routes
Benchmark_Router_OLD-4 614 2467460 ns/op 68902 B/op 600 allocs/op
Benchmark_Router_NEW-4 3429 302033 ns/op 0 B/op 0 allocs/op
```
🧹 Updates
- Add context benchmarks
- Remove some unnecessary functions from `utils`
- Add router & param test cases
- Add new coffee supporters to readme
- Add third party middlewares to readme
- Add more comments to source code
- Cleanup some old helper functions
🧬 Middleware
- [gofiber/adaptor](https://github.com/gofiber/adaptor ) `v0.0.1` Converter for net/http handlers to/from Fiber handlers
- [gofiber/session](https://github.com/gofiber/session ) `v1.0.0` big improvements and support for storage providers
- [gofiber/logger](https://github.com/gofiber/logger ) `v0.0.6` supports `${error}` param
- [gofiber/embed](https://github.com/gofiber/embed ) `v0.0.9` minor improvements and support for directory browsing
Co-authored-by: ReneWerner87 <renewerner87@googlemail.com>
v1.9.6
2020-05-11 13:42:42 +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
e2cc8106bb
Benchmark workflow ( #351 )
...
* Benchmark workflow
* Add mutex
* Enable benchmark tests
* Enable race testing
Co-authored-by: ReneWerner87 <renewerner87@users.noreply.github.com>
2020-05-09 15:15:34 +02:00
Vic Shóstak
089bb3c8b5
Add Discord badge, update README (ru), typo fixes ( #349 )
...
* Update README.md
* Update README_de.md
* Update README_es.md
* Update README_fr.md
* Update README_he.md
* Update README_id.md
* Update README_ja.md
* Update README_ko.md
* Update README_nl.md
* Update README_pt.md
* Update README_ru.md
* Update README_tr.md
* Update README_zh-CN.md
* Update README.md
* Update README_de.md
* Update README_es.md
* Update README_fr.md
* Update README_he.md
* Update README_id.md
* Update README_ja.md
* Update README_ko.md
* Update README_nl.md
* Update README_pt.md
* Update README_ru.md
* Update README_ru.md
* Update README_ru.md
* Update README_ru.md
* Update README_ru.md
* Update README.md
* Update README_de.md
* Update README_es.md
* Update README_fr.md
* Update README_he.md
* Update README_id.md
* Update README_ja.md
* Update README_ko.md
* Update README_nl.md
* Update README_pt.md
* Update README_tr.md
* Update README_zh-CN.md
2020-05-08 17:11:39 +02:00
Fenny
1c9a28e264
🧹 Cleanup test files ( #348 )
...
🧹 Cleanup test files
2020-05-07 22:53:06 +02:00
Fenny
faac62e86a
Merge remote-tracking branch 'upstream/master'
2020-05-07 22:50:15 +02:00
Fenny
5594ba5fdc
Cleanup test files
2020-05-07 22:49:26 +02:00
Fenny
72a5fb8ffa
Skip passing * value for root paths ( #347 )
...
* Skip passing * value for root paths
* Remove t.Log from test
Co-authored-by: Fenny <fenny@protonmail.com>
2020-05-07 21:02:24 +02:00
Fenny
30870fc255
Remove t.Log from test
2020-05-07 20:59:52 +02:00
Fenny
4cb36496bd
Skip passing * value for root paths
2020-05-07 20:41:53 +02:00
Fenny
a5b8784aa2
Merge remote-tracking branch 'upstream/master'
2020-05-07 20:39:55 +02:00
Fenny
5f73134539
🌱 Third Party Middlewares ( #346 )
...
🌱 Third Party Middlewares
2020-05-07 20:36:42 +02:00
Fenny
f984c8ec66
🌱 Third Party Middlewares
2020-05-07 20:34:58 +02:00
Fenny
a4273dc3bb
Update version tag ( #345 )
...
* Update version tag 🤖 v1.9.5
2020-05-07 20:28:10 +02:00
Fenny
383591fba6
Update version tag
2020-05-07 20:26:25 +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
9f5a22af35
🤖 v1.9.5
2020-05-07 20:15:27 +02:00
Fenny
a9a306af05
Merge branch 'master' of https://github.com/Fenny/fiber
2020-05-07 20:12:57 +02:00
Fenny
0a2c9a9a3b
Fix
2020-05-07 20:10:37 +02:00
Fenny
6c5f9743d5
Merge branch 'master' into master
2020-05-07 20:08:22 +02:00
Fenny
a17b098b31
Wildcard optimization
2020-05-07 20:07:13 +02:00
Fenny
ae7d2bd754
Hotfix wildcard ( #342 )
...
* Hotfix wildcard
2020-05-07 19:43:25 +02:00
Fenny
9e66766625
Hotfix wildcard
2020-05-07 19:42:46 +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
6c31c2fe08
Update supporters
2020-05-07 18:40:18 +02:00
Fenny
ce25250a1e
Merge remote-tracking branch 'upstream/master'
2020-05-07 18:24:39 +02:00
Wei Lun
eb2f3d347f
docs: add media blog post to all READMEs ( #340 )
2020-05-07 18:24:18 +02:00
Fenny
9f5220e58d
Cleanup
2020-05-07 18:23:06 +02:00
Fenny
c6eb71434a
Cleanup
2020-05-07 18:16:20 +02:00
Fenny
572ad26816
Cleanup some things
2020-05-07 18:15:59 +02:00
Fenny
fb2e053b89
Use constants
2020-05-07 17:57:21 +02:00
Fenny
53d2e739df
Update router_test.go
2020-05-07 17:24:12 +02:00
Fenny
0cb6f0fdac
[][]*Route
2020-05-07 17:11:21 +02:00
Fenny
52eda3a76c
Update router.go
2020-05-07 16:42:04 +02:00
Fenny
e771417ae1
Update router.go
2020-05-07 16:37:40 +02:00
Fenny
2446ca9a6d
Update router.go
2020-05-07 16:35:48 +02:00
Fenny
8003e1b959
Update router.go
2020-05-07 16:32:15 +02:00
Fenny
d2a6602086
Add map[string][]*Route
2020-05-07 16:27:26 +02:00
Fenny
b1910639d8
Update router_test.go
2020-05-06 21:26:48 +02:00
Fenny
a58224ec7b
Update router_test.go
2020-05-06 21:14:56 +02:00
Fenny
528f13c1c0
Add router_test
2020-05-06 21:09:45 +02:00
Fenny
7e0f072f51
Update router.go
2020-05-06 16:35:14 +02:00
Fenny
c34e9e03cd
Merge branch 'master' of https://github.com/Fenny/fiber
2020-05-06 15:59:43 +02:00
Fenny
39d142ee09
New params parser
2020-05-06 15:59:40 +02:00
Fenny
9aa2ab8312
Merge remote-tracking branch 'gofiber/master'
2020-05-05 21:18:09 -04:00
Wei Lun
8ac37cfe77
add media blog post ( #333 )
2020-05-04 22:29:41 +02:00