1
0
mirror of https://github.com/gofiber/fiber.git synced 2025-02-20 22:12:56 +00:00

199 Commits

Author SHA1 Message Date
Fenny
cacbfad765 Update timeout comments 2020-06-21 18:00:57 +02:00
Fenny
09116ae22b Add 405 Support 2020-06-21 10:47:03 +02:00
Fenny
44d739496d Add 405 Method Not Allowed 2020-06-20 17:26:48 +02:00
Fenny
0b672c4670 Bump version 1.12.0 2020-06-17 13:38:37 +02:00
Fenny
3915cd607d Typo 2020-06-17 13:37:50 +02:00
Fenny
7beca6a961 v1.12.0-alpha 2020-06-15 15:47:27 +02:00
fenny
f20e66efee
Merge pull request #471 from ReneWerner87/master
🐛 flag.Parse not working when using Prefork on Fiber #469
2020-06-15 15:37:29 +02:00
wernerr
58f88265fd 🐛 flag.Parse not working when using Prefork on Fiber #469
add predefined flags to avoid errors
2020-06-15 15:27:11 +02:00
Fenny
e745960330 Add ReadBufferSize & WriteBufferSize 2020-06-15 13:36:50 +02:00
Fenny
f79fb58278 Add layout support in Render 2020-06-12 12:29:57 +02:00
Fenny
713b51ae30 Add content type to default error handler 2020-06-08 13:09:40 +02:00
Fenny
fbea5211d0 goreportcard fix 2020-06-08 02:55:19 +02:00
wernerr
7617e425d8 organise startup message 2020-06-07 21:19:58 +02:00
wernerr
8c2f4e3edb organise startup message 2020-06-07 21:10:38 +02:00
wernerr
535dc52697 organize default settings more clear 2020-06-07 20:57:55 +02:00
Fenny
abbd18d815 Add CompressedFileSuffix 2020-06-07 20:35:41 +02:00
Fenny
22555c0806 Update 2020-06-07 10:13:50 +02:00
Fenny
a8f8f30b5d Update error handler 2020-06-06 20:49:02 +02:00
Fenny
9fec4c7820 Update app.go 2020-06-06 20:42:55 +02:00
Fenny
f0a9846bf0 Update error handler 2020-06-06 20:42:08 +02:00
Fenny
749aac17bb 🐳 Internal Error Handling 2020-06-06 19:02:28 +02:00
Fenny
bf3c36688f 🚑 Custom Error Interface 2020-06-06 18:54:02 +02:00
Fenny
1acc65bd36 🐛 ErrorHandler & ctx.Routes() 2020-06-06 07:30:22 +02:00
Fenny
f44b1fd88e Update version 2020-06-03 17:20:20 +02:00
Fenny
3470e8db53 Update Version 2020-06-03 00:01:55 +02:00
Fenny
eb8c8d88d3 Update version 1.10.3 2020-06-01 20:30:11 +02:00
Fenny
ae785453bb Hide complete msg on DisableStartupMessage 2020-06-01 20:29:52 +02:00
Fenny
39f6db6c47 Remove old comment 2020-06-01 11:24:12 +02:00
Fenny
2f4b9c4132 Add Handler comment 2020-06-01 11:19:29 +02:00
Fenny
ac64da1a3a Update Version 1.10.2 2020-06-01 11:17:37 +02:00
Juan Riquelme González
5babf5a055 Change DisableStartupMessage behavior 2020-05-30 17:46:06 +02:00
Juan Riquelme González
d247e2a961 Add Settings StartupBanner & HideStartupBanner 2020-05-29 23:41:03 +02:00
fenny
38c8bb240d
Update app.go 2020-05-27 23:06:23 +02:00
fenny
edb10010da
Update app.go 2020-05-27 23:05:47 +02:00
Fenny
30c215c601 Update Version to v1.10.1
Co-Authored-By: RW <renewerner87@googlemail.com>
2020-05-27 22:56:56 +02:00
fenny
02b4061b44
Add Handler & Templates interface (#412)
* Add new supporter
* Add new test condition
* Add Handler Type
* Update Templates Interface
2020-05-25 13:31:20 +02:00
fenny
e8b8fdfb35
Add Handler type (#410)
* Add new supporter
* Add new test condition
* Add Handler Type
2020-05-24 16:02:21 +02:00
Fenny
6cd50c9e7b Add RenderEngine & DisableHeaderNormalizing
- RenderEngine setting
- DisableHeaderNormalizing setting
- Move sync pool to *App
- Return *Route

Co-Authored-By: RW <renewerner87@googlemail.com>
2020-05-23 09:25:18 +02:00
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