You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
libp2p uses the new multiformats line and ships a smaller bundle
🔦 Highlights
🆕 Multiformats update
We updated to the new multiformats stack, removing older multiformats modules that are no longer maintained. This is a library defining common interfaces and low level building blocks for various interrelated multiformat technologies (multicodec, multihash, multibase, and CID). They can be used to implement custom base encoders / decoders / codecs, codec encoders /decoders and multihash hashers that comply to the interface that layers above assume.
Thanks to @achingbrain for PRing all the libp2p modules ❤️
🔒 libp2p-noise updated
The new version of libp2p-noise is now faster and results in smaller bundles for applications built on top of libp2p. In short, bcrypto was replaced was by some of the goodies stablelib provides in an isolated fashion.
~27% decrease on its bundle size, from 191.5kb to 141.2kb (minified+gzipped), which represents a full bundle size decrease by ~10% in js-ipfs
~46% speed improvement
NEW:
handshake x 39.97 ops/sec ±4.98% (67 runs sampled)
Done in 6.04s.
OLD:
handshake x 27.23 ops/sec ±4.57% (67 runs sampled)
Done in 6.10s.
Take a snapshot between of everyone that has contributed to this release (including its subdeps in IPFS, libp2p, IPLD and multiformats) using name-your-contributors. Generate a nice markdown list with this script
The best place to ask your questions about libp2p, how it works and what you can do with it is at discuss.libp2p.io. We are also available at the #libp2p channel on Freenode.
The text was updated successfully, but these errors were encountered:
🔦 Highlights
🆕 Multiformats update
We updated to the new multiformats stack, removing older multiformats modules that are no longer maintained. This is a library defining common interfaces and low level building blocks for various interrelated multiformat technologies (multicodec, multihash, multibase, and CID). They can be used to implement custom base encoders / decoders / codecs, codec encoders /decoders and multihash hashers that comply to the interface that layers above assume.
Thanks to @achingbrain for PRing all the libp2p modules ❤️
🔒 libp2p-noise updated
The new version of libp2p-noise is now faster and results in smaller bundles for applications built on top of libp2p. In short, bcrypto was replaced was by some of the goodies stablelib provides in an isolated fashion.
~27% decrease on its bundle size, from 191.5kb to 141.2kb (minified+gzipped), which represents a full bundle size decrease by ~10% in js-ipfs
~46% speed improvement
Thanks to @mpetrun5 and @mpetrunic ❤️
Types
libp2p-tcp
andlibp2p-bootstrap
export types now 🎉 You can see the current state in #659Thanks to @nazarhussain and @acolytec3 for getting these in ❤️
🏗 API Changes
https://github.com/libp2p/js-libp2p/blob/master/doc/migrations/v0.31-v0.32.md
✅ Release Checklist
name-your-contributors
. Generate a nice markdown list with this script❤️ Huge thank you to everyone that made this release possible
In alphabetical order, here are all the humans that contributed to the release:
🙌🏽 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:
help wanted
label in the libp2p repoThe best place to ask your questions about libp2p, how it works and what you can do with it is at discuss.libp2p.io. We are also available at the #libp2p channel on Freenode.
The text was updated successfully, but these errors were encountered: