short tl;dr; of the release
Bitswap is now 30% thanks to fixing a bug on js-ipfs-bitswap that was causing every message to be sent individually.
The duck typing throughout js-ipfs has been improved and that means that now you can use uglify-es again to minify your js-ipfs code. The result is that the js-ipfs bundled version is now back to its minified size as well.
Circuit Relay enables connectivity between any two nodes through a third relay node. This ensures connectivity in almost every scenario, that is, as long as peers can connect to some public IP node. Learn how to use it here. This was one of the two features that js-ipfs was missing to get full connectivity.
Ever wished you could use an external storage backend to store all your IPFS blocks? Now you do and we got a tutorial for you! See how to configure a repo at https://github.com/ipfs/js-ipfs/tree/master/examples/custom-ipfs-repo and if you want to learn how to use S3 as your external backend, then consult https://github.com/ipfs/js-datastore-s3/tree/master/examples/full-s3-repo.
The js-ipfs README keeps improving, now with 40% more information about the multiple arguments you can pass to IPFS. Read all the options at https://github.com/ipfs/js-ipfs#api
If you haven't already, I welcome you to check how the js-ipfs team tracks their work at https://github.com/ipfs/js-ipfs/blob/master/MGMT.md. It is fun to see the issues fly through the waffle board.
In addition to better documentation on how to configure your node, you now get some config validation in case you mistype something. Also as a bonus, you can now spin multiple nodes in the same process without them getting confused and using the same config.
Make yourself familiar with the IPFS Core API at https://github.com/ipfs/interface-ipfs-core/tree/master/SPEC. New additions include files.add --wrapWithDirectory, --onlyHash and others.
Bandwidth statistics for your IPFS node from the libp2p layer are now exposed and available to query for the whole node, per peer or per protocol. You can also use Node streams or pull streams to get a continuous feed of that tasty statistical juice.
Writing in Progress
JS IPFS now has API calls for pinging other peers. Fun fact, this was actually the first thing a js-ipfs node did, but it got lost in a massive refactor and now it is back and not only in js-ipfs core, it is also available through the CLI and HTTP API
Writing in Progress
ref: https://github.com/ipfs/js-ipfs/pull/1351
pubsub.subscribe has changed:pubsub.subscribe(topic, [options], handler, [callback]): Promisepubsub.subscribe(topic, handler, [options], [callback]): Promisepubsub.unsubscribe method has become async meaning that it now takes a callback or returns a promise:pubsub.unsubscribe(topic, handler): undefinedpubsub.unsubscribe(topic, handler, [callback]): Promiseping are now lowered:{ Success, Time, Text }{ success, time, text }jsipfs object data no longer returns a newline after the end of the returned dataWould you like to contribute to the IPFS project and don't know how? Well, there are a few places you can get started:
help wanted label at the Ready column in our waffle board - https://waffle.io/ipfs/js-ipfs?label=help%20wantedThe best place to ask your questions about IPFS, how it works and what you can do with it is at discuss.ipfs.io. We are also available at the #ipfs channel on Freenode.
@diasdavid
Can we add the link to the circuit relay example to the its respective section?
Something like this:
Circuit Relay enables connectivity between any two nodes through a third relay node. This ensures connectivity in almost every scenario, that is, as long as peers can connect to some public IP node. Learn how to use it here. This was one of the two features that js-ipfs was missing to get full connectivity.
@dryajov of course! Added in :)
Most helpful comment
Release published!
https://twitter.com/daviddias/status/1001432008302694400