Go Toolchain issues
As flagged in #1221, folks using Go 1.21 for their local builds - but maybe not targeting Go 1.21, will have been receiving diffs like:
diff --git a/examples/go.mod b/examples/go.mod index 4b815bd..929a5b6 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -1,6 +1,8 @@ module github.com/deepmap/oapi-codegen/examples -go 1.20 +go 1.21 + +toolchain go1.21.0
This is due to changes in Go 1.21's management of toolchains, and is a side effect of Fiber and Iris targeting Go 1.21.
These dependencies have now been downgraded to requiring 1.20, and we've taken steps as maintainers to reduce the impact in the future, so we should only be targeting the lowest Go version supported by the Go team.
- [Gorilla] update the
MiddlewareFunctype for compatibility by @namco1992 in #1134
- Re-enable moq's execution by @jamietanna in #1229
- Bump fiber to v2.49.1 by @jamietanna in #1232
- Build project with Go 1.20 and Go 1.21 by @jamietanna in #1251
- Bump Iris to remove Go 1.21 dependency by @jamietanna in #1249
Full Changelog: v1.14.0...v1.15.0