Commit 863c6ea
Update all dependencies to Go 1.24 (#2264)
* chore: require go 1.24 as minimum version across all modules
Bump all go.mod files from go 1.22.5 to go 1.24 and normalize any
go 1.24.0 to go 1.24 for consistency.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* chore: remove inner go.mod files that existed only for go 1.24 requirement
Now that all modules require go 1.24, these inner modules are no longer
needed as separate modules. Their packages are absorbed by the parent
modules (internal/test and examples), which now include the fiber
dependencies directly.
Removed inner modules:
- internal/test/strict-server/fiber/
- internal/test/issues/issue1469/
- internal/test/issues/issue-1529/strict-fiber/
- examples/minimal-server/stdhttp-go-tool/
- examples/minimal-server/fiber/
- examples/extensions/xomitzero/
- examples/petstore-expanded/fiber/
- examples/output-options/preferskipoptionalpointerwithomitzero/
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* chore: update dependencies to latest go 1.24-compatible versions
Run go get for all direct dependencies across all modules, constrained
to go 1.24 via GOTOOLCHAIN=go1.24.4 to avoid pulling in deps that
require go 1.25.
Notable updates:
- gin v1.10.1 -> v1.11.0 (v1.12.0 requires go 1.25)
- iris v12.2.6 -> v12.2.11
- echo v4.11.4/v4.12.0 -> v4.15.1
- chi v5.0.10 -> v5.2.5
- golang.org/x/tools v0.30.0 -> v0.42.0
- golang.org/x/mod v0.23.0 -> v0.33.0
- golang.org/x/text v0.20.0 -> v0.34.0
Pinned speakeasy-api/jsonpath at v0.6.0 across all modules due to
v0.6.1+ removing the pkg/overlay package that openapi-overlay tests
depend on. Pinned dprotaso/go-yit at the pre-yaml/v4 version as the
newer version switches to go.yaml.in/yaml/v4 which is incompatible
with vmware-labs/yaml-jsonpath.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* update readme
* ci: skip Go 1.22 and 1.23 in CI matrix
Now that all modules require go 1.24, exclude older versions from the
CI build/test/tidy/generate matrix via the excluding_versions input
on the reusable workflow.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* chore: remove Go version guards from child module Makefiles
Now that go 1.24 is the minimum version, the execute-if-go-122/124
guards are always true. Simplify the Makefiles to run commands directly.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* chore: update deprecated code
Remove usage of deprecated middleware.Logger() from Echo examples and
tests. This was deprecated in Echo v4.15.1 in favor of
middleware.RequestLogger or middleware.RequestLoggerWithConfig. Since
these calls only added request logging for debugging convenience, they
are removed rather than replaced.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent c966b37 commit 863c6ea
File tree
49 files changed
+632
-2943
lines changed- .github/workflows
- examples
- authenticated-api
- echo
- stdhttp
- extensions/xomitzero
- minimal-server
- fiber
- stdhttp-go-tool
- stdhttp
- output-options/preferskipoptionalpointerwithomitzero
- petstore-expanded
- echo
- fiber
- stdhttp
- internal/test
- issues
- issue-1529/strict-fiber
- issue1469
- parameters
- strict-server
- fiber
- stdhttp
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
49 files changed
+632
-2943
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | 45 | | |
48 | 46 | | |
49 | 47 | | |
| |||
59 | 57 | | |
60 | 58 | | |
61 | 59 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | 60 | | |
86 | 61 | | |
87 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
31 | | - | |
32 | 30 | | |
33 | 31 | | |
34 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 1 | | |
20 | | - | |
| 2 | + | |
21 | 3 | | |
22 | 4 | | |
23 | | - | |
24 | | - | |
| 5 | + | |
25 | 6 | | |
26 | 7 | | |
27 | | - | |
| 8 | + | |
28 | 9 | | |
29 | 10 | | |
30 | | - | |
| 11 | + | |
31 | 12 | | |
32 | 13 | | |
33 | | - | |
| 14 | + | |
34 | 15 | | |
35 | 16 | | |
36 | | - | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
| 9 | + | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
0 commit comments