Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump go v1.20 #799

Merged
merged 1 commit into from
Mar 10, 2023
Merged

bump go v1.20 #799

merged 1 commit into from
Mar 10, 2023

Commits on Mar 10, 2023

  1. bump go v1.20 (also go-libp2p v0.25.1 and kubo v0.19.0-rc1)

    Needed bumps:
    * ci: bump staticcheck 2023.1.2 (supports go v1.20)
    * go get github.com/libp2p/[email protected]
    * go get github.com/ipfs/[email protected]
    * go mod tidy
    
    Import path changes:
    * github.com/libp2p/go-libp2p-core -> github.com/libp2p/go-libp2p/core
    * github.com/libp2p/go-libp2p-connmgr -> github.com/libp2p/go-libp2p/p2p/net/connmgr
    * github.com/ipfs/go-ipfs-files -> github.com/ipfs/go-libipfs/files
    
    Code changes:
    * ipfs: config.NewOptionalInteger() and config.NewOptionalDuration()
    * ipfsconnect/subpub: connmanager.WithGracePeriod(time.Second*10))
    * ipfsconnect/subpub: c.Apply(libp2p.Defaults)
    * ipfsconnect/subpub: disable TestSubPub until fixed
    * util/net_test: fix go vet warning
    * api/autoswag: fix gofmt issue
    * all: rand.Seed() no longer needed in go v1.20
        according to https://tip.golang.org/doc/go1.20#math/rand
        The math/rand package now automatically seeds the global random number generator
        with a random value, and the top-level Seed function has been deprecated
    * benchmark/vochain: fix 'this value of processID is never used'
    * rpcclient/util: use crypto/rand.Int instead of deprecated math/rand.Intn
    altergui committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    915c918 View commit details
    Browse the repository at this point in the history