This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
Releases: ipfs/js-ipfs
Releases · ipfs/js-ipfs
v0.31.0
v0.30.1
v0.30.0
Bug Fixes
- allow put empty block & add X-Stream-Output header on get (#1408) (52f7aa7)
- broken contributing links (#1386) (cd449ff)
- do not stringify output of object data (#1398) (4e51a69)
- dag: fix default hash algorithm for put() api (#1419) (1a36375), closes /github.com/ipld/js-ipld/blob/d3d78e053ebd3f8c85a8b5579715be8812773d4d/src/index.js#L236-L239
- dag: make options in
put
API optional (#1415) (d299ed7), closes #1395 - tests: loosen assertion for bitswap.stat test (#1404) (4290256)
- update hlsjs-ipfs-loader version (#1422) (6b14812)
Features
- (BREAKING CHANGE) new libp2p configuration (#1401) (9c60909)
- expose libp2p connection manager configuration options (#1410) (2615f76)
- implement bitswap.wantlist peerid and bitswap.unwant (#1349) (45b705d)
- mfs implementation (#1360) (871d24e), closes #1425
- modular interface tests (#1389) (18888be)
- pin API (#1045) (2a5cc5e), closes #1249
Performance Improvements
BREAKING CHANGES
-
libp2p configuration has changed
- old:
libp2p.modules.discovery
- new:
libp2p.modules.peerDiscovery
- old:
License: MIT
Signed-off-by: David Dias mail@daviddias.me
License: MIT
Signed-off-by: Alan Shaw alan@tableflip.io
v0.29.3
v0.29.2
v0.29.1
v0.29.0
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
- Argument order for
pubsub.subscribe
has changed:- Old:
pubsub.subscribe(topic, [options], handler, [callback]): Promise
- New:
pubsub.subscribe(topic, handler, [options], [callback]): Promise
- Old:
- 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
- Old:
- Property names on response objects for
ping
are now lowered:- Old:
{ Success, Time, Text }
- New:
{ success, time, text }
- Old:
- In the CLI,
jsipfs object data
no longer returns a newline after the end of the returned data
v0.28.2
v0.28.1
v0.28.0
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
ipfs version
flags +ipfs repo version
(#1181) (#1188) (494da7f)- Add /ip6 addresses to bootstrap (3bca165), closes #706
- all pubsub tests passing with libp2p pubsub (6fe015f)
- Bootstrap API compliance (#1218) (9a445d1)
- Implementation of the ipfs.key API (#1133) (d945fce)
- improved multiaddr validation. (d9744a1)
- ipfs shutdown (#1200) (95365fa)
- jsipfs ls -r (Recursive list directory) (#1222) (0f1e00f)
- latest libp2p + other deps. Fix bugs in tests along the way (4b79066)
- reworking tests with new ipfsd-ctl (#1167) (d16a129)
- stats API (stats.bitswap and stats.repo) (#1198) (905bdc0)
- support Jenkins (bc66e9f)
- use PubSub API directly from libp2p (6b9fc95)
- use reduces keysize (#1232) (7f69628)