* chore: bump go.mod to Go 1.20 and run go fix
* chore: bump go.mod to Go 1.20 and run go fix
* chore: bump go.mod to Go 1.20 and run go fix
* chore: bump go.mod to Go 1.20 and run go fix
* chore: bump go.mod to Go 1.20 and run go fix
* fix: stop using the deprecated io/ioutil package
* chore: bump go.mod to Go 1.20 and run go fix
* chore: revert go fixes to go generated files
* chore: add or force update .github/workflows/go-test.yml
* chore: add or force update .github/workflows/go-check.yml
* chore: add or force update .github/workflows/releaser.yml
* chore: add or force update .github/workflows/release-check.yml
* chore: add or force update .github/workflows/tagpush.yml
* chore: restore modifications introduced during review
---------
Co-authored-by: galargh <piotr.galar@gmail.com>
* Small changes for new quic-go API
* Update quic-go dependency
* Manually bump Go version in go-test
* Don't run examples in Go 1.21 yet
Revert this commit when we release a new go-libp2p version compatible
with Go 1.21
* update quic-go to v0.37.5
---------
Co-authored-by: Marco Munizaga <git@marcopolo.io>
* Update go.mod files
* Update to new quic-go API
* More renaming
* Add test back in
* Workaround quic-go#3947
* Fix transitive dep
* Use own pointer to packetConn
* Update to quic-go v0.36.2
* Remove workaround
* Embed quic.Transport
* Downgrade qtls-go1-20
* Rename ConnManager.metricsTracer to mt
* Close transport after test ends
* Close conn when transport closes
* Return better error
* Avoid conflicts with parallel tests
* Skip conn assert on windows
* Add metrics tracer back in
* Don't use tracers here
* Add comment to WriteTo
* Finish renaming conn -> transport where appropriate
* Back out unrelated change
* One more rename
* Revert "websocket: don't set a WSS multiaddr for accepted unencrypted conns (#2199)"
This reverts commit eeb685f68f.
* Revert "websocket: Don't limit message sizes in the websocket reader (#2193)"
This reverts commit 2fe6600ca4.
* Revert "websocket: Replace gorilla websocket transport with nhooyr websocket transport (#1982)"
* websocket: don't set a WSS multiaddr for accepted unencrypted conns
* bump go.mod to Go 1.19 and run go fix
* stop using the deprecated io/ioutil package
* bump go.mod to Go 1.19 and run go fix
* bump go.mod to Go 1.19 and run go fix
* bump go.mod to Go 1.19 and run go fix
* stop using the deprecated io/ioutil package
* bump go.mod to Go 1.19 and run go fix
* stop using the deprecated io/ioutil package
* update .github/workflows/go-test.yml
* update .github/workflows/go-check.yml
* update .github/workflows/release-check.yml
* various fixes
* stop using deprecated math/rand.Read
---------
Co-authored-by: web3-bot <web3-bot@users.noreply.github.com>
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
* Replace OpenCensus with Prometheus Go SDK
Allows for much more efficient metric collecting
* PR comments
* Try a different way of testing noallocs
* CI fiddling
* CI fiddling
* Undo debug change
* Return early
* Debug
* Try AllocsPerRun
* Try gosched in noop
* Use AllocsPerRun
* Try without cover
* Use tag
* Revert "Try without cover"
This reverts commit e91b1e8f0d0ffbe6842a37925eb72e0177bf0773.
* Cleanup debug code
* Use global string slice pool
* Change PeerStore interface to use protocol.ID
This reduces the string to protocol.ID translations happening
at various places in the code
* Fix misc cases of protocol.ID conversion
* Merge multistream changes
* Use protocol.ID in network.ConnectionState
* don't update examples
* fix error message tests
* merge new go-multistream changes
* update test-plans go mod
* change transport back to string