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

3049 Commits

Author SHA1 Message Date
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
Sagar Sonwane
ecfcf1cc00
♻️ Removed Printed Warning (#1268)
* ♻️ Removed Printed Warning

removed print statement for warning from monitor.go file

* 📝 Added Warning Message in Readme

added warning message in monitor middleware readme
2021-04-06 15:21:53 +02:00
Sagar Sonwane
19c95cdc17
📝 Doc (#1256)
fixed broken link in readmes
2021-04-06 07:57:49 +02:00
kiyon
25868a9be7
📦 Bump fasthttp v1.23.0 (#1265) 2021-04-05 09:18:23 +02:00
SianLoong
c71da35ddb
🐛 fix: even error we gonna to unlock it, else it will went deadlock (#1248) 2021-03-30 23:40:09 +02:00
Roman
ca0e784fb9
Refactor cache middleware to not-use the deprecated methods (#1246)
* ♻️ refactor: cache: don't use the deprecated `SafeBytes` and use `CopyBytes` instead

* ♻️ refactor: utils: remove deprecated and unused methods
2021-03-30 23:31:03 +02:00
wernerr
81c0ec8c0c Improve Release-Drafter 2021-03-29 10:35:25 +02:00
wernerr
09bf323ec1 Improve Release-Drafter 2021-03-29 09:47:54 +02:00
RW
cfa07b7499
Update app.go v2.7.1 2021-03-29 09:43:40 +02:00
Eduardo Andrés Castillo Perera
47f44f3960
Add method to get an integer directly from the Ctx params (route params) (#1243)
* Created ParamsInt method in Ctx
* Created test for the ParamsInt method
* Recover accidentally removed comments
v2.7.0
2021-03-28 15:49:51 +02:00
RW
8611c3e3ea
Prepare release 2.6.1 2021-03-28 15:10:37 +02:00
RW
b1b490645e
Fix session middleware (#1235)
encoding/gob for session middleware
2021-03-26 11:24:55 +01:00
SianLoong
861e5d21fb
🐛 Fix unexpected result when QueryParser parse slice data type (#1238) 2021-03-24 20:12:57 +01:00
wernerr
f3b07df828 Improve Release-Drafter 2021-03-23 10:01:36 +01:00
wernerr
6415b015e1 Improve Release-Drafter 2021-03-21 16:12:37 +01:00
wernerr
00633f4fd9 Improve Release-Drafter 2021-03-21 16:08:00 +01:00