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

Breaking API changes and other feedback requests #3202

Open
thomaseizinger opened this issue Dec 7, 2022 · 9 comments
Open

Breaking API changes and other feedback requests #3202

thomaseizinger opened this issue Dec 7, 2022 · 9 comments
Labels
tracking-issue Issues which are the entry point to bigger projects.

Comments

@thomaseizinger
Copy link
Contributor

I am opening this issue to provide a central place that users of rust-libp2p can subscribe to for potential breaking changes and other feedback requests that the rust-libp2p maintainers might have. The idea is that we (@libp2p/rust-libp2p-maintainers) post a link to a discussion, comment, pull request or issue with a short description as a comment under this issue. This will trigger a notification to every subscribed person and allow them to weigh in on the discussion if it concerns them.

Please refrain from discussing within this issue itself but use emoji reactions instead to indicate your thoughts (if you want to):

  • 🚀 I've read the discussion and I support the idea.
  • 👀 I've read the discussion and I am ambivalent about it.
  • 👎 I've read the discussion and I disagree: Please weigh in on the linked discussion itself so we can iterate on the idea.
@thomaseizinger
Copy link
Contributor Author

Tagging an initial list of users that I am aware of: @rkuhn @divagant-martian @dignifiedquire @melekes @da-kami @DieracDelta @austinabell @jolestar

@thomaseizinger
Copy link
Contributor Author

I'd like to get some feedback on an idea that involves a breaking API change on SwarmEvent: Removing the THandlerErr type parameter and always boxing up the handler error instead. See #3201.

@thomaseizinger thomaseizinger pinned this issue Dec 7, 2022
@jolestar
Copy link
Contributor

jolestar commented Dec 7, 2022

Tagging an initial list of users that I am aware of: @rkuhn @divagant-martian @dignifiedquire @melekes @da-kami @DieracDelta @austinabell @jolestar

add @sanlee42

@thomaseizinger
Copy link
Contributor Author

We are considering removing the handler from the ConnectionClosed event without a replacement: #3046 (comment)

Currently, this functionality can be used to extract some final information from the handler after a connection got closed. We are wondering whether anyone actually uses this functionality and whether that usecase could perhaps be modeled differently.

Please weigh in on the linked issue with your opinion.

@thomaseizinger
Copy link
Contributor Author

thomaseizinger commented Dec 12, 2022

A call-for-testing: We have just released libp2p-yamux 0.43.0-alpha. It is compatible with libp2p 0.50.0 but contains large internal refactorings.

We would very much appreciate it if folks could run this version on their network and tell us if it breaks anything (the expectation is that it does not). You should be able to just drop it in your dependencies and import yamux from that crate instead of via libp2p::yamux.

See #3013 for more details.

Thank you!

@thomaseizinger
Copy link
Contributor Author

A call-for-testing: We have just released libp2p-yamux 0.43.0-alpha. It is compatible with libp2p 0.50.0 but contains large internal refactorings.

We would very much appreciate it if folks could run this version on their network and tell us if it breaks anything (the expectation is that it does not). You should be able to just drop it in your dependencies and import yamux from that crate instead of via libp2p::yamux.

See #3013 for more details.

Thank you!

Has anyone had a chance to deploy this to a live network? 🙏

@thomaseizinger
Copy link
Contributor Author

thomaseizinger commented Jan 22, 2023

We are considering to drastically cut down the number of errors that are reported to a ConnectionHandler. See #3353 (comment). We imagine users to welcome this change as it should simplify a lot of code.

Please speak up if the proposed change would break something for you.

@thomaseizinger
Copy link
Contributor Author

We are considering to add tracing to libp2p to capture contextual information around connections: #1533

Please speak up if this would break something for you.

@thomaseizinger
Copy link
Contributor Author

Any async-std users amongst our users? I'd be interested to know why and whether moving libp2p to tokio-only would be a problem for you: #4286

@thomaseizinger thomaseizinger changed the title Tracking issue for breaking API changes and other feedback requests Breaking API changes and other feedback requests Sep 19, 2023
@thomaseizinger thomaseizinger added the tracking-issue Issues which are the entry point to bigger projects. label Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tracking-issue Issues which are the entry point to bigger projects.
Projects
None yet
Development

No branches or pull requests

2 participants