4309 Commits

Author SHA1 Message Date
Juan Calderon-Perez
67a2166788
📒 docs: Fix Healthcheck middleware documentation (#3657)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-04 09:13:54 +02:00
RW
b446888c9b
Reduce allocation in AutoFormat (#3652) 2025-08-01 17:41:44 +02:00
Juan Calderon-Perez
a838dfbf9a
🧹 chore: Fix CSRF error message mismatch with documentation (#3636) 2025-08-01 16:57:52 +02:00
Juan Calderon-Perez
28eabcb83a
🧹 chore: Fix CORS docs and comments (#3637)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-08-01 16:55:13 +02:00
Juan Calderon-Perez
ceacde5ca4
🧹 chore: Remove support for PasswordFromContext from BasicAuth middleware (#3638) 2025-08-01 12:48:42 +02:00
Juan Calderon-Perez
e8345f92a6
📒docs: Fix pprof middleware docs and default config (#3642) 2025-08-01 12:46:25 +02:00
Juan Calderon-Perez
9c2c23881d
📒docs: Fix Static middleware docs (#3643) 2025-08-01 12:44:16 +02:00
Juan Calderon-Perez
6bf3df4cd1
📒docs: Fix Favicon middleware documentation (#3640)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-08-01 12:43:35 +02:00
Juan Calderon-Perez
ab34d1d70a
📒docs: Fix Cache middleware docs (#3644) 2025-08-01 12:43:04 +02:00
Juan Calderon-Perez
c01bcca593
📒docs: Fix Compress middleware docs (#3645) 2025-08-01 12:42:29 +02:00
Juan Calderon-Perez
c2da03a276
📒docs: Fix Proxy middleware docs (#3647) 2025-08-01 12:42:00 +02:00
Juan Calderon-Perez
18d994eb11
📒docs: Fix RequestID docs (#3648) 2025-08-01 12:41:32 +02:00
RW
3294d96a5b
Fix context changes doc (#3650)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-01 12:40:51 +02:00
Juan Calderon-Perez
8770286e0a
📒docs: Fix Skip middleware docs (#3649) 2025-08-01 08:43:34 +02:00
Juan Calderon-Perez
4882721546
📒docs: Fix EarlyData middleware docs (#3646) 2025-08-01 08:43:09 +02:00
René
0f2ffc53d1 update whats_new.md 2025-07-31 15:52:31 +02:00
Juan Calderon-Perez
c309d46c3a
🧹 chore: Remove SHA-1/MD5 support in BasicAuth middleware (#3634)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-07-30 15:58:00 +02:00
Juan Calderon-Perez
2e544aecab
🔥 feat: Support hashed BasicAuth passwords (#3631) 2025-07-30 08:45:09 +02:00
Jason McNeil
1d9eca383c
feat(csrf): Enhance extractor functionality with metadata and security validation (#3630) 2025-07-30 08:40:56 +02:00
Giovanni Rivera
2a01f970d8
🔥 feat: Add support for embedded Koa-Style Req and Res structs (#3533) 2025-07-29 09:42:39 +02:00
René
deabee41e9 update whats_new.md 2025-07-28 17:15:38 +02:00
Jason McNeil
979e7cd6b1
feat(middleware/session): Introduce Extractor pattern for session ID retrieval (#3625)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-07-28 16:48:22 +02:00
RW
9bcf8125f5
Fix timing for streaming test (#3628) 2025-07-28 14:29:20 +02:00
RW
5bc44677ce
Fix race in cookie tests (#3629) 2025-07-28 13:28:21 +02:00
Copilot
8444880dd1
🐛 Fix limiter middleware not counting fiber.NewErrorf responses as failed requests (#3623)
Co-authored-by: ReneWerner87 <7063188+ReneWerner87@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2025-07-28 09:21:37 +02:00
Copilot
c0b2617e07
Fix Cookie SameSite constants to Pascal case per RFC specification (#3608)
Co-authored-by: sixcolors <6501251+sixcolors@users.noreply.github.com>
Co-authored-by: gaby <835733+gaby@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Jason McNeil <sixcolors@mac.com>
2025-07-27 17:12:57 +02:00
Juan Calderon-Perez
b839032cf2
🔥 feat: Add HeaderLimit option to BasicAuth middleware (#3620)
Co-authored-by: RW <rene@gofiber.io>
2025-07-27 16:56:15 +02:00
Juan Calderon-Perez
96674dc591
🔥 feat: Add Fiber Context to BasicAuth Authorizer (#3621) 2025-07-27 16:25:31 +02:00
Copilot
7e1f653f8d
🔧 Fix Makefile to install tools before running them (#3612)
Co-authored-by: sixcolors <6501251+sixcolors@users.noreply.github.com>
Co-authored-by: ReneWerner87 <7063188+ReneWerner87@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Jason McNeil <sixcolors@mac.com>
Co-authored-by: RW <rene@gofiber.io>
2025-07-25 16:23:40 +02:00
RW
856fdf2e66
Enable govet shadow (#3617) 2025-07-25 14:43:02 +02:00
Juan Calderon-Perez
56b5e6bb76
🔥 feat: Support for disabling response headers in Limiter Middleware (#3618) 2025-07-25 14:38:41 +02:00
Juan Calderon-Perez
aa87c11903
🧹 chore: Replace math/rand with crypto/rand (#3508)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-23 16:28:16 +02:00
Copilot
36d9f394a0
🔥 feat: Add default UTF-8 charset (#3583)
Co-authored-by: ReneWerner87 <7063188+ReneWerner87@users.noreply.github.com>
Co-authored-by: gaby <835733+gaby@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: RW <rene@gofiber.io>
2025-07-23 16:27:03 +02:00
RW
30dee26ac1
Skip unstable GenericParseType benchmarks (#3614) 2025-07-21 15:38:09 +02:00
Juan Calderon-Perez
b090e16592
🧹 chore: Add tests for quoteRawString (#3613) 2025-07-21 15:23:43 +02:00
Juan Calderon-Perez
7da56030db
🐛 bug: Fix retry config handling (#3609) 2025-07-21 13:14:01 +02:00
Juan Calderon-Perez
361d76c37d
🐛 bug: Fix MIME type equality checks (#3602) v3.0.0-beta.5 2025-07-20 16:38:31 +02:00
RW
ea66fe2497
Update app.go
prepare release v3.0.0-beta.5
2025-07-20 16:10:33 +02:00
RW
05f8ac0255
🔥 feat: Add config for Timeout middleware (#3604)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-07-20 15:22:08 +02:00
RW
5dffcb6d84
[Static]: Improve sanitizePath performance (#3601) 2025-07-20 13:50:44 +02:00
Juan Calderon-Perez
93be63c229
🧹 chore: Improve static middleware security (#3595) 2025-07-20 10:35:53 +02:00
RW
f4ad1185ff
Update whats_new.md 2025-07-19 20:59:14 +02:00
Jason McNeil
e17bab7946
Refactor CSRF middleware and enhance documentation (#3598)
Co-authored-by: RW <rene@gofiber.io>
2025-07-19 20:11:33 +02:00
Juan Calderon-Perez
35e707b3d5
🐛 bug: Fix handling of negative BodyLimit (#3599) 2025-07-19 19:21:42 +02:00
René
d5842860eb fix Benchmark_MemoryLock
panic: runtime error: index out of range [1] with length 1

goroutine 67 [running]:
github.com/gofiber/fiber/v3/middleware/idempotency_test.Benchmark_MemoryLock(0xc00012c2c8)
	/home/runner/work/fiber/fiber/middleware/idempotency/locker_test.go:74 +0x23d
testing.(*B).runN(0xc00012c2c8, 0x1)
	/opt/hostedtoolcache/go/1.24.4/x64/src/testing/benchmark.go:219 +0x190
testing.(*B).run1.func1()
	/opt/hostedtoolcache/go/1.24.4/x64/src/testing/benchmark.go:245 +0x48
created by testing.(*B).run1 in goroutine 1
	/opt/hostedtoolcache/go/1.24.4/x64/src/testing/benchmark.go:238 +0x90
exit status 2
2025-07-18 08:55:06 +02:00
René
16fd8edbf1 fix Benchmark_MemoryLock
panic: runtime error: index out of range [1] with length 1

goroutine 67 [running]:
github.com/gofiber/fiber/v3/middleware/idempotency_test.Benchmark_MemoryLock(0xc00012c2c8)
	/home/runner/work/fiber/fiber/middleware/idempotency/locker_test.go:74 +0x23d
testing.(*B).runN(0xc00012c2c8, 0x1)
	/opt/hostedtoolcache/go/1.24.4/x64/src/testing/benchmark.go:219 +0x190
testing.(*B).run1.func1()
	/opt/hostedtoolcache/go/1.24.4/x64/src/testing/benchmark.go:245 +0x48
created by testing.(*B).run1 in goroutine 1
	/opt/hostedtoolcache/go/1.24.4/x64/src/testing/benchmark.go:238 +0x90
exit status 2
2025-07-18 08:53:53 +02:00
M. Efe Çetin
192d1dff0d
feat: add context methods to fiber.Storage interface (#3566)
* feat: add context methods to fiber.Storage interface

* fix linter

* create new file for storage interface (storage_interface.go)

* add simple context check to internal storage

* update docs

* add fallback context for session

---------

Co-authored-by: René <rene@gofiber.io>
2025-07-18 03:19:50 +02:00
RW
2f8fdc454b
Add modernize lint (#3590) 2025-07-17 14:48:43 +02:00
Juan Calderon-Perez
09eaaf3be8
🐛 bug: Fix CookieJar domain logic (#3564) 2025-07-17 14:48:08 +02:00
Aarav Arora
2832ae32d0
🧹 chore: Simplify generic function calls (#3578) 2025-07-16 14:50:15 +02:00