1
0
mirror of https://github.com/gofiber/fiber.git synced 2025-02-22 09:33:21 +00:00

84 Commits

Author SHA1 Message Date
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
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