Skip to content

Commit 541b52e

Browse files
authored
Merge pull request #1430 from gofiber/codex/2025-10-17-10-44-50
2 parents 7b97600 + 555bc0b commit 541b52e

File tree

172 files changed

+1674
-1438
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

172 files changed

+1674
-1438
lines changed

.github/ISSUE_TEMPLATE/bug-report.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ body:
6060
value: |
6161
package main
6262
63-
import "github.com/gofiber/contrib/%package%"
63+
// Replace <MAJOR> with the module's current major version (omit the `/v<MAJOR>` suffix entirely for v1 modules).
64+
import "github.com/gofiber/contrib/v3/%package%"
6465
6566
func main() {
6667
// Steps to reproduce

.github/ISSUE_TEMPLATE/feature-request.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ body:
3636
value: |
3737
package main
3838
39-
import "github.com/gofiber/contrib/%package%"
39+
// Replace <MAJOR> with the module's current major version (omit the `/v<MAJOR>` suffix entirely for v1 modules).
40+
import "github.com/gofiber/contrib/v3/%package%"
4041
4142
func main() {
4243
// Steps to reproduce

.github/ISSUE_TEMPLATE/question.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ body:
3131
value: |
3232
package main
3333
34-
import "github.com/gofiber/contrib/%package%"
34+
// Replace <MAJOR> with the module's current major version (omit the `/v<MAJOR>` suffix entirely for v1 modules).
35+
import "github.com/gofiber/contrib/v3/%package%"
3536
3637
func main() {
3738
// Steps to reproduce

.github/workflows/golangci-lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Generate filters
3232
id: filter-setup
3333
run: |
34-
filters=$(find . -maxdepth 1 -type d ! -path ./.git ! -path . -exec basename {} \; | grep -v '^\.' | awk '{printf "%s: \"%s/**\"\n", $1, $1}')
34+
filters=$(find v3 -mindepth 1 -maxdepth 1 -type d -exec basename {} \; | sort | awk '{printf "%s: \"v3/%s/**\"\n", $1, $1}')
3535
echo "filters<<EOF" >> $GITHUB_OUTPUT
3636
echo "$filters" >> $GITHUB_OUTPUT
3737
echo "EOF" >> $GITHUB_OUTPUT
@@ -64,7 +64,7 @@ jobs:
6464
uses: golangci/golangci-lint-action@v6
6565
with:
6666
args: "--tests=false --timeout=5m"
67-
working-directory: ${{ matrix.package }}
67+
working-directory: ./v3/${{ matrix.package }}
6868
# NOTE: Keep this in sync with the version from .golangci.yml
6969
version: v1.64.7
7070
# NOTE(ldez): temporary workaround

.github/workflows/test-casbin.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ on:
66
- master
77
- main
88
paths:
9-
- 'casbin/**'
9+
- 'v3/casbin/**'
1010
pull_request:
1111
paths:
12-
- 'casbin/**'
12+
- 'v3/casbin/**'
1313

1414
jobs:
1515
Tests:
@@ -26,5 +26,5 @@ jobs:
2626
with:
2727
go-version: '${{ matrix.go-version }}'
2828
- name: Run Test
29-
working-directory: ./casbin
29+
working-directory: ./v3/casbin
3030
run: go test -v -race ./...

.github/workflows/test-circuitbreaker.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ on:
66
- master
77
- main
88
paths:
9-
- 'circuitbreaker/**'
9+
- 'v3/circuitbreaker/**'
1010
pull_request:
1111
paths:
12-
- 'circuitbreaker/**'
12+
- 'v3/circuitbreaker/**'
1313
- '.github/workflows/**'
1414

1515
jobs:
@@ -27,5 +27,5 @@ jobs:
2727
with:
2828
go-version: '${{ matrix.go-version }}'
2929
- name: Run Test
30-
working-directory: ./circuitbreaker
30+
working-directory: ./v3/circuitbreaker
3131
run: go test -v -race ./...

.github/workflows/test-fgprof.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ on:
66
- master
77
- main
88
paths:
9-
- 'fgprof/**'
9+
- 'v3/fgprof/**'
1010
pull_request:
1111
paths:
12-
- 'fgprof/**'
12+
- 'v3/fgprof/**'
1313

1414
jobs:
1515
Tests:
@@ -26,5 +26,5 @@ jobs:
2626
with:
2727
go-version: '${{ matrix.go-version }}'
2828
- name: Run Test
29-
working-directory: ./fgprof
29+
working-directory: ./v3/fgprof
3030
run: go test -v -race ./...

.github/workflows/test-fibernewrelic.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

.github/workflows/test-fibersentry.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

.github/workflows/test-fiberzerolog.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)