4168 Commits

Author SHA1 Message Date
fenny
73a29062ae
Merge pull request #409 from ReneWerner87/panic_on_optional_param
Panic on static ":param" path #405
2020-05-24 08:54:58 -04: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
fenny
a1896b7d61
Merge pull request #408 from ReneWerner87/panic_on_optional_param
Fix error on static ":param" #405
2020-05-24 08:11:32 -04:00
wernerr
04642a3404 🐞 Panic on ":param" #405 2020-05-24 14:01:52 +02:00
fenny
b3ab0e9080
Merge pull request #407 from ReneWerner87/panic_on_optional_param
🐞 Panic on ":param" #405
2020-05-24 05:47:42 -04:00
wernerr
3d2d072074 🐞 Panic on ":param" #405 2020-05-24 08:47:47 +02:00
fenny
cdea1c806a
Merge pull request #406 from Fenny/master
Hot fix delimiter miss match, parser needs fix
2020-05-23 18:42:29 -04:00
Fenny
73ce74b706 Hot fix
@ReneWerner87
2020-05-23 23:33:28 -04:00
fenny
25568509ce
Merge pull request #402 from Fenny/master
Reduce pre allocated memory, fix Etag benchmark, cleanup unused stuff
2020-05-23 15:05:59 +02:00
ReneWerner87
76c97f4c91 Reduce pre allocated memory, fix Etag benchmark, cleanup unused stuff 2020-05-23 15:00:21 +02:00
ReneWerner87
2c3c89f991 Reduce pre allocated memory, fix Etag benchmark, cleanup unused stuff 2020-05-23 14:59:35 +02:00
ReneWerner87
b81126d3d7 Reduce pre allocated memory, fix Etag benchmark, cleanup unused stuff 2020-05-23 14:56:52 +02:00
fenny
071fec42fe
Merge pull request #399 from Fenny/master
☄️ v1.10.0
2020-05-23 09:58:31 +02:00
Fenny
5965dca6cd Fix lint errors
Co-Authored-By: RW <renewerner87@googlemail.com>
2020-05-23 09:53:30 +02:00
Fenny
7747f73614 Remove un-used map
Co-Authored-By: RW <renewerner87@googlemail.com>
2020-05-23 09:53:20 +02:00
Fenny
57e7ffe717 Introduce gofiber/utils
Co-Authored-By: RW <renewerner87@googlemail.com>
2020-05-23 09:31:28 +02:00
Fenny
5c8ff3fbde Add ETag test
Co-Authored-By: RW <renewerner87@googlemail.com>
2020-05-23 09:30:28 +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
7430e6c154 Introduce gofiber/utils
Co-Authored-By: RW <renewerner87@googlemail.com>
2020-05-23 09:30:03 +02:00
Fenny
13726d7a8d Move bench tests into router_test
Co-Authored-By: RW <renewerner87@googlemail.com>
2020-05-23 09:29:49 +02:00
Fenny
8e91e848da Fix case sensitivity params
- Improve performance
- Remove allocations
- Return case sensitive params

Co-Authored-By: RW <renewerner87@googlemail.com>
2020-05-23 09:29:35 +02:00
Fenny
14283c765b Delete layer
Co-Authored-By: RW <renewerner87@googlemail.com>
2020-05-23 09:27:15 +02:00
Fenny
f114aad429 Separate group file
Co-Authored-By: RW <renewerner87@googlemail.com>
2020-05-23 09:27:06 +02:00
Fenny
2b2fe3edcf utils.AssertEqual
Co-Authored-By: RW <renewerner87@googlemail.com>
2020-05-23 09:26:52 +02:00
Fenny
a43f2db401 Move bench test to ctx_test
Co-Authored-By: RW <renewerner87@googlemail.com>
2020-05-23 09:26:39 +02:00
Fenny
d59282db20 Improve performance
- Move ctx pool to *App
- Improve performance on most methods
- Introduce gofiber/utils

