Skip to content
New issue

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

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

Already on GitHub? # to your account

Release v5.0.0 #125

Merged
merged 1 commit into from
Feb 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/libp2p/go-yamux/v4
module github.com/libp2p/go-yamux/v5

go 1.22

Expand Down
7 changes: 7 additions & 0 deletions session_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1867,3 +1867,10 @@ func TestMaxIncomingStreams(t *testing.T) {
_, err = str.Read([]byte{0})
require.NoError(t, err)
}

func TestErrorCodeErrorIsErrStreamReset(t *testing.T) {
se := &StreamError{}
require.True(t, errors.Is(se, ErrStreamReset))
ge := &GoAwayError{}
require.True(t, errors.Is(ge, ErrStreamReset))
}
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "v4.0.2"
"version": "v5.0.0"
}