Skip to content

Commit

Permalink
Release v5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sukunrt committed Feb 7, 2025
1 parent c76f5d7 commit 5f269a6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
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"
}

0 comments on commit 5f269a6

Please sign in to comment.