Co-Authored-By: RW <renewerner87@googlemail.com>
2020-05-23 09:26:30 +02:00
Fenny
cd624101cb utils.AssertEqual
Co-Authored-By: RW <renewerner87@googlemail.com>
2020-05-23 09:25:49 +02:00
Fenny
22c9127738 Move bench tests to app_test
Co-Authored-By: RW <renewerner87@googlemail.com>
2020-05-23 09:25:36 +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
932b3c61f6 Update .gitignore
Co-Authored-By: hendratommy <hendratommy@users.noreply.github.com>
2020-05-23 09:23:04 +02:00
Fenny
cf30ac812f Add new media article
Co-Authored-By: Thomas van Vugt <thomasvvugt@users.noreply.github.com>
2020-05-23 09:22:17 +02:00
abdulaziz alfuhigi
79014f4d54
Added link to README_ar_SA (#388)
* update README.md

Add new link to README_ar_SA.md

* Update README.m

Add new link to README_ar_SA.md

* Update README_de.md

Add new link to README_ar_SA.md

* Update README_es.md

Add new link to README_ar_SA.md

* Update README_fr.md

Add new link tor README_ar_SA.md

* Update README_he.md

Add new link to README_ar_SA.md

* Update README_id.md

Add new link to README_ar_SA.md

* Update README_ja.md

Add new link to README_ar_SA.md

* Update README_ko.md

Add new link to README_ar_SA.md

* Update README_nl

Add new link to README_ar_SA

* Update README_pt.md

Add new link to README_ar_SA.md

* Update README_ru.md

Add new link to README_ar_SA.md

* Update README_tr.md

Add new link to README_ar_SA.md

* Update README_zh_CN.md

Add new link to README_ar_SA.md
2020-05-17 01:39:42 +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
884cd40245
Merge pull request #386 from Fenny/master
Moving to v1.10.0
2020-05-16 05:26:28 +02:00
Fenny
9574b148e2 Fix Golint errcheck 2020-05-16 05:22:49 +02:00
Fenny
7dae73a40f Refactor internal functions 2020-05-16 05:14:01 +02:00
Fenny
91f499ac9d Divide layer in separate file 2020-05-16 05:13:34 +02:00
Fenny
9bf2a618e9 Add toLower, toUpper & trimRight 2020-05-16 05:13:01 +02:00
Fenny
a6adc3a299 Add t.Parallel() to tests 2020-05-16 05:12:29 +02:00
Fenny
94ef9ae451 Improve benchmarks
Remove tests that are impossible to improve.
2020-05-16 05:12:12 +02:00
Fenny
3fb483e9df Refactor internal functions 2020-05-16 05:11:25 +02:00
Fenny
0069c1b92e Update ctx.go 2020-05-16 05:10:47 +02:00
Fenny
caef8be9ad Optimizations
- Routes in stack are renamed to Layers
- ctx.Body(key ...string) -> ctx.Body()
- ctx.Cookies(key ...string) -> ctx.Cookies(key string)
- Remove referrer type check in ctx.Get
- Validate method override
- Remove unnecessary nil setters in ctx.Next
- Clarify compression bool in c.SendFile
2020-05-16 05:10:37 +02:00
Fenny
69d24b8579 Remove parallel 2020-05-16 05:03:23 +02:00
Fenny
6498e04a98 Ignore test files with golint 2020-05-16 05:02:58 +02:00
Fenny
b8e504110a Run benchmarks on 1.14 2020-05-16 05:02:36 +02:00
Fenny
e45205fb61
Update README_ar_SA.md 2020-05-16 02:48:14 +02:00
abdulaziz alfuhigi
b5f128dd94
create README_ar_SA.md (#380)
translate README.md to arabic
2020-05-16 02:47:31 +02:00
hendratommy
d6d73f42d0
Update app_test.go (#377)
testStatus200 for PUT mistaken with CONNECT
2020-05-13 20:30:59 +02:00