Sujit Baniya
cb5f2f7eab
🔥 Add Global ViewLayout ( #1384 )
...
* Add Global Layout for view render
* Add test case for Views Layout
* Update ctx_test.go
2021-06-14 11:10:49 +02:00
João Victor Santos
c08568e247
🔥 feat: expiration per session ( #1363 )
...
* feat(middlewares): expiration per session
* test(middlewares): session with expiration
* docs(middlewares): session
* chore: apply suggestions from code review
2021-06-13 12:39:19 +02:00
Ilya Chukov
89fdbcf036
Improve errors handling ( #1381 )
...
* replace `fmt.Errorf` to `errors.New`
* changed once `Sprintf` to `Join`
2021-06-13 11:11:42 +02:00
Wei Lun
bca01cc9cc
🔥 Feature: add cache header to show cache status ( #1368 )
...
* add cache header to show cache status
* update default CacheHeader to X-Cache
* add CacheHeader test
* Update cache_test.go
use constants in test
Co-authored-by: RW <rene@gofiber.io>
2021-06-13 10:52:03 +02:00
Javad Rajabzade
6da6678325
Fixed Grammar ( #1373 )
...
* Add README_fa.md for persian users
* Add flag IR for fix Error: URI Too Long
* Modfied flag image png to svg
* Modified IR flag url for src
* Fixed grammar
2021-06-09 08:29:44 +02:00
Javad Rajabzade
556df42956
Add README_fa.md for Persian users ( #1370 )
...
* Add README_fa.md for persian users
* Add flag IR for fix Error: URI Too Long
* Modfied flag image png to svg
* Modified IR flag url for src
2021-06-08 23:09:20 +02:00
Dio Rovelino
eaf35e9e55
Update Readme ID ( #1372 )
2021-06-08 23:05:10 +02:00
RW
3698ed6ddd
prepare release 2.12.0
v2.12.0
2021-06-06 09:51:58 +02:00
hi019
a7d9c6816e
Fix session delete when there is one key ( #1366 )
...
* Add regression test, attempt solution
* Attempt 2
2021-06-05 20:15:06 +02:00
RW
8e89949381
🚀 Configure proxy.Balancer with custom timeout #1362 ( #1364 )
...
* 🚀 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
* 🚀 Configure proxy.Balancer with custom timeout or client #1362
* 🚀 Configure proxy.Balancer with custom timeout or client #1362
2021-06-04 16:54:03 +02:00
bestgopher
2d6323c197
❌ :fix #1360 ( #1361 )
2021-06-03 16:02:17 +02:00
Costa
9bbadddbb2
add link to third party middlewares of all readmes ( #1358 )
2021-06-02 11:29:50 +02:00
RW
b14224e5e4
Prepare release 2.11.0
v2.11.0
2021-06-02 08:08:35 +02:00
Milos Gajdos
951d437470
Update fasthttp version to resolve brotli warnings ( #1351 )
...
* Update fasthttp version to resolve brotli warnings
andybalholm/brotli retracted v1.0.1 release due to discovering Go
panics. Unfortunately old version of fasthttp used v1.0.1 as a direct
dependency and given fasthttp is a direct dependence of fiber this
causes legitimate warnings when getting fiber module.
This commit update fasthttp version to v1.25.0 which ships with updated
brotli version.
* Update fasthttp to v1.26.0
2021-06-01 21:03:41 +02:00
Costa
bad3abb8ed
fix comments in proxy middleware ( #1355 )
...
fix a little comment wrong in proxy middleware
2021-06-01 08:34:33 +02:00
LeoZhan
9b3662eae0
🔥 Customize the source of session_id ( #1159 )
...
* 🔥 Feature: Define KeyLookup configuration (#1110 )
* 🔥 Feature: Allow session ID to be written in header (#1110 )
* 🔥 Feature: Allow session ID to be obtained from different sources (#1110 )
* 📚 Doc: Add Source configuration (#1110 )
2021-05-29 02:48:25 +02:00
wernerr
d7ca1efd13
fix error after deleting the stale yaml
2021-05-28 09:40:48 +02:00
Luis
641e7459f8
small comment fix ( #1347 )
...
Fix to a comment pointing to wrong endpoint
2021-05-27 20:14:14 +02:00
wernerr
51becc123b
Remove stale workflow
2021-05-25 09:03:40 +02:00
Kshitij Patil
8616b41517
🔥 Adding user context ( #1341 )
...
* Adding user context
* adding docblock
* correcting comments
* minor change in comment
* Update ctx.go
Co-authored-by: RW <rene@gofiber.io>
2021-05-24 00:46:52 -04:00
João Victor Santos
0de49175c7
feat(middlewares): session keys ( #1337 )
...
* ✨ feat(midlewares): session keys
- added a sess.Keys() method who retrive all keys from current session
* docs(middlewares): session
2021-05-23 08:45:33 +02:00
bestgopher
2f05108351
fix pprof redirect path ( #1330 )
...
* 📒 :fix redirect path
* ⚡ ️:fix test case
* 📚 :use constant instead of number
* 🔥 :TrimRight instead of TrimSuffix
2021-05-19 12:47:07 +02:00
RW
67adaeadec
prepare release v2.10.0
...
prepare release v2.10.0
v2.10.0
2021-05-19 08:49:35 +02:00
sadfun
547bdb1c23
Change deprecated struct elements ( #1335 )
...
Duration and Store are deprecated, so we should show Expiration and Storage in example
2021-05-18 10:56:55 +02:00
SianLoong
da1877f16c
🏗️ chore: enable decoder's ZeroEmpty by default ( #1285 )
2021-05-17 15:46:36 +02:00
Tom
21c9fb4936
🔥 Add PathPrefix
parameter to filesystem
middleware ( #1326 )
...
See #1308
This adds a parameter called `PathPrefix` to `filesystem.Config`
that is prepended to any filepath being read from
`filesystem.Root`.
Intended to be used with Go 1.16's `embed.FS` type.
Signed-off-by: Tom <tom@tdpain.net>
2021-05-12 08:58:01 +02:00
Yash Garg
e7d5759733
📝 update handler example in timeout ( #1328 )
2021-05-10 10:48:07 -04:00
Marvin Wendt
e1089fc1ae
✏️ Fix link ( #1323 )
2021-05-07 13:18:54 -04:00
kiyon
22848f7e31
👷 Add testcases for ListenTLS ( #1320 )
2021-05-07 09:24:48 +02:00
kiyon
0ce98d78bf
Merge pull request #1321 from gofiber/typo
...
👷 Fix docs typo
2021-05-07 09:26:36 +08:00
Kiyon
1b734c5a5a
👷 Fix docs typo
2021-05-07 09:26:05 +08:00
kiyon
428e2bd8f4
Merge pull request #1316 from diegocsandrim/fix-app-test-parallel
...
Fix app test parallel
2021-05-07 08:27:16 +08:00
RW
24b5370b93
prepare release 2.9.0
...
prepare release 2.9.0
v2.9.0
2021-05-06 11:18:49 +02:00
Diego Sandrim
0dc67e80d2
Moves .getBytes and .getString from package variable to App instance variable, avoiding data race when creating a new App.
2021-05-05 17:24:26 -03:00
Diego Sandrim
24f55ef580
Adds a test to detect data race in .New and .Test funcs
2021-05-05 16:43:07 -03:00
bestgopher
056c6808af
Use atomic instead of mutex when counting the route handler. ( #1314 )
...
* use atomic instead of mutex when counting
* 📒 router: fix typo error
2021-05-05 17:53:54 +02:00
Dario Leittersdorf
a28afaae75
🩹 Fix: Startup message doesn't show correct amount of Handlers after mounting ( #1302 )
...
* fix: pass handlerCount when mounting to an App
* test: check for correct handlerCount after mounting an instance
* fix: pass handlerCount when mounting to a Group
* test: check for correct handlerCount after mounting to a Group
Co-authored-by: dleitter <dario.leittersdorf@bonprix.net>
2021-05-04 09:21:04 +02:00
Ivan Sotnikov
15cb3dc025
🐛 Cache Middleware - Race condition in the cache expiration logic. Round 2 ( #1310 )
...
* 🐛 fix: decrease watchdog period time
2021-05-04 09:18:48 +02:00
sadfun
0c8b833f9c
Fix broken Rate Limiter link ( #1301 )
2021-04-28 12:17:08 +02:00
Sepehr Rafiei
a95e371920
🐛 Print logger's error to stderr if given io.writer failed ( #1299 )
...
Co-authored-by: Sepehr Rafiee <sepehr.rafiee@snapp.cab>
2021-04-25 10:32:35 +02:00
kiyon
3b9f78a02d
Merge pull request #1288 from fernandobandeira/master
...
✨ Etag middleware support to custom etags
2021-04-22 19:40:37 +08:00
Jean-Sébastien Ney
c3aafde9db
[middleware/proxy] add buffer size configuration ( #1292 )
...
* add buffer size
* add tests
2021-04-20 12:56:00 +02:00
RW
a48cb806f3
Update app.go
...
bump fiber version for the release
v2.8.0
2021-04-20 08:42:40 +02:00
Fernando Bandeira
72c84639be
✨ Etag middleware support to custom etags
2021-04-18 23:08:01 -03:00
HAUDRAUFHAUN
ec42f3c0b9
✏️ update german translation ( #1282 )
2021-04-13 09:23:04 +02:00
RW
033184938c
🚀 new possibility to escape special routing parameters ( #1280 )
...
* 🚀 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
2021-04-12 21:45:24 +02:00
wernerr
a3600f0ff9
Improve Release-Drafter
2021-04-12 08:20:41 +02:00
Nik Schaefer
12b57db688
📚 Doc: Correct cors to favicon in import statement ( #1279 )
2021-04-11 21:07:31 +02:00
Owl
cdd5326047
fix broken links ( #1278 )
2021-04-11 10:58:29 +02:00
Nik Schaefer
a6868c24b9
📚 Doc: Correct Session to Crsf in Import ( #1277 )
2021-04-10 16:19:40 -04:00