ReneWerner87
df3c48a734
🌵 hybrid routing with tree and fast router
2020-08-10 10:51:38 +02:00
ReneWerner87
e802c41f41
Merge branch 'hybrid_routing' into improve_route_behavior
2020-08-10 10:14:31 +02:00
ReneWerner87
945b61d1c3
🌵 hybrid routing with tree and fast router
2020-08-09 21:53:15 +02:00
ReneWerner87
b8ca4c9b8a
🚀 improve routing behavior
2020-08-07 21:42:53 +02:00
wernerr
b29182db31
🚀 compress same route's handler
2020-07-20 19:34:44 +02:00
wernerr
b9bdc0d4a8
🚀 compress same route's handler
2020-07-20 19:29:54 +02:00
wernerr
baf44ff05e
Merge remote-tracking branch 'origin/app-routes' into app-routes
2020-07-20 18:26:09 +02:00
kiyon
91f8cc891c
🚀 compress same route's handler and sort routes when registering
2020-07-20 23:14:51 +08:00
kiyon
174eb0e33d
🚀 compress same route's handler and sort routes when registering
2020-07-20 21:43:01 +08:00
Fenny
ca1bd29359
🧪 Add TLS Tests
2020-07-15 18:50:28 +02:00
Fenny
da85c85c14
🧪 Increase test coverage: 96%
2020-07-15 17:43:30 +02:00
kiyon
75be864c12
👍 improve router test coverage
2020-07-15 10:37:25 +08:00
Fenny
964f3c59ae
🔨 Make Params available in Route
2020-07-05 11:17:42 +02:00
ReneWerner87
d57651835b
improve routing performance
2020-06-29 22:51:41 +02:00
ReneWerner87
eb0b365111
🚀 Added possibility to work with urlencoded special characters in the route
2020-06-25 15:25:16 +02:00
ReneWerner87
cf4836c606
🚀 Added possibility to work with urlencoded special characters in the route
2020-06-25 08:44:29 +02:00
Fenny
578e566475
Add 405 Support
2020-06-21 12:17:22 +02:00
Fenny
4102262dd7
Add benchmark
2020-06-21 11:11:45 +02:00
kiyon
3b513cd8b0
add test case for ensuring router interface implementation
2020-06-17 22:57:58 +08:00
Fenny
fbea5211d0
goreportcard fix
2020-06-08 02:55:19 +02:00
wernerr
832d952b5f
swap out the test routes into a json file
2020-06-07 15:42:55 +02:00
Fenny
1d16f99438
Update comment
2020-06-03 00:02:26 +02:00
Fenny
f9c08818ed
Return 404 if Next does not match
2020-06-01 13:36:51 +02:00
Fenny
a58bc02eca
Update benchmarks
2020-06-01 12:05:02 +02:00
Fenny
5c5afa88ae
Add 404 Benchmark
2020-06-01 11:54:23 +02:00
Fenny
d940948112
Update variable name
...
Co-Authored-By: RW <renewerner87@googlemail.com>
2020-05-27 22:54:20 +02:00
wernerr
dacec74f17
🐞 Panic on ":param" #405
2020-05-24 14:49:11 +02:00
wernerr
0ac9b1c635
🐞 Panic on ":param" #405
2020-05-24 14:47:32 +02:00
wernerr
04642a3404
🐞 Panic on ":param" #405
2020-05-24 14:01:52 +02:00
wernerr
3d2d072074
🐞 Panic on ":param" #405
2020-05-24 08:47:47 +02:00
Fenny
7430e6c154
Introduce gofiber/utils
...
Co-Authored-By: RW <renewerner87@googlemail.com>
2020-05-23 09:30:03 +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
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>
2020-05-11 13:42:42 +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
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
813850c83c
v2.0.0
2020-02-21 16:56:32 +01:00
Fenny
bdaac2d116
v1.7.0
2020-02-21 16:54:14 +01:00
Fenny
21b77bf03e
😲
2020-02-21 01:54:50 +01:00
Fenny
659e1a1ab6
Deprecate old functions
2020-02-16 18:00:14 +01:00
Fenny
526e131d65
Fix travis err
2020-02-12 04:07:59 +01:00
Fenny
1e7df547ba
Clean up repository
2020-02-10 01:24:59 +01:00