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

Releases: ipfs/js-ipfs

v0.31.0

29 Jul 09:17
581816a
Compare
Choose a tag to compare

Bug Fixes

Features

Reverts

v0.30.1

17 Jul 13:55
86d46f4
Compare
Choose a tag to compare

Bug Fixes

v0.30.0

09 Jul 16:17
539323c
Compare
Choose a tag to compare

Bug Fixes

Features

Performance Improvements

BREAKING CHANGES

  • libp2p configuration has changed

    • old: libp2p.modules.discovery
    • new: libp2p.modules.peerDiscovery

License: MIT
Signed-off-by: David Dias mail@daviddias.me

License: MIT
Signed-off-by: Alan Shaw alan@tableflip.io

v0.29.3

04 Jun 09:34
38cb1b8
Compare
Choose a tag to compare

Bug Fixes

  • repo: do not hang on calls to repo gc (9fff46f)

v0.29.2

01 Jun 15:57
aec6f68
Compare
Choose a tag to compare

Bug Fixes

  • adds missing breaking changes for 0.29 to changelog (#1370) (61ba99e)
  • dont fail on uninitialized repo (#1374) (6f0a95b)

v0.29.1

30 May 09:35
ef88831
Compare
Choose a tag to compare

Bug Fixes

  • check for repo uninitialized error (dcf5ea5)
  • update ipfs-repo errors require (4d1318d)

v0.29.0

29 May 11:50
0fc3a7f
Compare
Choose a tag to compare

For a human written version of this changelog, check the Release Highlights at
#1320

Bug Fixes

  • Add ipfs path to cli help (64c3bfb)
  • change ^ to ~ on 0.x.x deps (#1345) (de95989)
  • change default config from JSON file to JS module to prevent having it doubly used (#1324) (c3d2d1e), closes #1316
  • changes peer prop in return value from swarm.peers to be a PeerId (#1252) (e174866)
  • configure webpack to not use esmodules in dependencies (4486acc)
  • Display error when using unkown cli option (a849d2f)
  • docker init script sed in non existent file (#1246) (75d47c3)
  • files.add with pull streams (0e601a7)
  • make pubsub.unsubscribe async and alter pubsub.subscribe signature (a115829)
  • remove unused var (#1273) (c1e8db1)
  • typo (#1367) (2679129)
  • use async/setImmediate vs process.nextTick (af55608)

Features

  • .stats.bw* - Bandwidth Stats (#1230) (9694925)
  • add ability to files.cat with a cid instance (2e332c8)
  • Add support for specifying hash algorithms in files.add (a2954cb)
  • allow dht to be enabled via cli arg (#1340) (7bb838f)
  • Allows for byte offsets when using ipfs.files.cat and friends to request slices of files (a93971a)
  • Circuit Relay (#1063) (f7eaa43)
  • cli: add IPFS_PATH info to init command help (#1274) (e189b72)
  • handle SIGHUP (7a817cf)
  • ipfs.ping cli, http-api and core (#1342) (b8171b1)
  • jsipfs add --only-hash (#1233) (#1266) (bddc5b4)
  • Provide access to bundled libraries when in browser (#1297) (4905c2d)
  • use class-is for type checks (5b2cf8c)
  • wrap with directory (#1329) (47285a7)

Performance Improvements

  • cli: load only sub-system modules and inline require ipfs (3820be0)

BREAKING CHANGES

  1. Argument order for pubsub.subscribe has changed:
    • Old: pubsub.subscribe(topic, [options], handler, [callback]): Promise
    • New: pubsub.subscribe(topic, handler, [options], [callback]): Promise
  2. The pubsub.unsubscribe method has become async meaning that it now takes a callback or returns a promise:
    • Old: pubsub.unsubscribe(topic, handler): undefined
    • New: pubsub.unsubscribe(topic, handler, [callback]): Promise
  3. Property names on response objects for ping are now lowered:
    • Old: { Success, Time, Text }
    • New: { success, time, text }
  4. In the CLI, jsipfs object data no longer returns a newline after the end of the returned data

v0.28.2

14 Mar 14:01
Compare
Choose a tag to compare

Bug Fixes

  • match error if repo doesnt exist (#1262) (aea69d3)
  • reinstates the non local block check in dht.provide (#1250) (5b736a8)

Features

v0.28.1

09 Mar 11:18
Compare
Choose a tag to compare

Bug Fixes

v0.28.0

01 Mar 14:59
Compare
Choose a tag to compare

Bug Fixes

  • cli: show help for subcommands (8c63f8f)
  • (cli/init) use cross-platform path separator (bbb7cc5)
  • dag: print data in a readable way if it is JSON (42545dc)
  • bootstrap (d527b45)
  • now properly fix bootstrap in core (9f39a6f)
  • Remove scape characteres from error message. (68e7b5a)
  • Return swarm http errors as json (d3a0ae1), closes #1176
  • stats tests (a0fd355)
  • use "ipld" instead of "ipld-resolver" (e7f0432)

Features