All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
0.153.0 (2021-12-15)
- pubsub: multibase in pubsub http rpc (#3922) (6eeaca4)
- return nested value from dag.get (#3966) (45ac973), closes #3957
- dht client (#3947) (62d8ecb)
- update DAG API to match [email protected] changes (#3917) (38c01be)
- pubsub: We had to make breaking changes to
pubsub
commands sent over HTTP RPC to fix data corruption caused by topic names and payload bytes that included\n
. More details in ipfs/kubo#7939 and ipfs/kubo#8183 - On decode of CBOR blocks,
undefined
values will be coerced tonull
ipfs.dag.put
no longer accepts aformat
arg, it is nowstoreCodec
andinputCodec
.'json'
has become'dag-json'
,'cbor'
has become'dag-cbor'
and so on- The DHT API has been refactored to return async iterators of query events
0.154.1 (2022-02-06)
- dag: replace custom dag walk with multiformats/traversal (#3950) (596b1f4)
- override hashing algorithm when importing files (#4042) (709831f), closes #3952
- The following workspace dependencies were updated
- dependencies
- ipfs-core-types bumped from ^0.10.0 to ^0.10.1
- dependencies
0.154.0 (2022-01-27)
- peerstore methods are now all async, the repo is migrated to v12
- node 15+ is required
- The following workspace dependencies were updated
- dependencies
- ipfs-core-types bumped from ^0.9.0 to ^0.10.0
- dependencies
0.152.2 (2021-11-24)
Note: Version bump only for package interface-ipfs-core
0.152.1 (2021-11-19)
Note: Version bump only for package interface-ipfs-core
0.152.0 (2021-11-12)
- do not accept single items for ipfs.add (#3900) (04e3cf3)
- do not lose files when writing files into subshards that contain other subshards (#3936) (8a3ed19), closes #3921
- errors will now be thrown if multiple items are passed to
ipfs.add
or single items toipfs.addAll
(n.b. you can still pass a list of a single item toipfs.addAll
)
0.151.1 (2021-09-28)
Note: Version bump only for package interface-ipfs-core
0.151.0 (2021-09-24)
- the globSource api has changed from
globSource(dir, opts)
toglobSource(dir, pattern, opts)
- There are no default exports and everything is now dual published as ESM/CJS
0.150.4 (2021-09-17)
Note: Version bump only for package interface-ipfs-core
0.150.3 (2021-09-17)
Note: Version bump only for package interface-ipfs-core
0.150.2 (2021-09-02)
- declare types in .ts files (#3840) (eba5fe6)
- remove client-side timeout from http rpc calls (#3178) (f11220e), closes #3161
- remove use of instanceof for CID class (#3847) (ebbb12d)
0.150.1 (2021-08-25)
Note: Version bump only for package interface-ipfs-core
0.150.0 (2021-08-17)
- pin nanoid version (#3807) (474523a)
- throw error on missing input to add/addAll (#3818) (1343708), closes #3788
0.149.0 (2021-08-11)
- rateIn/rateOut are returned as numbers
- the output type of
ipfs.get
has changed and therecursive
option has been removed fromipfs.ls
since it was not supported everywhere
0.148.0 (2021-07-27)
- fix flaky pubsub test (#3761) (8bcf56f)
- flaky timeout test (#3767) (55afc2f)
- make "ipfs resolve" cli command recursive by default (#3707) (399ce36), closes #3692
- implement dag import/export (#3728) (700765b), closes #2953 #2745
- upgrade to the new multiformats (#3556) (d13d15f)
- resolve is now recursive by default
Co-authored-by: Alex Potsides [email protected]
- ipld-formats no longer supported, use multiformat BlockCodecs instead
Co-authored-by: Rod Vagg [email protected] Co-authored-by: achingbrain [email protected]
0.147.0 (2021-06-18)
0.146.1 (2021-06-05)
0.146.0 (2021-05-26)
0.145.1 (2021-05-11)
0.145.0 (2021-05-10)
- mark ipld options as partial (#3669) (f98af8e)
- only accept cid for ipfs.dag.get (#3675) (bb8f8bc), closes #3637
- all core api methods now have types, some method signatures have changed, named exports are now used by the http, grpc and ipfs client modules
0.144.2 (2021-03-09)
0.144.1 (2021-02-08)
Note: Version bump only for package interface-ipfs-core
0.144.0 (2021-02-01)
- ipfs-repo upgrade requires repo migration to v10
0.143.1 (2021-01-20)
Note: Version bump only for package interface-ipfs-core
0.143.0 (2021-01-15)
- add grpc server and client (#3403) (a9027e0), closes #2519 #2838 #2943 #2854 #2864
- allow passing a http.Agent to the grpc client (#3477) (c5f0bc5), closes #3474
- The websocket transport will only dial DNS+WSS addresses - see https://github.com/libp2p/js-libp2p-websockets/releases/tag/v0.15.0
Co-authored-by: Hugo Dias [email protected]
0.142.3 (2020-12-16)
- fix ipfs.ls() for a single file object (#3440) (f243dd1)
- regressions introduced by new releases of CID & multicodec (#3442) (b5152d8), closes /github.com/multiformats/js-cid/commit/0e11f035c9230e7f6d79c159ace9b80de88cb5eb#diff-25a6634263c1b1f6fc4697a04e2b9904ea4b042a89af59dc93ec1f5d44848a26
0.142.2 (2020-11-25)
Note: Version bump only for package interface-ipfs-core
0.142.1 (2020-11-16)
- align behaviour between go and js for content without paths (#3385) (334873d)
- ensure correct progress is reported (#3384) (633d870)
- report ipfs.add progress over http (#3310) (39cad4b)
0.142.0 (2020-11-09)
- pass file name to add/addAll progress handler (#3372) (69681a7), closes ipfs/js-ipfs-unixfs#87
0.141.0 (2020-10-28)
- files ls should return string (#3352) (16ecc74), closes #3345 #2939 #3330 #2948
- use fetch in electron renderer and electron-fetch in main (#3251) (639d71f)
- types returned by
ipfs.files.ls
are now strings, in line with the docs but different to previous behaviour
Co-authored-by: Geoffrey Cohler [email protected]
0.140.0 (2020-09-03)
- add protocol list to ipfs id (#3250) (1b6cf60)
- ipns publish example (#3207) (91faec6)
- store pins in datastore instead of a DAG (#2771) (64b7fe4)
- update hapi to v20 (#3245) (1aeef89)
0.139.1 (2020-08-24)
0.139.0 (2020-08-12)
- remove support for key.export over the http api
0.138.0 (2020-07-16)
- add interface and http client versions to version output (#3125) (65f8b23), closes #2878
- store blocks by multihash instead of CID (#3124) (03b17f5)
0.137.0 (2020-06-24)
0.136.0 (2020-06-05)
0.135.1 (2020-05-29)
Note: Version bump only for package interface-ipfs-core
0.135.0 (2020-05-18)
- fixes browser script tag example (#3034) (ee8b769), closes #3027
- remove node globals (#2932) (d0d2f74)
- typeof bug when passing timeout to dag.get (#3035) (026a542)
0.134.3 (2020-05-05)
Note: Version bump only for package interface-ipfs-core
0.134.2 (2020-05-05)
0.134.1 (2020-04-28)
0.134.0 (2020-04-16)
- make http api only accept POST requests (#2977) (943d4a8)
- pass timeout arg to server (#2979) (049f085)
-
Where we used to accept all and any HTTP methods, now only POST is accepted. The API client will now only send POST requests too.
-
test: add tests to make sure we are post-only
-
chore: upgrade ipfs-utils
-
fix: return 405 instead of 404 for bad methods
-
fix: reject browsers that do not send an origin
Also fixes running interface tests over http in browsers against js-ipfs
0.133.1 (2020-04-08)
Note: Version bump only for package interface-ipfs-core
- avoid throw error when use readme code (#2934) (b18f6e1)
- dont include util.textencoder in the browser (#2919) (3207e3b)
- move mfs and multipart files into core (#2811) (82b9e08)
- update dep version and ignore interop test for raw leaves (#2747) (6376cec)
- When the path passed to
ipfs.files.stat(path)
was a hamt sharded dir, the resovled value returned by js-ipfs previously had atype
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 adag-pb
node that contains a UnixFS entry. This is to allow setting metadata on small files with CIDv1.
0.132.0 (2020-02-09)
0.131.7 (2020-02-03)
- only expect no multiaddrs if node is in-proc webworker (4e25b4f)
0.131.6 (2020-02-03)
- use go for webworker tests (3a96093)
0.131.5 (2020-02-03)
- do not spawn go nodes with webrtc swarm addresses (c633d08)
0.131.4 (2020-02-02)
- use js for pubsub tests as before (ade2145)
0.131.3 (2020-02-02)
- spawn dialable nodes when testing with webworkers (df7cb3a)
0.131.2 (2020-02-01)
- fix swarm peer tests for electron (ac7cedf)
0.131.1 (2020-01-31)
- fix up peer test (0b80a20)
0.131.0 (2020-01-31)
0.130.0 (2020-01-29)
- Where
PeerID
s were previously CIDs, now they are Strings
ipfs.bitswap.stat().peers[n]
is now a String (was a CID)ipfs.dht.findPeer().id
is now a String (was a CID)ipfs.dht.findProvs()[n].id
is now a String (was a CID)ipfs.dht.provide()[n].id
is now a String (was a CID)ipfs.dht.put()[n].id
is now a String (was a CID)ipfs.dht.query()[n].id
is now a String (was a CID)ipfs.id().id
is now a String (was a CID)ipfs.id().addresses[n]
are now Multiaddrs (were Strings)
0.129.0 (2020-01-23)
0.128.0 (2020-01-22)
0.127.0 (2020-01-11)
0.126.0 (2020-01-09)
0.125.0 (2019-12-11)
0.124.1 (2019-12-10)
0.124.0 (2019-12-02)
0.123.0 (2019-11-27)
0.122.0 (2019-11-26)
0.121.0 (2019-11-19)
0.120.0 (2019-11-19)
0.119.0 (2019-11-11)
0.118.0 (2019-11-06)
0.117.2 (2019-10-05)
0.117.1 (2019-10-05)
0.117.0 (2019-10-04)
- add dry-run config test and change new/old for original/updated (e206aa7)
ipfs.config.profiles.apply
now returnsoriginal
/updated
keys in the diff because usingnew
stops us from destructuring in js.
0.116.0 (2019-10-04)
- add test for listing config profiles (142a373)
0.115.3 (2019-10-04)
0.115.2 (2019-10-04)
- configure chai for use by other modules (77c8be9)
- make invalid url actually invalid (30a84fb)
- test setting boolean configs keys on boolean fields (d937fc1)
0.115.1 (2019-10-01)
0.115.0 (2019-09-25)
0.114.0 (2019-09-16)
0.113.1 (2019-09-13)
- make pubsub unsubscribe tests work in electron renderer (eedfe3d)
0.113.0 (2019-09-05)
0.112.0 (2019-09-03)
0.111.1 (2019-08-30)
0.111.0 (2019-08-28)
0.110.0 (2019-08-27)
0.109.1 (2019-08-06)
0.109.0 (2019-07-26)
0.108.1 (2019-07-25)
- reword resolve test with async/await (#504) (3f7410a)
- use the correct option name for files.ls long (#502) (ed4988d)
0.108.0 (2019-07-17)
0.107.3 (2019-07-16)
0.107.2 (2019-07-16)
0.107.1 (2019-07-11)
0.107.0 (2019-07-11)
0.106.0 (2019-07-05)
0.105.1 (2019-07-03)
0.105.0 (2019-06-20)
0.104.2 (2019-05-31)
0.104.1 (2019-05-31)
- dht tests (#486) (2952672)
- use cidVersion option (#484) (e00eb4a)
- package: update async to version 3.0.1 (#481) (b60fe33)
0.104.0 (2019-05-24)
0.103.0 (2019-05-21)
0.102.0 (2019-05-16)
0.101.1 (2019-05-16)
0.101.0 (2019-05-15)
0.100.1 (2019-05-13)
0.100.0 (2019-05-08)
0.99.2 (2019-04-08)
0.99.1 (2019-04-04)
0.99.0 (2019-03-13)
- don't expect ipfs to preserve a leading slash (#440) (d3ad40b)
- ls files sizes for compat with go-ipfs 0.4.19 (#449) (2ef1480), closes #427
0.98.1 (2019-03-13)
0.98.0 (2019-02-26)
0.97.1 (2019-02-19)
0.97.0 (2019-02-19)
- add new SSL certificate (#432) (fe539e6)
- add test for dag get with localResolve option (#433) (44d4803)
0.96.1 (2019-01-15)
0.96.0 (2019-01-14)
0.95.0 (2019-01-04)
0.94.0 (2018-12-16)
0.93.0 (2018-12-14)
0.92.0 (2018-12-12)
0.91.1 (2018-12-11)
0.91.0 (2018-12-10)
- another typo (87bcd68)
- typos (e7b8697)
- update dht responses (#389) (c4bea6f)
- Updated link in README (#411) (81a5798)
0.90.0 (2018-12-05)
0.89.0 (2018-12-03)
0.88.0 (2018-11-27)
0.87.0 (2018-11-26)
0.86.0 (2018-11-12)
0.85.0 (2018-11-12)
0.84.3 (2018-10-31)
- we cant rely on error messages yet, not standardized (fdb4998)
0.84.2 (2018-10-31)
0.84.1 (2018-10-31)
0.84.0 (2018-10-31)
0.83.0 (2018-10-30)
0.82.0 (2018-10-30)
0.81.0 (2018-10-29)
0.80.0 (2018-10-18)
0.79.0 (2018-10-15)
0.78.0 (2018-09-20)
- example links in miscellaneous spec section (#364) (45e8142)
- test for buffer with options (#370) (d456245)
0.77.1 (2018-09-05)
- bitswap.stat docs (#355) (f146e1b)
- block CID links (#356) (9c4d6e1)
- block stat return value key (1e02740)
- ipfs.io now should be resolved recursively (#362) (d80d3a3)
0.77.0 (2018-08-28)
0.76.1 (2018-08-16)
- allow retries for DNS test due to dependence on external services (#352) (5b3f5a8)
- typo (b9dc12a)
- typo (2fbf551)
0.76.0 (2018-08-10)
0.75.2 (2018-08-09)
- spec/dag: fix wrong example output for sha3-512 hash algorithm (#347) (bfdda8a), closes #307
- update error messages in line with go (#348) (a173a42)
0.75.1 (2018-08-06)
0.75.0 (2018-08-06)
0.74.1 (2018-08-06)
0.74.0 (2018-08-02)
- dht: add API to allow options in
findprovs()
(#337) (99f74f5), closes /github.com/ipfs/js-ipfs/issues/1322#issuecomment-385336102
0.73.0 (2018-08-02)
0.72.1 (2018-07-16)
0.72.0 (2018-07-05)
0.71.0 (2018-07-03)
0.70.3 (2018-07-03)
- allow passing only to suites with skip lists (#321) (c47c4ce)
- allow skip with object but no reason (#318) (ef91026)
- license (#312) (8fa3e98)
0.70.2 (2018-06-29)
0.70.1 (2018-06-27)
- allow null skip for subsystems (5df855c)
0.70.0 (2018-06-27)
- Consumers of this test suite now have fine grained control over what tests are run. Tests can now be skipped and "onlyed" (run only specific tests). This can be done on a test, command and sub-system level. See the updated usage guide for instructions: https://github.com/ipfs/js-ipfs/blob/master/packages/interface-ipfs-core/README.md#usage.
This means that tests skips depending on implementation (e.g. go/js), environment (e.g. node/browser) or platform (e.g. macOS/linux/windows) that were previously present in this suite have been removed. Consumers of this library should add their own skips based on the implementation that's being tested and the environment/platform that the tests are running on.
The following other breaking changes have been made:
- The common object passed to test suites has changed. It must now be a function that returns a common object (same shape and functions as before).
- The
ipfs.ls
tests (not MFSipfs.files.ls
) is now a root level suite. You'll need to import it and use liketests.ls(createCommon)
to have those tests run. - The
generic
suite (an alias tomiscellaneous
) has been removed.
See ipfs-inactive/interface-js-ipfs-core#290 for more details.
License: MIT Signed-off-by: Alan Shaw [email protected]
0.69.1 (2018-06-26)
0.69.0 (2018-06-22)
0.68.2 (2018-06-19)
- increase bitswap setup timeout for CI (5886445)
0.68.1 (2018-06-18)
- removes error code checks for bitswap offline tests (b152856)
0.68.0 (2018-06-18)
- improve bitswap wantlist and unwant docs (7737546)
- linting errors (fcc834c)
- removes duplicated TOC for pubsub (a358cf7)
- add bitswap.unwant javascript spec (df4e677)
- add bitswap.unwant javascript spec (d75a361)
- add bitswap.unwant javascript spec (c291ca9)
- add peerId param to bitswap.wantlist (9f81bcb)
0.67.0 (2018-06-04)
0.66.4 (2018-05-30)
- wait for put in object.patch.addLink before hook (31c52d1)
0.66.3 (2018-05-25)
- correctly differentiate pong responses (688f4d7)
0.66.2 (2018-05-18)
- spawn in series (d976699)
0.66.1 (2018-05-17)
- increase timeouts (9cba111)
- remove .only (45fab1c)
- wait until nodes are connected before starting ping tests (1b60f24)
- pubsub: clear interval on error (d074e13)
0.66.0 (2018-05-16)
0.65.9 (2018-05-16)
- add utils to spawn multiple nodes and get their ID (e77a2f6)
0.65.8 (2018-05-15)
0.65.7 (2018-05-15)
0.65.6 (2018-05-15)
0.65.5 (2018-05-12)
0.65.4 (2018-05-11)
0.65.3 (2018-05-11)
0.65.2 (2018-05-11)
0.65.1 (2018-05-11)
0.65.0 (2018-05-11)
- many fixes for pubsub tests with new async unsubscribe (2019c45)
- pubsub subscribe call with options (c43f8bc)
- remove .only (251cffd)
- remove duplicate async.each (f798597)
0.64.3 (2018-05-06)
- Typos on bundled libraries pull request (2972426)
- pubsub: Change pubsub tests to do lighter load testing (90a1520)
0.64.2 (2018-04-23)
0.64.1 (2018-04-23)
- this.skip needs to be under a function declaration (2545ddd)
0.64.0 (2018-04-23)
0.63.0 (2018-04-23)
- adds pull stream tests for files.add (d75986a)
0.62.0 (2018-04-14)
0.61.0 (2018-04-10)
0.60.1 (2018-04-05)
- fix wrapWithDirectory test (a97c087)
0.60.0 (2018-04-05)
- Provide access to bundled libraries when in browser (db83b50)
0.59.0 (2018-04-03)
- add wrapWithDirectory to files.add et al (03eec9e)
0.58.0 (2018-03-22)
- wrong description (bad70ac)
0.57.0 (2018-03-16)
0.56.6 (2018-03-16)
0.56.5 (2018-03-16)
- go-ipfs has not shipped withLocal yet (58b1fe2)
0.56.4 (2018-03-16)
0.56.3 (2018-03-16)
0.56.2 (2018-03-16)
0.56.1 (2018-03-16)
- don't error to specific (ec16016)
- fix broken stat tests (#236) (fcb8341), closes /github.com/ipfs/interface-ipfs-core/commit/c4934ca0b3b43f5bfc1ff5dd38f85d945d3244de#diff-0a6449ecfa8b9e3d807f53dde24eca71R66
0.56.0 (2018-03-12)
0.55.1 (2018-03-09)
- files.add accepts object (88a635a)
0.55.0 (2018-03-09)
- only skip if it is go-ipfs on Windows (0df216f)
0.54.0 (2018-03-07)
- fixes doc and adds test assertion that peer is a PeerId in return value from swarm.peers (#230) (db530d7)
0.53.0 (2018-03-07)
0.52.0 (2018-02-15)
0.51.0 (2018-02-15)
- bootstrap add test (df01cc5)
- bootstrap: add the spec (427338e)
0.50.1 (2018-02-14)
- add pointer to files-mfs tests (6bc22c9)
0.50.0 (2018-02-14)
- factor out mfs tests to separate file (91666ca)
0.49.2 (2018-02-14)
- remove unnecessary console.log (e27d3e0)
0.49.1 (2018-02-12)
- remove .only (44cdaed)
0.49.0 (2018-02-12)
0.48.0 (2018-02-07)
0.47.0 (2018-02-07)
0.46.0 (2018-02-02)
0.45.0 (2018-02-02)
0.44.0 (2018-02-02)
- ipfs.shutdown test (#214) (e911c6c)
- Link stats.repo and stats.bitswap (#210) (0c40084)
- shutdown spec (9d91267)
0.43.0 (2018-01-25)
0.42.1 (2018-01-25)
0.42.0 (2018-01-25)
0.41.1 (2018-01-19)
0.41.0 (2018-01-19)
0.40.0 (2018-01-12)
0.39.0 (2018-01-10)
0.38.0 (2018-01-05)
0.37.0 (2017-12-28)
0.36.16 (2017-12-18)
0.36.15 (2017-12-12)
0.36.14 (2017-12-12)
0.36.13 (2017-12-10)
0.36.12 (2017-12-05)
0.36.11 (2017-11-26)
0.36.10 (2017-11-25)
0.36.9 (2017-11-23)
0.36.8 (2017-11-22)
0.36.7 (2017-11-20)
0.36.6 (2017-11-20)
0.36.5 (2017-11-20)
0.36.4 (2017-11-17)
0.36.3 (2017-11-17)
0.36.2 (2017-11-17)
0.36.1 (2017-11-17)
0.36.0 (2017-11-17)
0.35.0 (2017-11-16)
0.34.3 (2017-11-14)
0.34.2 (2017-11-13)
0.34.1 (2017-11-13)
0.34.0 (2017-11-13)
0.33.2 (2017-11-09)
0.33.1 (2017-10-22)
0.33.0 (2017-10-22)
0.32.1 (2017-10-18)
0.32.0 (2017-10-18)
0.31.19 (2017-09-04)
- remove superfluous console.logs (442ea74)