Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

ipfs@0.42.0

Compare
Choose a tag to compare
@achingbrain achingbrain released this 31 Mar 09:35
· 820 commits to master since this release

0.42.0 (2020-03-31)

Bug Fixes

  • add default args for ipfs.add (#2950) (a01f5b6)
  • add default for cid base and fix cid version override (d951993)
  • dont include util.textencoder in the browser (#2919) (3207e3b)
  • error when command is unknown (#2916) (743a7fc)
  • multiaddr validation to add peer id for listening (#2833) (78cbec1)
  • only start prometheus metrics in one place (#2954) (d52a41e), closes #2019
  • reuse columns value from process.stdout (e8646d8)
  • tag stdin with mtime and mode when piping to cli 'add' (#2832) (8c97de1), closes #2763

chore

  • move mfs and multipart files into core (#2811) (82b9e08)
  • update dep version and ignore interop test for raw leaves (#2747) (6376cec)

Features

BREAKING CHANGES

  • When the path passed to ipfs.files.stat(path) was a hamt sharded dir, the resovled
    value returned by js-ipfs previously had a type property of with a value of
    'hamt-sharded-directory'. To bring it in line with go-ipfs this value is now
    'directory'.
  • Files that fit into one block imported with either --cid-version=1
    or --raw-leaves=true previously returned a CID that resolved to
    a raw node (e.g. a buffer). Returned CIDs now resolve to a dag-pb
    node that contains a UnixFS entry. This is to allow setting metadata
    on small files with CIDv1.