js-ipfs 0.31.0 released

by Alan Shaw on 2018-07-29

Restoring IPFS magic one alakazam at a time…no we’re not talking pokemon.

🔦 Highlights

🧚 Connectivity Magic

Recent infrastructure changes to the nodes IPFS runs as gateways meant that they couldn’t be used as bootstrapper nodes. This was bad news bears for js-ipfs since it doesn’t yet have a DHT to discover content. So not being able to connect to the nodes that have a lot of the content meant the chances of js-ipfs finding content on the network took a turn for the worse.

Good news though! Brand new dedicated nodes have been provisioned that are connected to the gateway nodes and can be used by js-ipfs to bootstrap itself as well as, get this, preload content you add to IPFS! That’s right, when you add stuff to your IPFS, the preload nodes are prompted to slerp it up automatically so that it can be shared instantly with other IPFS nodes on the network.

🌿 Raw Leaves

Raw leaves are much healthier for you because they don’t lose their vitamins during the cooking process. Seriously though. They’re great if you want to stream raw data (like video) out of your IPFS without the overhead of unpacking protobufs. They’re also useful when you need to put your data in a data store that only deals with raw data, like a URL.

We have these now! Just pass --raw-leaves=true when adding content to IPFS and leaves of the DAG(s) you create will contain just the raw data.

🏗 API Changes

🙌🏽 Want to contribute?

Would you like to contribute to the IPFS 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 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.