RW
49ba8dfbaf
Update release.yml
2024-06-30 22:08:19 +02:00
Juan Calderon-Perez
a18e8a8967
feat: Add support for longtests during CI ( #3054 )
...
* Add support for longtests during CI
* Reduce count from 25 to 15
2024-06-30 21:34:14 +02:00
Juan Calderon-Perez
b9936a339d
🔥 Feature: Add support for zstd compression ( #3041 )
...
* Add support for zstd compression
* Update whats_new.md
* Add benchmarks for Compress middleware
---------
Co-authored-by: RW <rene@gofiber.io>
2024-06-26 16:00:38 +02:00
Juan Calderon-Perez
5914e92e41
Add zero-allocation section to README ( #3039 )
...
Add zero-allocation section README
2024-06-20 15:14:35 +02:00
dependabot[bot]
9caa11fd71
build(deps): bump codecov/codecov-action from 4.4.1 to 4.5.0 ( #3035 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 4.4.1 to 4.5.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.4.1...v4.5.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>
2024-06-17 09:22:08 +02:00
Juan Calderon-Perez
46fffe4397
Bump golangci-lint to v1.59.1 ( #3029 )
2024-06-11 08:52:49 +02:00
M. Efe Çetin
38fb8064c6
middleware: add static middleware ( #3006 )
...
* middleware: add static middleware
* uncomment broken tests
* introduce isfile config property to fix file issues
* test
* add io/fs support to static mw
* add io/fs support to static mw
* remove filesystem and app.Static
* fix linter
* apply review
* support disablecache
* support multi indexes
* add an example for io/fs
* update whats new & apply reviews
* update
* use fasthttp from master
* Update .github/README.md
Co-authored-by: RW <rene@gofiber.io>
* update1
* apply reviews
* update
* update
* update examples
* add more examples
---------
Co-authored-by: RW <rene@gofiber.io>
2024-05-28 09:29:25 +02:00
dependabot[bot]
fca62c1853
build(deps): bump golangci/golangci-lint-action from 5 to 6 ( #2994 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 5 to 6.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-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-05-24 15:01:55 +02:00
dependabot[bot]
ade7d4783f
build(deps): bump codecov/codecov-action from 4.4.0 to 4.4.1 ( #3009 )
...
---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-22 23:11:08 +03:00
dependabot[bot]
4bc4e610a7
build(deps): bump codecov/codecov-action from 4.3.1 to 4.4.0 ( #2999 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 4.3.1 to 4.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/v4.3.1...v4.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: RW <rene@gofiber.io>
2024-05-21 08:57:37 +02:00
dependabot[bot]
c420ddbfa9
build(deps): bump benchmark-action/github-action-benchmark from 1.20.1 to 1.20.3 ( #3008 )
...
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.1 to 1.20.3.
- [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.1...v1.20.3 )
---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-21 08:56:11 +02:00
dependabot[bot]
109ccdd4ad
build(deps): bump codecov/codecov-action from 4.3.0 to 4.3.1 ( #2993 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 4.3.0 to 4.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/v4.3.0...v4.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-01 15:36:51 +02:00
dependabot[bot]
aea2981798
build(deps): bump golangci/golangci-lint-action from 4 to 5 ( #2986 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 4 to 5.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-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-04-25 15:23:37 +02:00
dependabot[bot]
68780cdf59
build(deps): bump codecov/codecov-action from 4.1.1 to 4.3.0 ( #2959 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 4.1.1 to 4.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/v4.1.1...v4.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>
2024-04-12 16:10:13 +02:00
René
8fc8ad9557
Merge remote-tracking branch 'origin/main'
2024-04-08 14:35:14 +02:00
René
ec7b6dbc75
https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes#example-configurations
...
add yml for automatic release notes generation
2024-04-08 14:35:10 +02:00
RW
9ba5765165
Update release-drafter.yml
2024-04-07 20:34:23 +02:00
dependabot[bot]
6a7f015897
build(deps): bump benchmark-action/github-action-benchmark from 1.19.3 to 1.20.1 ( #2950 )
...
build(deps): bump benchmark-action/github-action-benchmark
Bumps [benchmark-action/github-action-benchmark](https://github.com/benchmark-action/github-action-benchmark ) from 1.19.3 to 1.20.1.
- [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.19.3...v1.20.1 )
---
updated-dependencies:
- dependency-name: benchmark-action/github-action-benchmark
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>
2024-04-03 09:13:45 +02:00
dependabot[bot]
dfe5c6fd04
build(deps): bump codecov/codecov-action from 4.1.0 to 4.1.1 ( #2941 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 4.1.0 to 4.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/v4.1.0...v4.1.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-28 10:45:38 +01:00
Juan Calderon-Perez
95c181469d
chore: Enabling shuffling, cleanup and consistency across tests ( #2931 )
...
* Make Test/Benchmark names consistent. Add Makefile for GoFiber developers
* Cleanup README and Makefile
* Update statement
2024-03-24 20:54:56 +01:00
Juan Calderon-Perez
3209052305
chore: Update golangci-lint to v1.57.1 ( #2929 )
...
* Update linter.yml
* Fix issues from golangci-lint v1.57.1
2024-03-24 20:32:13 +01:00
leonklingele
d17450ce3d
refactor(README.md): remove "third-party library licenses" section
2024-03-11 14:03:08 +01:00
Juan Calderon-Perez
724e5be696
🧹 v3 (chore): Cleanup and updates to README files ( #2914 )
...
Cleanup and updates to README files
2024-03-11 13:48:52 +01:00
Juan Calderon-Perez
32168793f5
🧹 v3 (chore): Bump minimum version of Go to 1.21 ( #2911 )
...
Bump Go minimum version to 1.21
2024-03-10 10:47:21 +03:00
dependabot[bot]
1fdef7f742
build(deps): bump codecov/codecov-action from 4.0.1 to 4.1.0 ( #2901 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 4.0.1 to 4.1.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.0.1...v4.1.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>
2024-03-08 16:19:07 +01:00
RW
79b24ea8e0
Update test.yml
...
optimize codecov
2024-03-05 08:35:09 +01:00
Emir
4525458fb1
📚 Doc: Improve translation ( #2899 )
...
* Make the sentence more understandable
* Add the English version of the words as the Turkish version is difficult to understand.
* Improve translation
* Correct the meaningless sentence
* Convert first letter to uppercase
* Delete repeated word
2024-03-05 09:55:47 +03:00
nickajacks1
6389961614
🧹 v3 (chore): Update test workflow to use gotestsum ( #2895 )
2024-03-05 09:53:23 +03:00
RW
77770a9db1
Update README.md
...
Change badge for codecov
2024-03-04 19:36:21 +01:00
RW
976c7d6d67
Update README.md
...
add codecov badge
2024-03-04 19:33:42 +01:00
RW
0dd26107fe
Update test.yml
...
Add codecov-action
2024-03-04 19:18:11 +01:00
RW
ec48a76f14
V2 to v3 merge ( #2864 )
...
* Update pull_request_template.md
* Update v3-changes.md
* Update CONTRIBUTING.md (#2752 )
Grammar correction.
* chore(encryptcookie)!: update default config (#2753 )
* chore(encryptcookie)!: update default config
docs(encryptcookie): enhance documentation and examples
BREAKING CHANGE: removed the hardcoded "csrf_" from the Except.
* docs(encryptcookie): reads or modifies cookies
* chore(encryptcookie): csrf config example
* docs(encryptcookie): md table spacing
* build(deps): bump actions/setup-go from 4 to 5 (#2754 )
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-go
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>
* 🩹 middleware/logger/: log client IP address by default (#2755 )
* middleware/logger: Log client IP address by default.
* Update doc.
* fix: don't constrain middlewares' context-keys to strings 🐛 (#2751 )
* Revert "Revert "🐛 requestid.Config.ContextKey is interface{} (#2369 )" (#2742 )"
This reverts commit 28be17f929
.
* fix: request ContextKey default value condition
Should check for `nil` since it is `any`.
* fix: don't constrain middlewares' context-keys to strings
`context` recommends using "unexported type" as context keys to avoid
collisions https://pkg.go.dev/github.com/gofiber/fiber/v2#Ctx.Locals .
The official go blog also recommends this https://go.dev/blog/context .
`fiber.Ctx.Locals(key any, value any)` correctly allows consumers to
use unexported types or e.g. strings.
But some fiber middlewares constrain their context-keys to `string` in
their "default config structs", making it impossible to use unexported
types.
This PR removes the `string` _constraint_ from all middlewares, allowing
to now use unexported types as per the official guidelines. However
the default value is still a string, so it's not a breaking change, and
anyone still using strings as context keys is not affected.
* 📚 Update app.md for indentation (#2761 )
Update app.md for indentation
* build(deps): bump github.com/google/uuid from 1.4.0 to 1.5.0 (#2762 )
Bumps [github.com/google/uuid](https://github.com/google/uuid ) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/google/uuid/releases )
- [Changelog](https://github.com/google/uuid/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/uuid/compare/v1.4.0...v1.5.0 )
---
updated-dependencies:
- dependency-name: github.com/google/uuid
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>
* build(deps): bump github/codeql-action from 2 to 3 (#2763 )
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: github/codeql-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>
* Changing default log output (#2730 )
changing default log output
Closes #2729
* Update hooks.md
fix wrong hooks signature
* 🩹 Fix: CORS middleware should use the defined AllowedOriginsFunc config when AllowedOrigins is empty (#2771 )
* 🐛 [Bug]: Adaptator + otelfiber issue #2641 (#2772 )
* 🩹 🚨 - fix for redirect with query params (#2748 )
* redirect with query params did not work, fix it and add test for it
* redirect middleware - fix test typo
* ♻️ logger/middleware colorize logger error message #2593 (#2773 )
* ✨ feat: add liveness and readiness checks (#2509 )
* ✨ feat: add liveness and readiness checkers
* 📝 docs: add docs for liveness and readiness
* ✨ feat: add options method for probe checkers
* ✅ tests: add tests for liveness and readiness
* ♻️ refactor: change default endpoint values
* ♻️ refactor: change default value for liveness endpoint
* 📝 docs: add return status for liveness and readiness probes
* ♻️ refactor: change probechecker to middleware
* 📝 docs: move docs to middleware session
* ♻️ refactor: apply gofumpt formatting
* ♻️ refactor: remove unused parameter
* split config and apply a review
* apply reviews and add testcases
* add benchmark
* cleanup
* rename middleware
* fix linter
* Update docs and config values
* Revert change to IsReady
* Updates based on code review
* Update docs to match other middlewares
---------
Co-authored-by: Muhammed Efe Cetin <efectn@protonmail.com>
Co-authored-by: Juan Calderon-Perez <835733+gaby@users.noreply.github.com>
Co-authored-by: Juan Calderon-Perez <jgcalderonperez@protonmail.com>
* prepare release v2.52.0
- add more Parser tests
* fix healthcheck.md
* configure workflows for V2 branch
* configure workflows for V2 branch
* Fix default value to false in docs of QueryBool (#2811 )
fix default value to false in docs of QueryBool
* update queryParser config
* Update ctx.md
* Update routing.md
* merge v2 in v3
* merge v2 in v3
* lint fixes
* 📚 Doc: Fix code snippet indentation in /docs/api/middleware/keyauth.md
Removes an an extra level of indentation in line 51 of
`keyauth.md` [here](https://github.com/gofiber/fiber/blob/v2/docs/api/middleware/keyauth.md?plain=1#L51 )
* fix: healthcheck middleware not working with route group (#2863 )
* fix: healthcheck middleware not working with route group
* perf: change verification method to improve perf
* Update healthcheck_test.go
* test: add not matching route test for strict routing
* add more test cases
* correct tests
* correct test helpers
* correct tests
* correct tests
---------
Co-authored-by: Juan Calderon-Perez <835733+gaby@users.noreply.github.com>
Co-authored-by: René Werner <rene@gofiber.io>
* merge v2 in v3
* Merge pull request from GHSA-fmg4-x8pw-hjhg
* Enforce Wildcard Origins with AllowCredentials check
* Expand unit-tests, fix issues with subdomains logic, update docs
* Update cors.md
* Added test using localhost, ipv4, and ipv6 address
* improve documentation markdown
---------
Co-authored-by: René Werner <rene@gofiber.io>
* Update app.go
prepare release v2.52.1
* fix cors domain normalize
* fix sync-docs workflow
* test: fix failing tests
* fix sync-docs workflow
* test: cors middleware use testify require
* chore: fix lint warnings
* chore: revert test isolation.
* fixed the fasthttp ctx race condition problem
* Update middleware/cors/utils.go
Co-authored-by: Renan Bastos <renanbastos.tec@gmail.com>
* fix sync_docs.sh
* fix review comments/hints
* fix review comments/hints
* stabilize Test_Proxy_Timeout_Slow_Server test
* stabilize Test_Proxy_.* tests
* ignore bodyclose linter for tests
use http.NoBody instead of nil
* revert(tests): undo http.NoBody usage
* fix(ctx pool): postpone the reset for some values
shortly before the release in the pool
* refactor(tests): use testify panic method instead of custom solution
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: tokelo-12 <113810058+tokelo-12@users.noreply.github.com>
Co-authored-by: Jason McNeil <sixcolors@mac.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: iRedMail <2048991+iredmail@users.noreply.github.com>
Co-authored-by: Benjamin Grosse <ste3ls@gmail.com>
Co-authored-by: Mehmet Firat KOMURCU <mehmetfiratkomurcu@hotmail.com>
Co-authored-by: Bruno <bdm2943@icloud.com>
Co-authored-by: Muhammad Kholid B <muhammadkholidb@gmail.com>
Co-authored-by: gilwo <gilwo@users.noreply.github.com>
Co-authored-by: Lucas Lemos <lucashenriqueblemos@gmail.com>
Co-authored-by: Muhammed Efe Cetin <efectn@protonmail.com>
Co-authored-by: Juan Calderon-Perez <835733+gaby@users.noreply.github.com>
Co-authored-by: Juan Calderon-Perez <jgcalderonperez@protonmail.com>
Co-authored-by: Jongmin Kim <kjongmin26@gmail.com>
Co-authored-by: Giovanni Rivera <rivera.giovanni271@gmail.com>
Co-authored-by: Renan Bastos <renanbastos.tec@gmail.com>
2024-02-29 08:29:59 +01:00
leonklingele
8c413d0652
feat(ci): do not retry flaky tests ( #2875 )
...
Reporting flaky tests is important so they can be fixed.
Also this allows to discover data races which else might go completely unnoticed.
2024-02-23 09:12:00 +01:00
Juan Calderon-Perez
d123008fcc
Bump golangci-lint to v1.56.2 ( #2862 )
2024-02-19 15:30:27 +01:00
dependabot[bot]
73cb75142e
build(deps): bump fuxingloh/multi-labeler from 2 to 4 ( #2856 )
...
Bumps [fuxingloh/multi-labeler](https://github.com/fuxingloh/multi-labeler ) from 2 to 4.
- [Release notes](https://github.com/fuxingloh/multi-labeler/releases )
- [Commits](https://github.com/fuxingloh/multi-labeler/compare/v2...v4 )
---
updated-dependencies:
- dependency-name: fuxingloh/multi-labeler
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-02-13 16:33:01 +03:00
Juan Calderon-Perez
9dabf96ddc
Bump golangci-lint to v1.56.1 ( #2842 )
...
* Update linter.yml
* Disable spancheck, fix some of the errors
* Fix ErrorAs, disable go-require from testifylint
* Remove extra space
* Fix all warnings from golangci-lint and revive unused params
* Refactor CopyContextToFiberContext
* Update adaptor.go
2024-02-13 08:23:15 +01:00
RW
0367d82d4f
Update README.md
2024-02-13 08:22:24 +01:00
dependabot[bot]
867952880d
build(deps): bump golangci/golangci-lint-action from 3 to 4 ( #2855 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3 to 4.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-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-02-12 17:05:38 +03:00
nickajacks1
18f0f8780e
v3: Update Version Numbers in Docs ( #2853 )
...
* 📚 Docs: Update version numbers for v3
* 📚 Docs: Update template docs to reflect changes in #2848
---------
Co-authored-by: Juan Calderon-Perez <835733+gaby@users.noreply.github.com>
2024-02-12 02:33:32 +03:00
Juan Calderon-Perez
535e5c62f4
Run tests against Apple M1 platform ( #2852 )
...
Run tests against MacOS-14 arm64 platform
2024-02-12 02:04:31 +03:00
Juan Calderon-Perez
62969f8dcd
Add CODEOWNERS file ( #2851 )
...
Create CODEOWNERS
2024-02-11 21:46:20 +01:00
Joey
2b03f47fae
🚀 Performance improvements ( #2838 )
...
* Add new supporter
* Add new test condition
* Add Handler Type
* Update app.go
* Update group.go
* Add Handler Type
* Update ViewEngine
* Update Templates Interface
* Update template examples
* Update fasthttp to v1.13.1
* Default cookie SameSite to Lax
* - static file routing fixed for fasthttp 1.13
- fix expected cookie values in tests
* Update template examples
* Update fasthttp to v1.13.1
Co-Authored-By: Thomas van Vugt <thomasvvugt@users.noreply.github.com>
* Cookie SameSite defaults to Lax
Co-Authored-By: Thomas van Vugt <thomasvvugt@users.noreply.github.com>
Co-Authored-By: Queru <pascal@queru.net>
* Fix router bug
Co-Authored-By: RW <renewerner87@googlemail.com>
* Remove unused code
Co-Authored-By: RW <renewerner87@googlemail.com>
* Add more static tests
Co-Authored-By: RW <renewerner87@googlemail.com>
* Update app_test.go
Co-Authored-By: RW <renewerner87@googlemail.com>
* Update Static tests
Co-Authored-By: RW <renewerner87@googlemail.com>
* Update app_test.go
Co-Authored-By: RW <renewerner87@googlemail.com>
* Update app_test.go
Co-Authored-By: RW <renewerner87@googlemail.com>
* Fix handler next calls
Co-Authored-By: RW <renewerner87@googlemail.com>
* Update router.go
Co-Authored-By: RW <renewerner87@googlemail.com>
* Update ctx.go
Co-Authored-By: RW <renewerner87@googlemail.com>
* Update app_test.go
Co-Authored-By: RW <renewerner87@googlemail.com>
* Remove nextHandler
Co-Authored-By: RW <renewerner87@googlemail.com>
* Remove lencount
Co-Authored-By: RW <renewerner87@googlemail.com>
* Add ErrorHandler
* Add ErrorHandler tests
* Add recover by default
* Enable recover by default
* Add App()
* Add ErrorHandler
* Enable recover by default
* Add ErrorHandler
* Add App() & Middleware
* Add RequestID
* Add new supporters
* Update shields
* Add mw
* Update basic_auth.go
* Update README.md
* Update spacing
* Update basic_auth_test.go
* Update ctx_test.go
* Add tests
* Update middleware
* up
* Small improvements
Use optimized `utils.ToString` and avoid `once.Do`
**Before**
```
BenchmarkLogfKeyAndValues/test_logf_with_debug_level_and_key-values-24 7323432 153.8 ns/op 89 B/op 1 allocs/op
BenchmarkLogfKeyAndValues/test_logf_with_info_level_and_key-values-24 8171703 144.5 ns/op 81 B/op 1 allocs/op
BenchmarkLogfKeyAndValues/test_logf_with_warn_level_and_key-values-24 8207860 142.8 ns/op 81 B/op 1 allocs/op
BenchmarkLogfKeyAndValues/test_logf_with_format_and_key-values-24 7500332 159.1 ns/op 135 B/op 2 allocs/op
BenchmarkLogfKeyAndValues/test_logf_with_one_key-24 10024760 131.0 ns/op 155 B/op 2 allocs/op
```
**After**
```
BenchmarkLogfKeyAndValues/test_logf_with_debug_level_and_key-values-24 13797813 77.42 ns/op 77 B/op 0 allocs/op
BenchmarkLogfKeyAndValues/test_logf_with_info_level_and_key-values-24 15375350 75.43 ns/op 73 B/op 1 allocs/op
BenchmarkLogfKeyAndValues/test_logf_with_warn_level_and_key-values-24 14926300 75.28 ns/op 75 B/op 1 allocs/op
BenchmarkLogfKeyAndValues/test_logf_with_format_and_key-values-24 12860275 90.27 ns/op 134 B/op 2 allocs/op
BenchmarkLogfKeyAndValues/test_logf_with_one_key-24 15649615 74.98 ns/op 100 B/op 1 allocs/op
```
* Fix WithCtxCaller test
* Fix lint
* Fix lint
* Replace Sprintf with byebufferpool in ctx.String()
# Original fn using Sprintf
Benchmark_Ctx_String-24 3846717 318.0 ns/op 152 B/op 8 allocs/op
Benchmark_Ctx_String-24 3780208 315.9 ns/op 152 B/op 8 allocs/op
Benchmark_Ctx_String-24 3627513 315.1 ns/op 152 B/op 8 allocs/op
Benchmark_Ctx_String-24 3712863 317.4 ns/op 152 B/op 8 allocs/op
// Modified using bytebufferpool
Benchmark_Ctx_String-24 8131666 149.3 ns/op 96 B/op 5 allocs/op
Benchmark_Ctx_String-24 7626406 148.3 ns/op 96 B/op 5 allocs/op
Benchmark_Ctx_String-24 8194621 149.2 ns/op 96 B/op 5 allocs/op
Benchmark_Ctx_String-24 8297750 156.6 ns/op 96 B/op 5 allocs/op
* Fix linting
* Use bytebufferpool in default logger
* Fix linting
* Lint fix
* Update linter.yml
* Update linter.yml
* Disable caching as recommended by golangci-lint
* 🩹 fix lint errors
---------
Co-authored-by: ReneWerner87 <ReneWerner87@googlemail.com>
Co-authored-by: Thomas van Vugt <thomasvvugt@users.noreply.github.com>
Co-authored-by: Queru <pascal@queru.net>
Co-authored-by: ReneWerner87 <rene@gofiber.io>
Co-authored-by: Juan Calderon-Perez <835733+gaby@users.noreply.github.com>
2024-02-09 12:27:21 +01:00
Juan Calderon-Perez
d305cc4ca5
Add go1.22 to test matrix ( #2835 )
2024-02-07 14:12:51 +01:00
dependabot[bot]
93c726fb76
build(deps): bump release-drafter/release-drafter from 5 to 6 ( #2826 )
...
Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter ) from 5 to 6.
- [Release notes](https://github.com/release-drafter/release-drafter/releases )
- [Commits](https://github.com/release-drafter/release-drafter/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: release-drafter/release-drafter
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-02-05 08:15:31 +01:00
dependabot[bot]
dbe0443b90
build(deps): bump benchmark-action/github-action-benchmark from 1.16.2 to 1.19.3 ( #2827 )
...
build(deps): bump benchmark-action/github-action-benchmark
Bumps [benchmark-action/github-action-benchmark](https://github.com/benchmark-action/github-action-benchmark ) from 1.16.2 to 1.19.3.
- [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.16.2...v1.19.3 )
---
updated-dependencies:
- dependency-name: benchmark-action/github-action-benchmark
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>
2024-02-02 19:10:40 +01:00
dependabot[bot]
a348c1dd2c
build(deps): bump nick-fields/retry from 2 to 3 ( #2824 )
...
Bumps [nick-fields/retry](https://github.com/nick-fields/retry ) from 2 to 3.
- [Release notes](https://github.com/nick-fields/retry/releases )
- [Changelog](https://github.com/nick-fields/retry/blob/master/.releaserc.js )
- [Commits](https://github.com/nick-fields/retry/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: nick-fields/retry
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-02-01 13:38:43 +01:00
nickajacks1
ccf16117c0
ci: Update golangci-lint to v1.55.2 ( #2817 )
...
ci: bump golangci-lint to 1.55.2
2024-01-30 09:53:17 +01:00
dependabot[bot]
603fbde9b6
build(deps): bump actions/cache from 3 to 4 ( #2803 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/cache
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-01-19 01:48:40 +03:00
dependabot[bot]
38b8e741c1
build(deps): bump github/codeql-action from 2 to 3 ( #2788 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: github/codeql-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-01-14 23:02:51 +03:00
dependabot[bot]
6bd046bbc2
build(deps): bump actions/setup-go from 4 to 5 ( #2789 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-go
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-01-14 23:02:19 +03:00
Muhammed Efe Cetin
1588b6b602
Merge remote-tracking branch 'origin/master'
2024-01-13 18:26:07 +03:00
René Werner
b2c9ccdeef
configure workflows for main (v3-beta) branch
2024-01-08 16:38:37 +01:00
René Werner
6eb48fea8b
configure workflows for main (v3-beta) branch
2024-01-08 16:37:35 +01:00
nickajacks1
956b66d95f
📚 Doc: Update handler signature for v3 ( #2794 )
...
📚 Doc: fix handler signature for v3
2024-01-08 16:31:15 +01:00
René Werner
960b652587
configure workflows for main (v3-beta) branch
2024-01-06 17:49:14 +01:00
RW
239e36e0f6
Update sync_docs.sh
2023-11-15 08:50:26 +01:00
René Werner
862ea7dbf6
add v3 pr templates info
2023-11-08 13:23:46 +01:00
René Werner
efdd0093b3
add v3 issue/pr templates
2023-11-07 19:09:23 +01:00
René Werner
781f71a0d1
add v3 issue/pr templates
2023-11-07 19:04:00 +01:00
Muhammed Efe Cetin
6ea4d81331
Merge branch 'master' into v3-beta
2023-11-07 20:22:31 +03:00
HardikBandhiya
0104e59e9f
fix: changed "Twitter" to "X (Twitter)" in README.md Contribute Section ( #2696 )
...
* Update README.md
in README.md contribute section the name of twitter was old i changed it to 𝕏
* Update README.md
updated domain as per suggested
* Update CONTRIBUTING.md
* Update README_az.md
* Update README_ckb.md
in this i changed domain only.
* Update README_de.md
* Update README_eg.md
in this i changed domain
* Update README_es.md
* Update README_fa.md
* Update README_fr.md
* Update README_he.md
* Update README_id.md
* Update README_it.md
* Update README_ja.md
* Update README_ko.md
* Update README_nl.md
* Update README_pl.md
* Update README_pt.md
* Update README_ru.md
* Update README_sa.md
* Update README_tr.md
* Update README_uk.md
* Update README_zh-CN.md
* Update README_zh-TW.md
2023-11-01 09:24:14 +01:00
dependabot[bot]
7eadeb8ed3
build(deps): bump actions/setup-node from 3 to 4 ( #2690 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-node
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>
2023-10-24 23:10:00 +02:00
dependabot[bot]
fe65ff8dff
build(deps): bump actions/checkout from 3 to 4 ( #2618 )
...
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>
2023-09-06 13:24:24 +02:00
Kacper Soczko
e85ceda999
📚 Add Polish translation - README_pl.md ( #2613 )
...
Add polish translation of github readme
Co-authored-by: Kacper Soczko <kacpersoczko@bluerider.software>
2023-09-02 18:26:34 +02:00
Juan Calderon-Perez
8761d948ba
Rollback changes to go.mod file ( #2614 )
...
* Rollback changes to go.mod file
* Format workflow files with prettier, use go1.20 for go.mod file
2023-09-02 07:41:54 +02:00
Jian Lim
d44b03e60a
📝 docs: update README_ko.md ( #2605 )
...
Modifying sentences that are awkward to translate
Translating an untranslated sentence
2023-08-28 08:00:12 +02:00
RW
7850cde541
Update CONTRIBUTING.md
2023-08-22 12:35:26 +02:00
M. Efe Çetin
e2f7457d4d
🧹 chore: add go 1.21 to ci and readmes ( #2588 )
2023-08-19 18:31:38 +02:00
Girges Scandar
5fd3f20de8
📝 Replace EG flag with the proper and smaller SVG ( #2585 )
...
replace the EG flag with the proper smaller svg
2023-08-18 08:57:52 +02:00
RW
85d1f6895a
Update README.md
...
correct EG flag
2023-08-17 16:24:38 +02:00
Girges Scandar
bd9c3fc239
📝 Added Egyptian Arabic readme file ( #2565 )
...
* Adds EG readme
* Links EG readme to other readmes
* update language count to 19
* add missing translation
2023-08-17 14:35:48 +02:00
Anderson Miranda
35a13fb726
📚 Doc: Translate README to Portuguese ( #2567 )
...
📚 Doc: Translate REAMDE to Portuguese
Co-authored-by: Anderson Miranda <amiranda@dminc.com>
2023-08-09 13:05:01 +02:00
René Werner
e6a9380880
sync docs workflow optimization
2023-08-07 16:03:12 +02:00
RW
e4839eaeba
Update sync_docs.sh
...
optimize sync docs
- sort version json
2023-08-07 15:51:16 +02:00
René Werner
1e4e0c3b76
optimize release drafter config
2023-08-07 10:35:50 +02:00
Muhammed Efe Cetin
75bb02b87e
Merge remote-tracking branch 'origin/master' into v3-beta
2023-08-05 22:02:01 +03:00
André da Silva
58270e2d5b
🩹 Fix: dictpool is not completely gone ( #2540 )
...
* Completely remove dictpool
Looks like issue:
https://github.com/gofiber/fiber/issues/2209
Was not complete. So here dictpool is completely gone
* Fix linting error
2023-07-11 09:06:32 +02:00
René Werner
99902abc0c
improve docs sync script
2023-07-09 18:49:42 +02:00
René Werner
47b767e716
Merge remote-tracking branch 'origin/master'
2023-07-09 18:46:41 +02:00
René Werner
fb9b57f534
improve docs sync script
2023-07-09 18:46:37 +02:00
RW
924fefd677
Update README.md
2023-07-08 22:02:08 +02:00
RW
4e5540fcbf
Update README.md
...
fix dark and light mode picture
https://github.blog/changelog/2021-11-24-specify-theme-context-for-images-in-markdown/
2023-07-08 21:59:24 +02:00
M. Efe Çetin
70aec2b4ca
📝 docs: update sync_docs.sh script ( #2532 )
...
* 📝 docs: update sync_docs.sh script
* 📝 docs: update sync_docs.sh script
2023-07-06 16:14:57 +02:00
RW
453ccadadd
Update sync-docs.yml
2023-07-06 11:39:20 +02:00
Juan Calderon-Perez
78f4510b28
Disable caching when running govulncheck ( #2503 )
...
* Migrate to golang official govulncheck action
* Remove unsupported go version from govulncheck
* Update vulncheck.yml
* Update vulncheck.yml
* Update template to disable caching
* Run checkout before setup-go
2023-06-19 13:33:18 +02:00
René Werner
719a5a2a8f
repair test workflow
2023-06-12 07:59:59 +02:00
René Werner
9effdf829a
disable golang test cache
2023-06-09 21:14:32 +02:00
RW
0822f2e322
Revert "Migrate to Golang official govulncheck action" ( #2502 )
...
Revert "Migrate to Golang official govulncheck action (#2501 )"
This reverts commit b66bcd975a
.
2023-06-09 13:34:29 +02:00
Juan Calderon-Perez
b66bcd975a
Migrate to Golang official govulncheck action ( #2501 )
...
* Migrate to golang official govulncheck action
* Remove unsupported go version from govulncheck
* Update vulncheck.yml
2023-06-09 09:43:33 +02:00
Amir Hossein
d91ea9e01e
📚 translate README_fa.md ( #2496 )
...
* translate README_fa.md (#1 )
* add "Using Trusted Proxy" section under the "show more code examples"
2023-06-07 18:21:36 +03:00
Alexander
5a84fa0e8e
📒 Correcting a syntax error in the README ( #2473 )
...
* Update README.md
* 📝 docs: fix typo in some readme
2023-05-20 11:09:24 +02:00
Алексей Ковригин
77c1b4868a
📝 docs: update README_ru.md ( #2456 )
...
📝 docs: update README_ru.md
Translated 3 blocks: Limitations, Awesome list, License
2023-05-10 23:51:56 +03:00
M. Efe Çetin
c7c37d9b50
♻️ refactor: merge some external middlewares to core ( #2453 )
...
* ♻️ refactor: merge adaptor, helmet, keyauth, redirect, rewrite middlewares to core
* fix linting issues
* fix linting issues
* fix linting issues
* update
2023-05-10 08:01:49 +02:00
RW
9cc10e942a
Update benchmark.yml
2023-05-09 09:01:56 +02:00
RW
9d8eba55d6
Update labeler.yml
2023-04-26 21:55:03 +02:00
Carmelo Riolo
3e9575b0fe
📚 Docs: Correct errors in Italian translation ( #2417 )
...
docs: fix typos and errors in README_it.md
2023-04-15 19:26:08 +03:00
Kanan N
dbc8c42040
Correct grammar errors in Azerbaijani translation. ( #2413 )
...
* Update README_az.md
* Update README_az.md
* Update README_az.md
2023-04-15 14:39:49 +02:00
eldaniz
2237e9c511
📚 Docs: Added Azerbaijani README translation ( #2411 )
...
azerbaijani translation completed
2023-04-13 08:54:07 +03:00
cmd777
8b1f9260a3
📚 Docs: Fix typos, and make middleware documentation more consistent ( #2408 )
...
Fix typos, and make docs more consistent
This fixes several typos in the ISSUE_TEMPLATES, as well as improve
their readability, also makes the documentation markdowns more
consistent
2023-04-10 10:48:12 +08:00
Joey
f0987ec071
Update README_ckb.md
2023-04-06 14:14:26 +02:00