426 Commits

Author SHA1 Message Date
Juan Calderon-Perez
8112318448
🧹 chore: Fix AcceptsLanguages() RFC compliance (#3672) 2025-08-11 15:09:51 +02:00
René
77667e5534 update whats_new.md 2025-08-11 14:55:31 +02:00
Juan Calderon-Perez
40e1e76a1c
📒 docs: Improve Timeout middleware documentation (#3675)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-11 12:28:18 +02:00
Juan Calderon-Perez
1569a6118a
🧹 chore: Add CBOR support to AutoFormat() (#3665)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-08 08:37:23 +02:00
Juan Calderon-Perez
fcd66f5a71
🔥 feat: Add KeepConnectionHeader option to Proxy middleware (#3662)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-08-06 17:05:43 +02:00
Juan Calderon-Perez
9674101c61
📒docs: Fix KeyAuth middleware docs (#3641)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-04 10:13:15 +02:00
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
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
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
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
Juan Calderon-Perez
56b5e6bb76
🔥 feat: Support for disabling response headers in Limiter Middleware (#3618) 2025-07-25 14:38:41 +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
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
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
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
41a19e010b
🧹 chore: Refactor Opt-in support for CBOR (#3580)
Co-authored-by: M. Efe Çetin <efectn@protonmail.com>
2025-07-15 14:19:02 +02:00
Kudou Sterain
8f02e0176b
🔥 feat: Add support for Msgpack (#3565) 2025-07-14 14:55:22 +02:00
RW
0d03102542
📒 docs: Update utils guide documentation (#3575) 2025-07-13 14:12:15 +02:00
RW
e041d63ce9
🧹 chore: Add iterator helpers for client types (#3560)
* feat: add All iterators for client cookie and path params

* Remove deprecated VisitAll helpers
2025-07-02 13:39:25 +02:00
Juan Calderon-Perez
4597bc8f81
📒 docs: Add documentation for Stale() (#3555)
* Update docs for Stale()

* Apply suggestions from code review

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-07-01 09:09:30 +02:00
Juan Calderon-Perez
433d570202
📒 docs: Add net/http compatiblity section (#3556)
* General documentation updates

* Update README.md
2025-07-01 09:08:45 +02:00
Juan Calderon-Perez
fd188301e8
🐛 bug: Fix Body() handling of Content-Encoding per RFC 9110 (#3543)
* Adjust Body() decoding loop

* Handle identity and compress encodings

* Adjust Body status handling

* test: cover multi-encoding decode

* Address review feedback
2025-06-30 09:07:06 +02:00
Juan Calderon-Perez
d79fa01f0f
🐛 bug: Fix Content-Disposition header per RFC 6266 (#3551)
* Use raw UTF-8 filenames in Content-Disposition

* Fix lint issues

* Fix issue with new funct

* Improve and fix quoteRawString

* fix issues

* Fix lint issues

* fix golangci-lint

* Update static_test.go

* Update static_test.go
2025-06-30 09:06:11 +02:00
Laptop
cfa5b3a404
🔥 feat: Add UNIX socket support (#3535)
* set unix socket filemode and remove old unix socket before listening

* add UnixSocketFileMode to docs

* create NetworkUnix constant

* Add testing for listening on Unix network

* fix: always remove temporary directory in test

* try fix test on windows

* align ListenConfig struct

* document unix socket support in whats_new.md

* change default UnixSocketFileMode to 0770

* extend unix socket test

* reword about unix sockets support in whats_new.md

* Update docs/whats_new.md

---------

Co-authored-by: Juan Calderon-Perez <835733+gaby@users.noreply.github.com>
Co-authored-by: RW <rene@gofiber.io>
2025-06-30 09:04:52 +02:00
Juan Calderon-Perez
bdd9e22bd7
🐛 bug: Fix Cache middleware handling of Age (#3547)
* Revert benchmark loop changes

* test: cover Age header parsing

* generate msgp files

* Update cache.go

* Cast result

* Update cache.go
2025-06-30 09:04:35 +02:00
Juan Calderon-Perez
55e7b1eb9c
🐛 bug: Fix Accept-Language matching per RFC 4647 (#3553)
* test: expand Accept-Language coverage

* Refine Accept-Language matching
2025-06-30 08:58:25 +02:00
Juan Calderon-Perez
fc803ec250
🐛 bug: Fix Range() handling of HTTP 416 per RFC 9110 (#3552)
* fix range compliance

* Update ctx.go

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update ctx.go

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-06-30 08:57:53 +02:00
Thai Nguyen Hung
9d683ba421
🐛 fix(docs): incorrect usage of backslash characters in the constraint … (#3549)
fix(docs): incorrect usage of backslash characters in the constraint examples
2025-06-30 08:55:25 +02:00
Juan Calderon-Perez
30bb809255
🐛 bug: Fix Etag validation per RFC 9110 (#3554)
* Add strong ETag comparison helper

* Review fixes

* update normalizeEtag

* cleanup new tests, add more cases.

* lint

* name param

* more fixes

* more fixes

* add missing param

* fix funct name

* string not bytes

* format is correct

* fix lint?

* enable debug output for linter

* Fix linter issue
2025-06-30 08:52:01 +02:00