Skip to content

1.6.0 - IPLD protocol, fixed `pubsub://`

Compare
Choose a tag to compare
@github-actions github-actions released this 18 Aug 21:16
· 137 commits to master since this release

Added support for the new ipld:// protocol which exposes the raw data model of IPFS.
You can now use GET ipld://cid/ to get raw data and auto translate it between codecs with the Accept header or the ?format search parameter.
This also means that you can view the raw data from an IPFS CID by passing it to IPLD.

On a similar vein, the pubsub:// protocol has been fixed so you can now use new EventSource('pubsub://topic_here?format=json') to subscribe to a stream of events, and use fetch('pubsub://topic_here/, {method: 'POST', body: JSON.stringify({some:"data"}}})` to publish data to the network.