Juan Calderon-Perez
395c8fafa9
🧹 chore: Fix linter workflow failures ( #3354 )
...
* Fix linter workflow failures
* Bump golang.org/x/net to v0.36.0
* Try skipping golangci-lint cache
* Update linter.yml
* fix: directives and spaces
* fix: better configuration
* fix: golangci-lint install
* Update golangci-lint version
* Enable SA4023
* Update golangci-lint config
* Remove duplicated rule
---------
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2025-03-17 08:29:51 +01:00
RW
a5c7b77aec
Update release.yml
2025-03-05 15:08:00 +01:00
RW
a46937efe3
Update release-drafter.yml
2025-03-05 15:07:49 +01:00
dependabot[bot]
8e395fd4e3
build(deps): bump codecov/codecov-action from 5.3.1 to 5.4.0
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 5.3.1 to 5.4.0.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v5.3.1...v5.4.0 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-27 12:36:56 +00:00
René
0bf0353a13
Merge remote-tracking branch 'origin/main'
2025-02-27 08:45:58 +01:00
René
47e9c8fa6d
only run benchmark when golang files are changed
2025-02-27 08:45:47 +01:00
Juan Calderon-Perez
c85ec75fe6
🧹 chore: Add go1.24 to CI matrix ( #3325 )
...
* Add go1.24 to CI matrix
* Create codecov.yml
* Lower coverage threshold to 0.5%
2025-02-24 21:24:50 +01:00
René
d0ed605194
fix docs sync bug
2025-01-29 08:30:11 +01:00
René
7dc28a0b45
increase node version for doc sync action
2025-01-29 08:23:24 +01:00
dependabot[bot]
c62a98e652
build(deps): bump codecov/codecov-action from 5.3.0 to 5.3.1
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 5.3.0 to 5.3.1.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v5.3.0...v5.3.1 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-01-27 12:25:27 +00:00
dependabot[bot]
2eb6808e29
build(deps): bump codecov/codecov-action from 5.1.2 to 5.3.0 ( #3292 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 5.1.2 to 5.3.0.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v5.1.2...v5.3.0 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-24 13:38:24 +01:00
dependabot[bot]
26e30c0672
build(deps): bump DavidAnson/markdownlint-cli2-action from 18 to 19 ( #3266 )
...
Bumps [DavidAnson/markdownlint-cli2-action](https://github.com/davidanson/markdownlint-cli2-action ) from 18 to 19.
- [Release notes](https://github.com/davidanson/markdownlint-cli2-action/releases )
- [Commits](https://github.com/davidanson/markdownlint-cli2-action/compare/v18...v19 )
---
updated-dependencies:
- dependency-name: DavidAnson/markdownlint-cli2-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-30 14:18:54 +01:00
Juan Calderon-Perez
845a7f8b8e
🧹 chore: Improve Performance of Fiber Router ( #3261 )
...
* Initial improvements
* Update test
* Improve RemoveEscapeChar performance
* Fix lint issues
* Re-add comments
* Add dedicated request handlers
* Fix lint issues
* Add test case for app.All with custom method
* Add test for custom Ctx and Request Methods
* Simplify test logic
* Simplify test
2024-12-29 19:34:34 +01:00
dependabot[bot]
725aa5ac00
build(deps): bump codecov/codecov-action from 5.1.1 to 5.1.2
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v5.1.1...v5.1.2 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-19 12:33:45 +00:00
dependabot[bot]
1e38dbf345
build(deps): bump codecov/codecov-action from 5.0.7 to 5.1.1
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 5.0.7 to 5.1.1.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v5.0.7...v5.1.1 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-06 12:12:43 +00:00
René
9a2ceb7220
fix duplicated benchmark name problem
2024-12-01 15:30:45 +01:00
René
689537a0d2
fix duplicated benchmark name problem
2024-12-01 15:14:32 +01:00
M. Efe Çetin
77622700d7
chore: mark go1.23 as minimum go version ( #3226 )
2024-12-01 14:39:49 +01:00
RW
1bfbb5056c
Update README.md
...
fix donation image sizes
2024-11-28 09:51:39 +01:00
dependabot[bot]
5697b9d45e
build(deps): bump codecov/codecov-action from 5.0.4 to 5.0.7
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 5.0.4 to 5.0.7.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v5.0.4...v5.0.7 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-11-21 12:31:46 +00:00
dependabot[bot]
329759db51
build(deps): bump codecov/codecov-action from 5.0.2 to 5.0.4
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 5.0.2 to 5.0.4.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v5.0.2...v5.0.4 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-11-20 12:49:06 +00:00
dependabot[bot]
7ac82d7b09
build(deps): bump codecov/codecov-action from 5.0.0 to 5.0.2
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 5.0.0 to 5.0.2.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v5.0.0...v5.0.2 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-11-18 12:41:49 +00:00
Juan Calderon-Perez
a12ca10cac
📚 Doc: Updates to API documentation and README ( #3205 )
...
* Updates to documentation
* Update .github/README.md
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* Remove trailing spaces
* Updates based on PR comments
* Update docs/api/bind.md
* Update docs/api/redirect.md
---------
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: RW <rene@gofiber.io>
2024-11-16 15:24:14 +01:00
dependabot[bot]
2c242e70c7
build(deps): bump DavidAnson/markdownlint-cli2-action from 17 to 18 ( #3208 )
...
Bumps [DavidAnson/markdownlint-cli2-action](https://github.com/davidanson/markdownlint-cli2-action ) from 17 to 18.
- [Release notes](https://github.com/davidanson/markdownlint-cli2-action/releases )
- [Commits](https://github.com/davidanson/markdownlint-cli2-action/compare/v17...v18 )
---
updated-dependencies:
- dependency-name: DavidAnson/markdownlint-cli2-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-15 15:14:58 +01:00
dependabot[bot]
60932d3d56
build(deps): bump codecov/codecov-action from 4.6.0 to 5.0.0 ( #3207 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 4.6.0 to 5.0.0.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v4.6.0...v5.0.0 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-15 15:14:49 +01:00
Juan Calderon-Perez
dcdd2eb2c6
Bump golangci-lint to v1.62.0 ( #3196 )
2024-11-11 10:37:27 +01:00
xEricL
579d9a3f3d
📚 Doc: Clarify SendFile Docs ( #3172 )
...
* 📚 Doc: Clarify SendFile ContentType header set by file format
* 📚 Doc: Make SendFile default value formatting consistent
* 📚 Doc: Add missing `fiber.` in SendFile usage docs
* 📚 Doc: Hyphenate 'case-sensitive'
* 📚 Doc: Clarify `SendFile` behavior for missing/invalid file extensions
* 🚨 Test: Validate `SendFile` Content-Type header
---------
Co-authored-by: Juan Calderon-Perez <835733+gaby@users.noreply.github.com>
2024-10-28 08:11:24 +01:00
dependabot[bot]
941ab11789
build(deps): bump benchmark-action/github-action-benchmark
...
Bumps [benchmark-action/github-action-benchmark](https://github.com/benchmark-action/github-action-benchmark ) from 1.20.3 to 1.20.4.
- [Release notes](https://github.com/benchmark-action/github-action-benchmark/releases )
- [Changelog](https://github.com/benchmark-action/github-action-benchmark/blob/master/CHANGELOG.md )
- [Commits](https://github.com/benchmark-action/github-action-benchmark/compare/v1.20.3...v1.20.4 )
---
updated-dependencies:
- dependency-name: benchmark-action/github-action-benchmark
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-23 12:29:25 +00:00
xEricL
298975a982
🔥 Feature: Add support for TrustProxy ( #3170 )
...
* 🔥 Feature: Add `TrustProxyConfig` and rename `EnableTrustedProxyCheck` to `TrustProxy`
* 📚 Doc: Document TrustProxyConfig usage and migration
* 🚨 Test: Validate and Benchmark use of TrustProxyConfig
* 🩹 Fix: typo in RequestMethods docstring
* 🩹 Fix: typos in TrustProxy docstring and JSON tags
* 🩹 Fix: Move `TrustProxyConfig.Loopback` to beginning of if-statement
* 🎨 Style: Cleanup spacing for Test_Ctx_IsProxyTrusted
* 📚 Doc: Replace `whitelist` with `allowlist` for clarity
* 📚 Doc: Improve `TrustProxy` doc wording
* 🩹 Fix: validate IP addresses in `App.handleTrustedProxy`
* 🩹 Fix: grammatical errors and capitalize "TLS"
2024-10-17 08:29:03 +02:00
Juan Calderon-Perez
7b3a36f22f
Revert "Update README.md ( #3165 )" ( #3166 )
...
This reverts commit 9dd3d94ff2
.
2024-10-13 12:04:02 +03:00
Maria Niranjan
9dd3d94ff2
Update README.md ( #3165 )
...
Missing a pointer reference when passing the context object in the route handler function. In Fiber, the context (c) is a pointer, so it should be *fiber.Ctx instead of fiber.Ctx.
2024-10-12 17:05:23 +03:00
dependabot[bot]
0b6a26fb92
build(deps): bump codecov/codecov-action from 4.5.0 to 4.6.0 ( #3154 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v4.5.0...v4.6.0 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Juan Calderon-Perez <835733+gaby@users.noreply.github.com>
2024-10-08 08:19:24 -04:00
Juan Calderon-Perez
0ef8d716ee
Bump golangci-lint to v1.61.0 ( #3135 )
...
* Bump golangci-lint to v1.61.0
* Fix golangci warnings
2024-09-15 19:28:22 +02:00
dependabot[bot]
37f1a65c4c
build(deps): bump DavidAnson/markdownlint-cli2-action from 16 to 17 ( #3128 )
...
Bumps [DavidAnson/markdownlint-cli2-action](https://github.com/davidanson/markdownlint-cli2-action ) from 16 to 17.
- [Release notes](https://github.com/davidanson/markdownlint-cli2-action/releases )
- [Commits](https://github.com/davidanson/markdownlint-cli2-action/compare/v16...v17 )
---
updated-dependencies:
- dependency-name: DavidAnson/markdownlint-cli2-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Juan Calderon-Perez <835733+gaby@users.noreply.github.com>
2024-09-15 19:05:16 +02:00
Juan Calderon-Perez
f668537c02
chore: Bump golangci-lint to v1.60.3 ( #3119 )
...
Bump golangci-lint to v1.60.3
2024-09-02 15:38:59 +02:00
Juan Calderon-Perez
25e399213c
chore: Add support for go1.23 and golangci-lint v1.60.1 ( #3101 )
...
* Bump min go to 1.22, bump golangci-lint to v1.60.1, regenerate all msgp
* Fix golanci-lint issues
* Fix golanci-lint issues
2024-08-14 09:14:04 +02:00
dependabot[bot]
e2cd1000ea
build(deps): bump actions/checkout from 3 to 4 ( #3083 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-24 08:09:58 +02:00
Juan Calderon-Perez
486304d050
v3: Improve performance of helper functions ( #3086 )
...
* Improve performance of helper functions
* Fix issue with PR comments from forks
2024-07-23 21:32:22 +02:00
Juan Calderon-Perez
8c3f81e2b7
v3: Use Named Fields Instead of Positional and Align Structures to Reduce Memory Usage ( #3079 )
...
* Use composites for internal structures. Fix alignment of structures across Fiber
* Update struct alignment in test files
* Enable alignment check with govet
* Fix ctx autoformat unit-test
* Revert app Config struct. Add betteralign to Makefile
* Disable comment on alert since it wont work for forks
* Update benchmark.yml
* Update benchmark.yml
* Remove warning from using positional fields
* Update router.go
2024-07-23 08:37:45 +02:00
RW
ef073601e3
Update benchmark.yml
...
We should only fail during a PR, not during a merge
2024-07-22 14:36:21 +02:00
René
8e1470fa4a
add manual dependabot trigger workflow
2024-07-22 12:05:10 +02:00
René
22e11558e9
Merge remote-tracking branch 'origin/main'
2024-07-22 12:03:31 +02:00
René
ac2ddcf847
add manual dependabot trigger workflow
2024-07-22 12:03:24 +02:00
Juan Calderon-Perez
9c0cb9de13
v3: Refactor Benchmark Results Workflow ( #3082 )
...
* Refactor benchmarks workflow
* Use full semver tag
* Add fetch depth
2024-07-22 08:59:38 +02:00
René
58d07f091d
v3: Add support for consistent documentation using markdownlint ( #3064 )
2024-07-11 16:16:12 +02:00
Juan Calderon-Perez
9463a8f626
v3: Add support for consistent documentation using markdownlint ( #3064 )
...
* Add support for consistent documentation using markdownlint
* Only run workflow during changes to markdown files
* Fix more inconsistencies
* Fixes to markdown under .github/
* More fixes
* Apply suggestions from code review
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* Fix typo in limiter docs
* Add missing space before code-block
* Add check for dead-links
* Add write-good
* Remove legacy README files
* Fix glob for skipping .md files
* Use paths-ignore instead
---------
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-07-11 15:21:56 +02:00
Juan Calderon-Perez
d17eb99377
v3: Enforce key length for EncryptCookie middleware default functions ( #3056 )
...
* Support for key length, Add benchmarks for EncryptCookie middleware
* Format tests
* Add tests for panics and key check in Encryptor and Decryptor functions
* Add tests for base64 decoding errors
* Update docs/middleware/encryptcookie.md
Co-authored-by: Jason McNeil <sixcolors@mac.com>
* Update middleware/encryptcookie/utils.go
Co-authored-by: Jason McNeil <sixcolors@mac.com>
* Add suggestions from code review
---------
Co-authored-by: Jason McNeil <sixcolors@mac.com>
2024-07-05 09:04:57 +02:00
René
6108475ccb
reduce time for longRun test workflow
2024-07-01 15:30:14 +02:00
René
a3768a2598
reduce time for longRun test workflow
2024-07-01 15:26:46 +02:00
René
1e84c183b3
do not create a new version in docs
2024-07-01 14:49:39 +02:00