wernerr
a5b2b8989b
fix middleware/session README.md
2021-12-06 13:35:47 +01:00
RW
ad98f5e807
prepare release 2.23.0
v2.23.0
2021-12-06 12:39:54 +01:00
M. Efe Çetin
10aa7f7f3b
Update goccy/go-json to 0.8.1 ( #1644 )
...
* Update goccy/go-json to 0.8.1
* Fix linter.
* Update error.go
2021-12-06 08:24:57 +01:00
M. Efe Çetin
5e37126352
Improvements for logger middleware ( #1645 )
...
* Add NO_COLOR compatibility.
* Use /dev/stdout as default output stream.
* Fix coloring with custom formats.
* Fix tests.
2021-12-06 08:21:36 +01:00
M. Efe Çetin
b74676704d
Add disable html support to monitor middleware. ( #1620 )
...
* Add disable html support to monitor middleware.
* Change field.
* Update README.md
* Update middleware/monitor/config.go
* Fix tests.
Co-authored-by: hi019 <65871571+hi019@users.noreply.github.com>
2021-12-05 19:28:50 +01:00
Jason McNeil
693f3c5118
fix(middleware/session): CookieSameSite default "Lax" ( #1638 )
...
* CookieSameSite default "Lax"
* Update README.md
* CookieSameSite default "Lax"
* Revert "CookieSameSite default "Lax""
This reverts commit 414187704b6173481f992ad96bb1a6df1094bd4d.
2021-12-02 07:44:03 +01:00
Jason McNeil
af6b204e50
CookieSameSite default "Lax" ( #1640 )
2021-12-02 07:41:44 +01:00
Turgay
c9e959c4d4
Recover middleware: Added, fiber.Ctx as a first paremeter to StackTraceHandler. ( #1623 )
2021-11-29 08:31:43 +01:00
RW
5ff3bc88a3
prepare release 2.22.0
v2.22.0
2021-11-15 08:39:58 +01:00
mancix
8ad81d57f6
📚 Doc: italian translation ( #1621 )
2021-11-15 08:37:57 +01:00
djunny
f9d5f787af
Feature: [Cache] add ExpirationGenerator for generate custom Expiration ( #1618 )
...
* Feature: [Cache] add ExpirationGenerator for generate custom Expiration
* fix: add document and code snippet for README
Co-authored-by: dj <github@djunny.com>
2021-11-11 11:30:38 +01:00
Gusted
7b7dcf29f7
♻️ Tidy up the codebase ( #1613 )
...
* run gofmt
* add t.Helper()
* Simplify assigns
* Simplify make operation
* Remove unused field in struct
* Fix typo
* Run gofumpt ./
* Consistent spacing
* len(...) can never be negative
* Use ReplaceAll
* Simplify operation
* Remove deadcode
* Fix typo
* Tidy up `} else { if ...`
* Fix AssertEqual
* Remove t.Helper() to fix go1.14.15
2021-11-05 08:00:03 +01:00
liaohongxing
a6aea1cdc5
fix cache docs error ( #1612 )
2021-11-03 16:49:26 +01:00
wernerr
85591e8b45
Refresh dependabot configuration
2021-10-29 11:49:15 +02:00
RW
e9ca6f0483
prepare release for v2.21.0
...
prepare release for v2.21.0
v2.21.0
2021-10-28 08:56:56 +02:00
RW
9d01ed1d7c
Update fasthttp from v1.29.0 to v1.31.0 ( #1603 )
...
* Update fasthttp from v1.29.0 to v1.31.0
* Update fasthttp from v1.29.0 to v1.31.0
2021-10-28 08:55:59 +02:00
RW
acc32db005
🐛 Session Id immutable ( #1601 )
...
Close #1585
2021-10-28 08:23:56 +02:00
Ali Baran Eser
cdbcfbec17
🔥 Feature: add IP ranges support to config.TrustedProxies ( #1602 )
...
* feat: add IP ranges support to config.TrustedProxies
* Added config example to README and moved IncrementIPRange to utils.
2021-10-28 00:46:39 +02:00
Michael Weiss
743d8ec08c
Fix comment ( #1597 )
...
When merging #1310 , the corresponding adaptation of a code comment appears to have gone forgotten.
2021-10-25 18:37:50 +02:00
RW
87b0a15f1e
Fix - prevent panic on GetTrimmedParam ( #1593 )
...
Close #1587
2021-10-25 07:25:31 +02:00
RW
658b4e42b1
Fix - ParseVendorSpecificContentType fir dart content type ( #1594 )
...
Close #1582
2021-10-25 07:13:57 +02:00
Gusted
36796ee7a1
fix: remove Test_Limiter_Cheat
test ( #1595 )
2021-10-25 07:04:56 +02:00
RW
ff38081eb9
Fix - Etag README.md ( #1584 )
...
* Fix - Etag README.md
* Fix - Etag README.md
2021-10-19 11:36:16 +02:00
Gusted
e6feb36827
feat: add sliding window as option for limiter middleware ( #1580 )
...
- Add the options to use your own middleware(should be more modular over time).
- Add the Sliding window option(see #1247 )
- A little bit better polished version of #1247 .
2021-10-18 09:13:53 +02:00
James Li
c49940730d
chore(docs): fix example encoding issue in READMD.md of logger middleware ( #1576 )
...
Co-authored-by: James3 Li(李麒傑) <james3_li@asus.com>
2021-10-18 09:13:32 +02:00
wernerr
07485247a5
🐛 Fix - Gosec issue
...
[/github/workspace/helpers.go:91-93] - G307 (CWE-703): Deferring unsafe method "Close" on type "*os.File" (Confidence: HIGH, Severity: MEDIUM)
2021-10-18 09:06:00 +02:00
wernerr
9b47b767b7
🐛 Fix - Gosec issue
...
[/github/workspace/helpers.go:91-93] - G307 (CWE-703): Deferring unsafe method "Close" on type "*os.File" (Confidence: HIGH, Severity: MEDIUM)
2021-10-18 08:46:02 +02:00
IvanK Production
92a811c93e
Fix "Signaures" (expect "Signatures") word in middleware/encryptcookie/README.md ( #1577 )
2021-10-16 12:43:10 -04:00
RW
e8fc3bc928
prepare release 2.20.2
v2.20.2
2021-10-13 15:11:12 +02:00
Ali Eren Öztürk
9c37b4c1c5
Fix limit middleware skip options ( #1568 )
...
* fix limit middleware skip options
* fix limiter middleware remaining count
* used constant StatusBadRequest instead of int 400
2021-10-11 18:31:37 +02:00
M. Efe Çetin
9eaa8b0c73
Change default json lib. ( #1563 )
...
* Change default json lib.
* Remove gopsutil test.
* Fix tests.
* Ignore linter for UnmarshalFieldError.
* update
2021-10-11 08:28:06 +02:00
Ali Yusuf
0763ecdd13
fix: Add missing TargetConditionals.h include ( #1572 )
...
closes #1571
2021-10-10 17:06:17 +02:00
Wendell Sun
fc782614be
docs: fix typo ( #1569 )
2021-10-08 08:19:05 +02:00
RW
15390647ca
prepare release 2.20.1
v2.20.1
2021-10-07 10:49:13 +02:00
Jason McNeil
9f537f922d
Update load_darwin.go ( #1564 )
2021-10-06 22:49:23 +02:00
RW
45e4da2071
prepare release 2.20.0
...
prepare release 2.20.0
v2.20.0
2021-10-06 08:48:17 +02:00
Jose Garcia
587f3ae9df
Support for sub fiber's error handlers ( #1560 )
...
- Mounted fiber and its sub apps error handlers are now saved a new
errorHandlers map in App
- New public App.ErrorHandler method that wraps the logic for which
error handler to user on any given context
- Error handler match logic based on request path <=> prefix accuracy
- Typo fixes
- Tests
2021-10-05 14:03:20 +02:00
Fufu
2c6ffb7972
Fix: register static file routing with trailing slash ( #1556 )
2021-10-05 10:55:11 +02:00
Rock
c098adae55
Add test case for QueryParser for SetParserDecoder ( #1562 )
...
* 🔥 add function to overide form decoder setting
🔥 Feature : SetBodyParserDecoder map all option to form decoder, use with BodyParserConfig, BodyParserType
🚨 Test : Test_Ctx_BodyParser_WithSetBodyParserDecoder
* 🔥 Use decoder builder function with default setting on init decoderPool
* ♻️ rename SetBodyParserDecoder to SetParserDecoder
BodyParserType > ParserType
bodyParserConfig > parserConfig
BodyParserConfig > ParserConfig
* Add Test case for QueryParser WithSetParserDecoder
* Update for Test_Ctx_QueryParser_WithSetParserDecoder
* Update Test_Ctx_QueryParser_WithSetParserDecoder remove t.Parallel()
debug unit test - may close this pull request for cleaner commit
* 🧹 Clean Up
2021-10-05 09:20:43 +02:00
Rock
a9b66b328e
♻️ Option to overide form decoder setting - Rename function ( #1555 )
...
* 🔥 add function to overide form decoder setting
🔥 Feature : SetBodyParserDecoder map all option to form decoder, use with BodyParserConfig, BodyParserType
🚨 Test : Test_Ctx_BodyParser_WithSetBodyParserDecoder
* 🔥 Use decoder builder function with default setting on init decoderPool
* ♻️ rename SetBodyParserDecoder to SetParserDecoder
BodyParserType > ParserType
bodyParserConfig > parserConfig
BodyParserConfig > ParserConfig
2021-10-04 08:37:24 +02:00
Iván Valdés
95a9e5091e
📒 Update Spanish documentation ( #1554 )
...
* 📒 Update README_es.md
* Address PR request comments, and fix spelling
2021-10-01 21:54:34 -04:00
Fufu
b94870d886
Fix: static file routing path rewrite. ( #1538 )
...
* Fix: static file routing path rewrite.
* Add: static file routing test cases.
* Update: change os.CreateTemp to ioutil.TempFile for go1.14
* Update: optimize test cases.
2021-10-01 12:51:48 +02:00
Rock
35e38db771
🔥 Add function to override form decoder setting ( #1100 )
...
* 🔥 add function to overide form decoder setting
🔥 Feature : SetBodyParserDecoder map all option to form decoder, use with BodyParserConfig, BodyParserType
🚨 Test : Test_Ctx_BodyParser_WithSetBodyParserDecoder
* 🔥 Use decoder builder function with default setting on init decoderPool
2021-10-01 08:32:06 +02:00
Iván Valdés
26c29e248f
Restore original URL after sending file ( #1553 )
2021-10-01 08:30:47 +02:00
Nick
a7d5f2b225
Improve README_tr.md ( #1552 )
2021-10-01 08:07:48 +02:00
ppmasa8
89b85c2684
Translated some sentences for ja-version ( #1551 )
2021-09-30 20:24:26 +02:00
Fufu
8b3a06b164
Fix: file opening path and directory browsing path of filesystem ( #1547 )
...
* Fix: file opening path and directory browsing path of filesystem
* Update: utils.TrimRight instead of strings.TrimSuffix
2021-09-29 19:53:25 +02:00
Amal Shaji
afa53ae1f6
✨ support logging color for custom logging formats ( #1513 )
2021-09-28 10:11:44 +02:00
Ali Eren Öztürk
2aef5f8e01
limiter middleware new options: SkipFailedRequests, SkipSuccessfulRequests ( #1542 )
2021-09-28 10:10:29 +02:00
Aman Kumar Sinha
d2f5e3a430
update README with elastic/apmfiber middleware ( #1540 )
2021-09-28 10:02:17 +02:00