fiber/middleware
JIeJaitt c0599ee1d4
🔥 feat: Add Skip function to logger middleware (#3333)
* 🔥 Feature(logger): Add Filter option to logger middleware

* 📚 Doc(logger): Clarify Filter middleware description

* 🚨 Test(logger): Enhance logger filter test with parallel subtests

* 🔒 Test(logger): Add mutex to prevent race conditions in logger test

* 🔥 Feature(logger): Add Filter option to logger middleware

* 📚 Doc(logger): Clarify Filter middleware description

* 🚨 Test(logger): Enhance logger filter test with parallel subtests

* 🔒 Test(logger): Add mutex to prevent race conditions in logger test

* 🚨 Test(logger): Refactor logger test to improve test isolation

* Fix issue with unit-tests

* Update middleware/logger/logger_test.go

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Apply logger filter as soon as possible

* 📚 Doc: Add logger filter configuration example to whats_new.md

* 📚 Doc: Update logger filter documentation in whats_new.md

* 📚 Doc: Update logger filter documentation and examples

* 🩹 Fix: improve what_new.md

* Update logic for Filter() in Logger middleware. Add more unit-tests

* Rename fields to match expressjs/morgan

* Update middleware/logger/default_logger.go

---------

Co-authored-by: Juan Calderon-Perez <jgcalderonperez@protonmail.com>
Co-authored-by: Juan Calderon-Perez <835733+gaby@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: RW <rene@gofiber.io>
2025-03-10 09:06:11 +01:00
..
adaptor 🐛 fix: Improve naming convention for Context returning functions (#3193) 2024-11-13 16:12:19 +01:00
basicauth v3: Use Named Fields Instead of Positional and Align Structures to Reduce Memory Usage (#3079) 2024-07-23 08:37:45 +02:00
cache ♻️ Refactor: Reduce the Memory Usage of ignoreHeaders (#3322) 2025-02-24 08:12:47 +01:00
compress 🔥 Feature: Add TestConfig to app.Test() for configurable testing (#3161) 2024-11-22 08:43:38 +01:00
cors 🔥Feature: Add support for TrustProxy (#3170) 2024-10-17 08:29:03 +02:00
csrf feat!(middleware/session): re-write session middleware with handler (#3016) 2024-10-25 08:36:30 +02:00
earlydata 🔥Feature: Add support for TrustProxy (#3170) 2024-10-17 08:29:03 +02:00
encryptcookie chore: Bump golangci-lint to v1.60.3 (#3119) 2024-09-02 15:38:59 +02:00
envvar v3: Use Named Fields Instead of Positional and Align Structures to Reduce Memory Usage (#3079) 2024-07-23 08:37:45 +02:00
etag 🐛 fix: Improve naming convention for Context returning functions (#3193) 2024-11-13 16:12:19 +01:00
expvar 🐛 fix: Improve naming convention for Context returning functions (#3193) 2024-11-13 16:12:19 +01:00
favicon v3: Use Named Fields Instead of Positional and Align Structures to Reduce Memory Usage (#3079) 2024-07-23 08:37:45 +02:00
healthcheck feat: Add Startup Probe to Healthcheck Middleware (#3069) 2024-07-18 13:54:44 +02:00
helmet v3: Use Named Fields Instead of Positional and Align Structures to Reduce Memory Usage (#3079) 2024-07-23 08:37:45 +02:00
idempotency 🩹 Fix: Memory leak removal in the idempotency middleware (#3263) 2024-12-28 14:29:31 +01:00
keyauth 🔥 feat: Add support for context.Context in keyauth middleware (#3287) 2025-03-07 08:23:24 +01:00
limiter Bump golangci-lint to v1.62.0 (#3196) 2024-11-11 10:37:27 +01:00
logger 🔥 feat: Add Skip function to logger middleware (#3333) 2025-03-10 09:06:11 +01:00
pprof 🔥 Feature: Add TestConfig to app.Test() for configurable testing (#3161) 2024-11-22 08:43:38 +01:00
proxy 🔥 Feature: Add TestConfig to app.Test() for configurable testing (#3161) 2024-11-22 08:43:38 +01:00
recover v3: Use Named Fields Instead of Positional and Align Structures to Reduce Memory Usage (#3079) 2024-07-23 08:37:45 +02:00
redirect 🐛 fix: Improve naming convention for Context returning functions (#3193) 2024-11-13 16:12:19 +01:00
requestid 🔥 feat: Add Context Support to RequestID Middleware (#3200) 2024-11-15 17:34:20 +01:00
rewrite v3: Add Benchmarks for Rewrite Middleware (#3092) 2024-07-26 16:55:00 +02:00
session build(deps): bump github.com/valyala/fasthttp from 1.57.0 to 1.58.0 (#3244) 2024-12-16 09:03:57 +01:00
skip Merge remote-tracking branch 'origin/master' into v3-beta 2023-08-05 22:02:01 +03:00
static Add new config option 2025-02-23 16:00:39 -05:00
timeout refactor(timeout): unify and enhance timeout middleware (#3275) 2025-01-08 08:19:20 +01:00