Releases: nftstorage/ipfs-cluster
Releases · nftstorage/ipfs-cluster
v3.1.1
- Allows for setting all possible options when calling
add
oraddDirectory
. See https://github.com/nftstorage/ipfs-cluster/blob/72f2862ce946ebf35acd0d8cf816be9a6e24b916/index.d.ts#L54-L95 (previously onlyPinOptions
were available).
v3.0.1
- Disables output streaming when adding directories to fix a problem with IPFS Clusters hosted behind an nginx reverse proxy. Currently if any response is received before the request has finished uploading then nginx doesn't know how to deal with that and terminates the connection. What this means is that if you upload a small file then a big file the request will fail whereas a big file followed by a small file might succeed.
- Note: the code buffers the output so there is no need to stream or have the complexity of a newline delimited parser to deal with it.
v3.0.0
- Establishes hash consistency between files added to IPFS and files added to Cluster
- A file added to IPFS like
ipfs add file --cid-version=1
should now have the same hash as a file added to cluster likecluster.add(file)
. - See ipfs-cluster/ipfs-cluster#1358 for further information.
- A file added to IPFS like