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

75 Commits

Author SHA1 Message Date
ReneWerner87
b81126d3d7 Reduce pre allocated memory, fix Etag benchmark, cleanup unused stuff 2020-05-23 14:56:52 +02:00
Fenny
7747f73614 Remove un-used map
Co-Authored-By: RW <renewerner87@googlemail.com>
2020-05-23 09:53:20 +02:00
Fenny
63cfbf4bc2 Replace utils with gofiber/utils
Co-Authored-By: RW <renewerner87@googlemail.com>
2020-05-23 09:30:21 +02:00
Fenny
9bf2a618e9 Add toLower, toUpper & trimRight 2020-05-16 05:13:01 +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
5594ba5fdc Cleanup test files 2020-05-07 22:49:26 +02:00
Fenny
9f5a22af35 🤖 v1.9.5 2020-05-07 20:15:27 +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
0cb6f0fdac [][]*Route 2020-05-07 17:11:21 +02:00
Fenny
39d142ee09 New params parser 2020-05-06 15:59:40 +02:00
Fenny
3330dd81e4 Replace two value range loops 2020-04-29 00:15:52 +02:00
Fenny
2267f8790c v1.9.3 2020-04-28 21:29:20 +02:00
Fenny
e5e887f9e0 Merge remote-tracking branch 'upstream/master' 2020-04-28 19:45:40 +02:00
Fenny
f7e00f4461 Support ETags 2020-04-28 19:45:23 +02:00
bestgopher
86a9b05d09
Update c.Fresh(#311) (#317)
* update: ctx.BodyParser

* add #311

* Update utils.go
2020-04-28 19:44:22 +02:00
Fenny
683a33b143 Print addr when listening 2020-04-26 05:57:18 +02:00
bestgopher
2f4cd15b9f
add two statuscodes: 421,103 (#306)
* Add HTTP status codes: 421,103
2020-04-26 05:54:05 +02:00
Fenny
4242901c92 v1.9.2 2020-04-23 00:33:36 +02:00
Fenny
8c00ce8f5f v1.9.0 2020-04-12 14:58:05 +02:00
Fenny
6a42bc6450 v1.8.43 2020-03-27 06:56:58 +01:00
Fenny
3c8f582cad More cleaning 2020-03-24 05:31:51 +01:00
Fenny
9f4b3b8384 Faster JSON serialization 2020-03-24 03:36:52 +01:00
Fenny
f40d786caa v1.8.4
- Remove middleware folder
- Extend travis testing
2020-03-22 01:51:53 +01:00
Fenny
b425a5b4bf v1.8.34 2020-03-20 16:43:28 +01:00
Fenny
5c619e872c Stale isEqual for now 2020-03-17 13:24:08 +01:00
Fenny
7eed1953a3 Add faster comparison util 2020-03-16 22:29:32 +01:00
Fenny
558fcd2f30 v1.8.3 2020-03-14 12:30:21 +01:00
Fenny
21590dffe9 v1.8.2 2020-03-04 12:30:29 +01:00
Fenny
ca6aa02e7f More middlewares 2020-03-01 06:56:41 +01:00
Fenny
37583902cd Remove unused variables 2020-02-29 22:36:03 -05:00
Fenny
8061bb007d v1.8.1 - Middleware + Compression 2020-02-28 06:41:48 +01: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
1991d8db32 🎉 Official v1 Release 2020-02-21 18:07:43 +01:00
Fenny
b01e74187c v0.7.0 2020-02-21 18:06:08 +01: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
801ddad7d2 https://github.com/gofiber/fiber/issues/159 2020-02-21 05:17:35 +01:00
Fenny
9faf00065f fix infinite recursive call 2020-02-21 02:01:37 +01:00
Fenny
65e13a6041 fix cibot 2020-02-21 01:59:02 +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
5acffdb2a1 Add BodyParser v1.6.0 2020-02-13 06:54:18 +01:00
Fenny
cd7338dbe0 Add BodyParser v1.6.0 2020-02-13 06:48:14 +01:00