MyGit

v1.15.0

oapi-codegen/oapi-codegen

版本发布时间: 2023-09-11 16:16:07

oapi-codegen/oapi-codegen最新发布版本:v2.3.0(2024-06-07 05:00:34)

Go Toolchain issues

As flagged in https://github.com/deepmap/oapi-codegen/issues/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.

What's Changed

New Contributors

Full Changelog: https://github.com/deepmap/oapi-codegen/compare/v1.14.0...v1.15.0

相关地址:原始地址 下载(tar) 下载(zip)

查看:2023-09-11发行的版本