fabric icon indicating copy to clipboard operation
fabric copied to clipboard

Update to Golang 1.18

Open musinit opened this issue 3 years ago • 4 comments

Hey, looks like we can update all the stuff to the latest version?

musinit avatar Apr 19 '22 13:04 musinit

Main branch updated to Go 1.18.2: https://github.com/hyperledger/fabric/pull/3404

Will do back releases next.

denyeart avatar May 16 '22 12:05 denyeart

are we plan to use any go 1.18 new features ?

SamYuan1990 avatar Jun 23 '22 12:06 SamYuan1990

@denyeart , please take a look at https://github.com/hyperledger/fabric/blob/main/go.mod#L3

SamYuan1990 avatar Jun 23 '22 12:06 SamYuan1990

Not planning to use any Go 1.18 features at the moment, but I'll plan on updating go.mod so that we can. Note that the build has already been updated to use Go 1.18.

denyeart avatar Jun 28 '22 12:06 denyeart

Still need to update go.mod Go version. Also need to check Go version in all other Fabric repositories.

denyeart avatar Oct 03 '22 17:10 denyeart

Still need to update go.mod Go version. Also need to check Go version in all other Fabric repositories.

and it seems we have go lang 1.19 for now? we will upgrade to 1.19?

SamYuan1990 avatar Oct 04 '22 06:10 SamYuan1990

Go 1.19 requires some additional updates and is tracked in #3661

denyeart avatar Nov 30 '22 13:11 denyeart

I'll use this issue to ensure that all Fabric ecosystem repositories are at least at 1.18.8

denyeart avatar Nov 30 '22 13:11 denyeart

https://github.com/Hyperledger-TWGC/fabric-admin-sdk/blob/main/go/go.mod#L3 admin sdk use golang version 1.18 for now.

SamYuan1990 avatar Dec 02 '22 13:12 SamYuan1990

Done.

denyeart avatar Apr 05 '23 12:04 denyeart