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

⚡️ 0.24 RELEASE 🚀 #249

Closed
15 tasks done
jacobheun opened this issue Sep 19, 2018 · 6 comments
Closed
15 tasks done

⚡️ 0.24 RELEASE 🚀 #249

jacobheun opened this issue Sep 19, 2018 · 6 comments
Assignees

Comments

@jacobheun
Copy link
Contributor

jacobheun commented Sep 19, 2018

Delegated Peer/Content Routing Support and improved control of Libp2p nodes are coming!

🗺 What's left for release

🔦 Highlights

🚦 Custom Content/Peer Routing Support

Libp2p will now support custom content and peer routers, which will enable users to better customize their DHT experience. The new release allows for using the new Delegated Peer Routing and Delegated Content Routing modules to leverage an external nodes DHT instead of or in conjunction with their own. This enables nodes in more resource restricted environments to use an external DHT instead of running their own, which can be very resource intensive.

🔌 Relay enabled by default

In an effort to improve default connectivity, circuit relay is now enabled by default. Hop is still disabled by default to prevent relaying traffic for other nodes out of the box, as this is expensive for the node. By enabling circuit relay by default, nodes will now be able to accept and dial to other circuit relay nodes. This improves a nodes default ability to communicate in isolated environments.

🤖 State Machine

Libp2p is now a state machine. When starting and stopping the node you can now listen for the stop and start events. Libp2p also exposes a new method, dialFSM, which calls back with a Connection State Machine. This gives users the ability to listen to more events on individual connections. You can find out more about these events in libp2p-switch readme.

🏗 API Changes

  • Added method dialFSM(peer, protocol, callback) which allows users to hook into more connection level activity. You can read more about in the readme.
  • Libp2p now emits start and stop events on node start and stop respectively.
    • Callbacks for .start() and .stop() are now optional. You can instead listen to the error, start, and stop events.

✅ Release Checklist

  • Robustness and quality
    • Ensure that all tests are passing, this includes:
      • unit
    • Run tests of the following projects with the new release:
  • Documentation
    • Ensure that README.md is up to date
    • Ensure that all the examples run
  • Communication
    • Create the release issue
    • Announcements (both pre-release and post-release)
      • Twitter
      • IRC
      • Reddit
    • Blog post

🙌🏽 Want to contribute?

Would you like to contribute to the libp2p project and don't know how? Well, there are a few places you can get started:

⁉️ Do you have questions?

The best place to ask your questions about libp2p, how it works and what you can do with it is at discuss.ipfs.io. We are also available at the #libp2p channel on Freenode.

@daviddias daviddias added the status/ready Ready to be worked label Sep 24, 2018
@jacobheun jacobheun self-assigned this Oct 19, 2018
@jacobheun jacobheun added status/in-progress In progress and removed status/ready Ready to be worked labels Oct 19, 2018
@jacobheun
Copy link
Contributor Author

jacobheun commented Oct 22, 2018

Release Candidate 0.24.0-rc.1 has been published to npm and can be installed via npm i libp2p@next. We'll be doing integration testing this week to make sure there are no regression issues.

@daviddias
Copy link
Member

What's the ETA on this one?

@jacobheun
Copy link
Contributor Author

I'm fixing some issues with the examples and working on a dependency issue with libp2p-spdy. This should get released tomorrow at the latest!

@jacobheun jacobheun mentioned this issue Nov 14, 2018
4 tasks
@jacobheun
Copy link
Contributor Author

Release candidate 0.24.0-rc.3 has been published to npm and can be installed via npm i libp2p@next. If you run into issues, let us know. This should be fully backwards compatible with 0.23.

@jacobheun
Copy link
Contributor Author

0.24 is out! https://ipfs.io/blog/55-js-libp2p-0-24/

@ghost ghost removed the status/in-progress In progress label Nov 16, 2018
@daviddias
Copy link
Member

@jacobheun @vasco-santos mind following up with agoric-labs/PlaygroundVat#8 given that the 0.24 released happened? :)

maschad pushed a commit to maschad/js-libp2p that referenced this issue Jun 21, 2023
This was incorrectly logging as a timeout when it should be logging
a close.

Also updates end event log for consistency with the other logging.
maschad pushed a commit to maschad/js-libp2p that referenced this issue Jun 21, 2023
## [6.1.1](libp2p/js-libp2p-tcp@v6.1.0...v6.1.1) (2023-01-26)

### Bug Fixes

* update log message when socket closes ([libp2p#249](libp2p/js-libp2p-tcp#249)) ([f95bbf1](libp2p/js-libp2p-tcp@f95bbf1))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants