Fenny
1f52b51dca
Add Content-Length to app.Test() ( #387 )
...
* Add Content-Length if not provided with Body
2020-05-16 08:12:43 +02:00
Fenny
3fb483e9df
Refactor internal functions
2020-05-16 05:11:25 +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
b8228e4546
Golint code
2020-05-12 23:24:04 +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
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
a4273dc3bb
Update version tag ( #345 )
...
* Update version tag 🤖 v1.9.5
2020-05-07 20:28:10 +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
TianhongWu
880824be1c
Use const value for status code ( #325 )
2020-04-29 04:52:51 +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
Fenny
4d14679a87
Add DisableStartupMessage ( #314 )
...
* 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
2020-04-27 23:34:35 +02:00
khaibin
eda372d64d
BodyParser: Ignore unknown fields by default ( #308 )
...
https://godoc.org/github.com/gorilla/schema#Decoder.IgnoreUnknownKeys
2020-04-27 06:30:14 +02:00
Fenny
e2187145c4
Print addr when listening ( #307 )
...
Print addr on listening
2020-04-26 06:05:03 +02:00
Thomas van Vugt
6c91252c6b
Added to Serve function
2020-04-25 21:42:57 +02:00
Thomas van Vugt
8332245781
Add ASCII Fiber logo
2020-04-25 14:33:40 +02:00
Fenny
3e2c27b959
v1.9.2
2020-04-23 01:54:11 +02:00
Fenny
4242901c92
v1.9.2
2020-04-23 00:33:36 +02:00
Fenny
a88b58959b
Update app.go
2020-04-19 16:10:19 +02:00
Fenny
673bd61fa1
BodyParser supports Query params
2020-04-13 09:01:27 +02:00
Fenny
8c00ce8f5f
v1.9.0
2020-04-12 14:58:05 +02:00
Fenny
79c378c384
v1.8.431
2020-03-31 10:03:39 +02:00
Fenny
f40d786caa
v1.8.4
...
- Remove middleware folder
- Extend travis testing
2020-03-22 01:51:53 +01:00
Fenny
c5436a7519
Fix some consts
2020-03-20 16:49:46 +01:00
Fenny
b425a5b4bf
v1.8.34
2020-03-20 16:43:28 +01:00
Fenny
9657019879
Add more comments
2020-03-16 17:18:25 +01:00
Fenny
c7baaf6243
v1.8.33
2020-03-16 15:00:58 +01:00
Fenny
bec9eecb29
v1.8.32
2020-03-15 14:45:57 +01:00
Fenny
0133d9c331
Add StaticConfig
2020-03-15 14:00:03 +01:00
Fenny
20de89cab3
v1.8.32
2020-03-15 13:48:54 +01:00
Fenny
48e7892624
Merge branch 'master' of https://github.com/Fenny/fiber
2020-03-14 12:30:33 +01:00
Fenny
558fcd2f30
v1.8.3
2020-03-14 12:30:21 +01:00
Fenny
d2b51c521c
..
2020-03-13 14:27:40 -04:00
Wayne Chen
225bbdb131
fix bug of Prefork
2020-03-10 14:32:21 +08:00
Fenny
5e819e5ef5
Fix bool comparison
2020-03-04 12:41:38 +01:00
Fenny
21590dffe9
v1.8.2
2020-03-04 12:30:29 +01:00
Fenny
d547d441a3
New internal router alpha
2020-03-03 12:21:34 -05:00
Fenny
9a08ee8458
Fix error checking
2020-03-01 07:31:14 +01:00
Fenny
ca6aa02e7f
More middlewares
2020-03-01 06:56:41 +01:00
Fenny
88ffd8fb13
Remove compressionlevel
2020-02-29 22:11:25 -05:00
Fenny
135c0ba12b
Compression update
2020-02-28 20:19:31 -05:00
Fenny
df65a5785b
Rename View -> Template settings
2020-02-27 05:12:41 -05:00
Fenny
b872361da9
Strong type app.METHODS
2020-02-27 04:10:26 -05:00
Fenny
3a47ccd916
Fix Trace misspelling
2020-02-26 19:55:27 -05:00
Fenny
2eeb40273c
v1.8.0
2020-02-26 19:31:43 -05:00
Fenny
bf66978a7f
Fix comments
2020-02-22 17:03:30 -05:00
Fenny
97b13de5fc
Fix go.sum
2020-02-22 16:23:40 -05:00
Fenny
6017e6e457
🎉 Official v1 Release
2020-02-21 22:36:26 -05:00