Aman Kumar Sinha
d2f5e3a430
update README with elastic/apmfiber middleware ( #1540 )
2021-09-28 10:02:17 +02:00
M. Efe Çetin
c0c14671ba
Add one minute load avg for monitor. ( #1530 )
...
Fix CI/CD errors.
Fix Windows.
Fix Windows.
Fix golint error.
2021-09-22 08:29:44 +02:00
RW
0ad677e8e5
prepare release 2.19.0
...
prepare release 2.19.0
2021-09-21 08:22:52 +02:00
RW
1e04df035a
prepare version 2.18.1
...
prepare version 2.18.1
2021-09-21 08:18:22 +02:00
RW
2272e4a6b1
🐛 Get unexpected results from cache #1529 ( #1531 )
2021-09-15 14:20:43 +02:00
M. Efe Çetin
76b0d216c1
Add next support for Monitor middleware. ( #1527 )
2021-09-13 08:51:44 +02:00
İsmail Emre Sırmalı
7a53521da8
fix translate issues and translate others ( #1525 )
2021-09-12 11:45:53 +02:00
Thammachart Chinvarapon
842b63022d
🐛 Fix Mutability issue of UserContext in fiber.Ctx ( #1522 )
...
* existing tests clean up
* concurrent test for UserContext Reused
* comment on Ctx.userContext field
* userContext tests edited & fixed, userContext field removed, constant of userContextKey defined
2021-09-09 08:11:26 +02:00
ut-zero
5d1f89942c
Translate External Middleware of README to chinese. ( #1523 )
2021-09-07 14:55:27 +02:00
Rupesh Harode
9dd39c0e55
🩹 Fix: corrects ipv6 loopback ip shown on UI ( #1517 )
...
Author: Rupesh Harode <rupeshharode@gmail.com>
Co-authored-by: Rupesh Harode <rupesh.harode@dailyrounds.org>
2021-09-03 14:23:03 +02:00
Zach
12c1bf91bc
Add Chinese translation for internal middleware ( #1511 )
2021-09-01 08:35:34 +02:00
RW
4096e72008
update logger readme
2021-08-31 12:48:56 +02:00
Joe
29cafbd34b
Translate `Limitations` sections of README to Chinese ( #1510 )
2021-08-30 11:15:33 +02:00
Javad Rajabzade
d3aba01845
Translated limitation section ( #1509 )
...
* simplify `u <= (1<<7)-1` to `u < (1 << 7)`
* It's not recommended to use `len` for empty string, we can check with string with ""
* It's not recommended to use `len` for empty string, we can check with string with ""
* It's not recommended to use `len` for empty string, we can check with string with ""
* It's not recommended to use `len` for empty string, we can check with string with ""
* Instead Bool comparison can using simplified bool check if !var = false checking
* Unnecessary use of fmt.Sprintf for value without format
* For check condition two value not required ! method
* nil check may not be enough for slice, better check with len
* function parameters combined
* When the form returns error information, the text content should not start with a capital letter or end with a punctuation mark
* error var invalidPath should have name of the form errFoo, It is recommended that the error variables that are part of an API should be named
* change to condition len(x), it's faster https://github.com/gofiber/fiber/pull/1386#discussion_r652369520
* Update write.go
* Update write_bytes.go
* Update store.go
* Adapted paragraph fiber version compatible with go
* add translated paragraph net/http interfaces limitation
Co-authored-by: RW <rene@gofiber.io>
2021-08-30 07:57:37 +02:00
hi019
8925c96264
Add Limitations section to README ( #1508 )
2021-08-29 10:43:38 +02:00
RW
12befe9440
prepare release 2.18.0
2021-08-26 07:20:25 +02:00
wernerr
426520b671
update encryptcookie documentation
2021-08-24 08:52:32 +02:00
wernerr
ca3696624d
correct documentation for the skip middleware
2021-08-24 08:38:15 +02:00
Bhurinat Wangsutthitham
0e08bb4fe7
🐛 session should not regenerate the ID in case Get() returned nil ( #1493 )
...
* fix: session should not regenerate the ID in case Get() returned nil
* fix: prevent falsy unit-tests
* docs: improve wordings on tests
2021-08-23 08:32:14 +02:00
amir
bff8843abd
🔥 Feature: Add encrypt cookies middleware ( #1343 )
...
* 🔥 Feature: Add encrypt cookies middleware
* Encrypt cookies when error happens
* Improve encrypt cookie middleware
* Fix errors
* Update encryptcookie config doc blocks
* Change `SetCookie` to `SetCookieBytesKV` for invalid cookies
* Update middleware/encryptcookie/config.go
* Update README.md
* Remove `GenerateKey` parameter
* Update README.md
Co-authored-by: hi019 <65871571+hi019@users.noreply.github.com>
2021-08-23 08:31:51 +02:00
Shirshendu Bhowmick
d89207831d
🐛 Fix: ctx.BodyParser was not able to parse vendor specific content type ( #1506 )
2021-08-22 17:53:14 +02:00
RW
a0b1f38d3e
Improve startup message tests ( #1504 )
...
* improve startup message tests
2021-08-22 10:58:16 +02:00
RW
c531e1dba2
Update fasthttp from v1.26 to v1.29 ( #1503 )
...
* 🚀 new possibility to escape special routing parameters, which gives the possibility to follow the google api design guide https://cloud.google.com/apis/design/custom_methods
* 🚀 new possibility to escape special routing parameters, which gives the possibility to follow the google api design guide https://cloud.google.com/apis/design/custom_methods
* Update fasthttp from 1.26 to 1.29
2021-08-22 10:38:03 +02:00
RW
3e8227d7eb
FIX: panic: unaligned 64-bit atomic operation [32 bit machines] #1487 ( #1502 )
...
* 🐛 panic: unaligned 64-bit atomic operation [32 bit machines] #1487
https://pkg.go.dev/sync/atomic#pkg-notes
https://go101.org/article/memory-layout.html
https://github.com/golang/go/issues/36606
* 🐛 panic: unaligned 64-bit atomic operation [32 bit machines] #1487
change from uin64 to uint32 for the timestamp -> max value is 4294967295 -> Sun Feb 07 2106 06:28:15 GMT+0000
2021-08-22 10:28:34 +02:00
RW
4b62cfbb61
Add test run for go1.17 ( #1501 )
...
* Add test run for go1.17
default type for yaml is changed to „application/x-yaml"
-> instead of the yaml´s we use the html and json files for the test
2021-08-22 09:48:07 +02:00
Pranay
670170f7c5
📝 Update: Add JSONDecoder to config ( #1489 )
...
* 📝 Update: Add JSONDecoder to config
2021-08-18 14:26:07 +02:00
RW
385c94adcd
prepare release 2.17.0
...
prepare release 2.17.0
2021-08-12 08:20:49 +02:00
Pranay
f014d143ac
Update README.md ( #1477 )
2021-08-07 21:20:26 +02:00
Paul Cento
15987a2677
♻️ Refactor: remove use of deprecated functions ( #1474 )
2021-08-06 07:56:36 +02:00
thinklucrative
9a7b08ee23
Update README.md ( #1472 )
...
Typo:
var ConfigDefault = Config{
KeyLookUp: "cookie:session_id",
}
should be:
var ConfigDefault = Config{
KeyLookup: "cookie:session_id",
}
2021-08-05 20:14:32 +02:00
ProExpertProg
dd153adfdb
Fix `route.Path` on copy ( #1471 )
2021-08-05 07:32:05 +02:00
András Czigány
5f1acd3c56
🔥 Feature: Add Skip middleware ( #1465 )
...
* add Skip middleware
* middleware/skip: fix test expectations
2021-08-04 10:05:29 +02:00
goldwind-ting
846d5a5b38
[Logger]: add tag for response header ( #1446 )
...
* add TagRespHeader to get response header
* #1422:add unittest
* #1422:adjust docs for logger middleware
* #1422:adjust docs for logger middleware
2021-08-04 08:19:41 +02:00
RW
7ad55451a0
Fix: Fiber Client does multiple requests when using Timeout() and MaxRedirectsCount() #1457 ( #1464 )
...
* Fiber Client does multiple requests when using Timeout() and MaxRedirectsCount() 🐛 #1457
2021-08-02 10:43:10 +02:00
RW
5636441fe5
prepare release 2.16.0
...
prepare release 2.16.0
2021-07-30 20:40:44 +02:00
RW
34520e75f8
Fix - 🐛 The escape of special characters in route path does not work properly #1454 ( #1462 )
...
* Fix - 🐛 The escape of special characters in route path does not work properly #1454
2021-07-30 20:39:10 +02:00
RW
d777d889bb
Fix cache expired test ( #1461 )
...
* Improve/Stabilize the "Test_Cache_Expired" test run
2021-07-30 20:19:18 +02:00
faceair
1e0d4d3b1c
🐛 fix parse gzipped body ( #1458 )
2021-07-30 08:02:02 +02:00
Vahagn Mkrtchyan
f0ab2a5433
Add option to specify default values for ParamsInt ( #1453 )
2021-07-26 19:50:56 +02:00
Marcos de Oliveira
30ba99425f
Add ${port} logger variable ( #1448 )
...
* Add c.Addr() and c.Port() functions and logger port variable
* Add gofmt suggestion, README.md description and test
* Remove c.Addr() func and use c.fasthttp.RemoteAddr() instead
2021-07-22 17:42:29 +02:00
HugHunter
7cd8219420
Update README.md ( #1444 )
...
spotted a small mistake in the docs
2021-07-19 12:51:03 +02:00
Kazumasa Takenaka (Bamboo)
f5338266e3
fix typo ( #1442 )
...
paramters -> parameters
avilable -> available
seperated -> separated
2021-07-17 17:20:14 +02:00
wja513
dd45be693a
cookie: add possibility to disable same site attribute ( #1428 )
...
* fix some old browsers cann't set the cookie if it contains SameSite property.
* add "SameSite" attribute constants and test case.
Co-authored-by: wangjiangao <wangjiangao@360.cn>
2021-07-16 20:08:17 +02:00
RW
005471d7ca
prepare release 2.15.0
2021-07-16 08:45:10 +02:00
Sujit Baniya
8ab5c657c6
🔥 FEATURE: Allow adding App Name to customizing the startup message ( #1418 )
...
* Add Global Layout for view render
* Add test case for Views Layout
* Update ctx_test.go
* Add App Name function to pass custom app name
* Remove json tag for function
* Change func to string
* Add test for AppName
Co-authored-by: RW <rene@gofiber.io>
2021-07-16 08:44:11 +02:00
wernerr
c8d0a0c2ae
📚 Correct order of the basic routing example
2021-07-14 08:00:33 +02:00
Spedoske
cd802dfead
Fix: copy the data in buffer instead of using original data. ( #1425 )
2021-07-11 12:35:02 +02:00
Troy
08b2b71197
Add support for streaming the request body. ( #1423 )
...
* update fasthttp
* allow req body streaming
* multipart form streaming
* update fasthttp
* allow req body streaming
* multipart form streaming
* Testing
2021-07-11 11:45:46 +02:00
tuhao1020
a109dc6c68
Schema parser: use full match instead of strings.HasPrefix ( #1424 )
...
* #1414 use full match instead of strings.HasPrefix
* update for nested or recursive structs
* replace strings.Contains with strings.IndexByte
2021-07-11 11:45:15 +02:00
Jefferson Maia
b5cb8549e0
fix: Installation section translation correction ( #1432 )
2021-07-11 11:42:29 +02:00