Releases: storacha/ipfs-car
Releases · storacha/ipfs-car
v0.5.6
chore: release v0.5.6 (#78)
v0.5.5
chore: release v0.5.5 (#75)
v0.5.4
chore: release v0.5.4 (#72)
v0.5.2
chore: release v0.5.2 (#66)
v0.5.1
chore: release v0.5.1 (#60)
v0.5.0
chore: use ipfs-unixfs final release instead of fork (#56)
BREAKING CHANGE: We rely now on an extended version of the new ipfs blockstore interface to be compatible with the new ipfs-unixfs. Previously unixfs was using a simple block API from ipld which returned blocks everywhere, while now put returns a void Promise and get returns the bytes instead of the Block. Destroy was also renamed to close to be the same as the interface. The only addition in the interface is the blocks async iterator function. All the blocktore implementations extend BlockstoreAdapter to have all the API expected by the interface.
fix: always wrap in directory on pack (#57)
v0.4.3
chore: release v0.4.3 (#55)
v0.4.2
chore: release v0.4.2 (#53)
v0.4.0
- feat: add unpackStream
Takes an AsyncIterable and yields UnixFSEntries.
import fs from 'fs'
import { unpackStream } from 'ipfs-car/unpack'
const inStream = fs.createReadStream(`${process.cwd()}/output.car`)
const files = []
for await (const file of unpackStream(inStream)) {
// Iterate over files
}
v0.3.4
chore: release v0.3.4 (#42)