-
Notifications
You must be signed in to change notification settings - Fork 459
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
fix: remove stream add/remove methods from connection interface #1912
Conversation
should this be a breaking change? |
These methods are more prevalent than I thought. Going to close for now and maybe open this or another pr later. |
20c6680
to
1479ca3
Compare
I've converted it to a draft to avoid unnecessary notifications, feel free to re-open once you feel it ready for review. |
c9f0ab4
to
451cb19
Compare
451cb19
to
d8cee9d
Compare
remove (add|remove)Stream from connection interface remove (add|remove)Stream use from interface-compliance-tests remove (add|remove)Stream from libp2p connection methods remove (add|remove)Stream from libp2p upgrader methods remove ts-sinon dependency from interface-compliance-tests
d8cee9d
to
1fe698b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@maschad because methods were removed from a public API this is a breaking change. I have updated the issue description to use a commit override. |
BEGIN_COMMIT_OVERRIDE
fix!: remove stream add/remove methods from connection interface
addStream
andremoveStream
are internal methods that do not need to be part of the public API.They are called internally on the connection implementation by the upgrader and do not need to be exposed to end users.
Closes #1855
BREAKING CHANGE: the addStream and removeStream methods have been removed from the connection interface
END_COMMIT_OVERRIDE