Skip to content

Latest commit

 

History

History
2337 lines (944 loc) · 77.9 KB

CHANGELOG.md

File metadata and controls

2337 lines (944 loc) · 77.9 KB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

0.153.0 (2021-12-15)

Bug Fixes

chore

Features

BREAKING CHANGES

  • 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 to null
  • ipfs.dag.put no longer accepts a format arg, it is now storeCodec and inputCodec. '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)

Bug Fixes

  • dag: replace custom dag walk with multiformats/traversal (#3950) (596b1f4)
  • override hashing algorithm when importing files (#4042) (709831f), closes #3952

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • ipfs-core-types bumped from ^0.10.0 to ^0.10.1

0.154.0 (2022-01-27)

⚠ BREAKING CHANGES

  • peerstore methods are now all async, the repo is migrated to v12
  • node 15+ is required

Features

Bug Fixes

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • ipfs-core-types bumped from ^0.9.0 to ^0.10.0

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)

Bug Fixes

  • 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

BREAKING CHANGES

  • errors will now be thrown if multiple items are passed to ipfs.add or single items to ipfs.addAll (n.b. you can still pass a list of a single item to ipfs.addAll)

0.151.1 (2021-09-28)

Note: Version bump only for package interface-ipfs-core

0.151.0 (2021-09-24)

Features

BREAKING CHANGES

  • the globSource api has changed from globSource(dir, opts) to globSource(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)

Bug Fixes

0.150.1 (2021-08-25)

Note: Version bump only for package interface-ipfs-core

0.150.0 (2021-08-17)

Bug Fixes

Features

0.149.0 (2021-08-11)

Bug Fixes

Features

BREAKING CHANGES

  • rateIn/rateOut are returned as numbers
  • the output type of ipfs.get has changed and the recursive option has been removed from ipfs.ls since it was not supported everywhere

0.148.0 (2021-07-27)

Bug Fixes

Features

BREAKING CHANGES

  • 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)

Features

0.146.1 (2021-06-05)

Bug Fixes

  • stalling subscription on (node) http-client when daemon is stopped (#3468) (0266abf), closes #3465

0.146.0 (2021-05-26)

Features

  • allow passing the id of a network peer to ipfs.id (#3386) (00fd709)

0.145.1 (2021-05-11)

Bug Fixes

0.145.0 (2021-05-10)

Bug Fixes

chore

Features

  • support identity hash in block.get + dag.get (#3616) (28ad9ad)

BREAKING CHANGES

  • 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)

Bug Fixes

0.144.1 (2021-02-08)

Note: Version bump only for package interface-ipfs-core

0.144.0 (2021-02-01)

Bug Fixes

chore

Features

  • support remote pinning services in ipfs-http-client (#3293) (ba240fd)

BREAKING CHANGES

  • 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)

chore

Features

BREAKING CHANGES

Co-authored-by: Hugo Dias [email protected]

0.142.3 (2020-12-16)

Bug Fixes

0.142.2 (2020-11-25)

Note: Version bump only for package interface-ipfs-core

0.142.1 (2020-11-16)

Bug Fixes

  • 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)

Features

0.141.0 (2020-10-28)

Bug Fixes

Features

BREAKING CHANGES

  • 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)

Bug Fixes

Features

0.139.1 (2020-08-24)

Bug Fixes

  • validate ipns records with inline public keys (#3224) (5cc0e08)

0.139.0 (2020-08-12)

Bug Fixes

Features

BREAKING CHANGES

  • remove support for key.export over the http api

0.138.0 (2020-07-16)

Bug Fixes

  • optional arguments go in the options object (#3118) (8cb8c73)

Features

  • 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)

Features

0.136.0 (2020-06-05)

Features

0.135.1 (2020-05-29)

Note: Version bump only for package interface-ipfs-core

0.135.0 (2020-05-18)

Bug Fixes

Features

0.134.3 (2020-05-05)

Note: Version bump only for package interface-ipfs-core

0.134.2 (2020-05-05)

Bug Fixes

0.134.1 (2020-04-28)

Bug Fixes

0.134.0 (2020-04-16)

Bug Fixes

BREAKING CHANGES

  • 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

0.133.0 (2020-03-31)

Bug Fixes

  • avoid throw error when use readme code (#2934) (b18f6e1)
  • dont include util.textencoder in the browser (#2919) (3207e3b)

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.

0.132.0 (2020-02-09)

Bug Fixes

0.131.7 (2020-02-03)

Bug Fixes

  • only expect no multiaddrs if node is in-proc webworker (4e25b4f)

0.131.6 (2020-02-03)

Bug Fixes

  • use go for webworker tests (3a96093)

0.131.5 (2020-02-03)

Bug Fixes

  • do not spawn go nodes with webrtc swarm addresses (c633d08)

0.131.4 (2020-02-02)

Bug Fixes

  • use js for pubsub tests as before (ade2145)

0.131.3 (2020-02-02)

Bug Fixes

  • spawn dialable nodes when testing with webworkers (df7cb3a)

0.131.2 (2020-02-01)

Bug Fixes

  • fix swarm peer tests for electron (ac7cedf)

0.131.1 (2020-01-31)

Bug Fixes

0.131.0 (2020-01-31)

Bug Fixes

  • do not assume certain implementations of ipfs are present (#584) (3d24911)

0.130.0 (2020-01-29)

Code Refactoring

BREAKING CHANGES

  • Where PeerIDs 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)

Bug Fixes

  • handle err on both start and stop echo-server (#569) (d25c6f6)

Features

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)

Bug Fixes

0.120.0 (2019-11-19)

Bug Fixes

0.119.0 (2019-11-11)

0.118.0 (2019-11-06)

Features

0.117.2 (2019-10-05)

0.117.1 (2019-10-05)

0.117.0 (2019-10-04)

Documentation

  • add dry-run config test and change new/old for original/updated (e206aa7)

BREAKING CHANGES

  • ipfs.config.profiles.apply now returns original/updated keys in the diff because using new stops us from destructuring in js.

0.116.0 (2019-10-04)

Features

  • add test for listing config profiles (142a373)

0.115.3 (2019-10-04)

0.115.2 (2019-10-04)

Bug Fixes

  • 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)

Bug Fixes

0.113.1 (2019-09-13)

Bug Fixes

  • make pubsub unsubscribe tests work in electron renderer (eedfe3d)

0.113.0 (2019-09-05)

Bug Fixes

  • package: update ipfs-utils to version 0.1.0 (#521) (56caa89)

0.112.0 (2019-09-03)

Bug Fixes

0.111.1 (2019-08-30)

Bug Fixes

  • change cp and mv tests to the current spec (#515) (b107e57)

0.111.0 (2019-08-28)

0.110.0 (2019-08-27)

Bug Fixes

  • reduce the number of concurrent requests in browser (#505) (7596634)

0.109.1 (2019-08-06)

0.109.0 (2019-07-26)

Bug Fixes

0.108.1 (2019-07-25)

Bug Fixes

  • 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)

Features

0.107.3 (2019-07-16)

0.107.2 (2019-07-16)

Bug Fixes

  • pin.ls ignored opts when hash was present (#375) (be72ed6)

0.107.1 (2019-07-11)

0.107.0 (2019-07-11)

Bug Fixes

0.106.0 (2019-07-05)

0.105.1 (2019-07-03)

Bug Fixes

  • wait for one key to be the required key not all (#490) (acea55f)

0.105.0 (2019-06-20)

Features

0.104.2 (2019-05-31)

0.104.1 (2019-05-31)

Bug Fixes

0.104.0 (2019-05-24)

0.103.0 (2019-05-21)

0.102.0 (2019-05-16)

Features

  • add tests for add data using File DOM api (#461) (86a1f3f)

0.101.1 (2019-05-16)

Bug Fixes

0.101.0 (2019-05-15)

0.100.1 (2019-05-13)

Reverts

0.100.0 (2019-05-08)

0.99.2 (2019-04-08)

0.99.1 (2019-04-04)

Bug Fixes

0.99.0 (2019-03-13)

Bug Fixes

  • 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)

Bug Fixes

0.97.0 (2019-02-19)

Bug Fixes

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)

Bug Fixes

0.92.0 (2018-12-12)

Bug Fixes

0.91.1 (2018-12-11)

Bug Fixes

0.91.0 (2018-12-10)

Bug Fixes

0.90.0 (2018-12-05)

0.89.0 (2018-12-03)

Bug Fixes

0.88.0 (2018-11-27)

0.87.0 (2018-11-26)

0.86.0 (2018-11-12)

Features

  • move regular files api to top level, add addFromFs and addFromURL (#378) (3dc7278)

0.85.0 (2018-11-12)

Bug Fixes

  • updates ipld-dag-pb dep to version without .cid properties (#388) (b8f7b9a)

0.84.3 (2018-10-31)

Bug Fixes

  • 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)

Bug Fixes

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)

Bug Fixes

0.78.0 (2018-09-20)

Bug Fixes

0.77.1 (2018-09-05)

Bug Fixes

0.77.0 (2018-08-28)

Bug Fixes

0.76.1 (2018-08-16)

Bug Fixes

0.76.0 (2018-08-10)

Features

0.75.2 (2018-08-09)

Bug Fixes

  • 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)

Bug Fixes

  • ensure test for resolve recursive has another node (#346) (09c2637)

0.75.0 (2018-08-06)

Bug Fixes

  • expect config to be an object (#344) (eca00b9)
  • more time for CI to resolve recursively (79b747e)

0.74.1 (2018-08-06)

Bug Fixes

  • give more time for teardown after resolve (#345) (1db498f)

0.74.0 (2018-08-02)

Features

0.73.0 (2018-08-02)

0.72.1 (2018-07-16)

Bug Fixes

0.72.0 (2018-07-05)

0.71.0 (2018-07-03)

Bug Fixes

  • revert to serialized pubsub operations (#319) (4b5534e)

0.70.3 (2018-07-03)

Bug Fixes

0.70.2 (2018-06-29)

0.70.1 (2018-06-27)

Bug Fixes

  • allow null skip for subsystems (5df855c)

0.70.0 (2018-06-27)

Features

  • modularise tests by command, add tools to skip and only (#290) (e232d8c)

BREAKING CHANGES

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:

  1. 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).
  2. The ipfs.ls tests (not MFS ipfs.files.ls) is now a root level suite. You'll need to import it and use like tests.ls(createCommon) to have those tests run.
  3. The generic suite (an alias to miscellaneous) 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)

Bug Fixes

  • do not rely on discovery for ping tests (3acd6fd), closes #310

0.69.0 (2018-06-22)

0.68.2 (2018-06-19)

Bug Fixes

  • increase bitswap setup timeout for CI (5886445)

0.68.1 (2018-06-18)

Bug Fixes

  • removes error code checks for bitswap offline tests (b152856)

0.68.0 (2018-06-18)

Bug Fixes

  • improve bitswap wantlist and unwant docs (7737546)
  • linting errors (fcc834c)
  • removes duplicated TOC for pubsub (a358cf7)

Features

  • 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)

Bug Fixes

  • wait for put in object.patch.addLink before hook (31c52d1)

0.66.3 (2018-05-25)

Bug Fixes

  • correctly differentiate pong responses (688f4d7)

0.66.2 (2018-05-18)

Bug Fixes

0.66.1 (2018-05-17)

Bug Fixes

  • 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)

Bug Fixes

Features

  • 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)

Bug Fixes

  • 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)

Bug Fixes

  • Typos on bundled libraries pull request (2972426)

Features

Performance Improvements

  • pubsub: Change pubsub tests to do lighter load testing (90a1520)

0.64.2 (2018-04-23)

0.64.1 (2018-04-23)

Bug Fixes

  • this.skip needs to be under a function declaration (2545ddd)

0.64.0 (2018-04-23)

Features

0.63.0 (2018-04-23)

Features

  • 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)

Bug Fixes

  • fix wrapWithDirectory test (a97c087)

0.60.0 (2018-04-05)

Features

  • Provide access to bundled libraries when in browser (db83b50)

0.59.0 (2018-04-03)

Features

  • add wrapWithDirectory to files.add et al (03eec9e)

0.58.0 (2018-03-22)

Bug Fixes

0.57.0 (2018-03-16)

0.56.6 (2018-03-16)

0.56.5 (2018-03-16)

Bug Fixes

  • 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)

Bug Fixes

0.56.0 (2018-03-12)

Features

  • complete files.stat with the 'with-local' option (#227) (5969fed)

0.55.1 (2018-03-09)

Bug Fixes

  • files.add accepts object (88a635a)

0.55.0 (2018-03-09)

Bug Fixes

  • only skip if it is go-ipfs on Windows (0df216f)

0.54.0 (2018-03-07)

Bug Fixes

  • 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)

Bug Fixes

  • adapt dag tests to current environment (7a6fc5f)
  • bwPullStream example (59bd7ac)

0.52.0 (2018-02-15)

Features

0.51.0 (2018-02-15)

Bug Fixes

Features

  • bootstrap: add the spec (427338e)

0.50.1 (2018-02-14)

Bug Fixes

  • add pointer to files-mfs tests (6bc22c9)

0.50.0 (2018-02-14)

Features

  • factor out mfs tests to separate file (91666ca)

0.49.2 (2018-02-14)

Bug Fixes

  • remove unnecessary console.log (e27d3e0)

0.49.1 (2018-02-12)

Bug Fixes

0.49.0 (2018-02-12)

Bug Fixes

0.48.0 (2018-02-07)

0.47.0 (2018-02-07)

Features

  • add stats.bwPullStream and stats.bwReadableStream (#211) (4421eb2)

0.46.0 (2018-02-02)

0.45.0 (2018-02-02)

0.44.0 (2018-02-02)

Features

0.43.0 (2018-01-25)

0.42.1 (2018-01-25)

Bug Fixes

0.42.0 (2018-01-25)

Bug Fixes

Features

0.41.1 (2018-01-19)

Bug Fixes

0.41.0 (2018-01-19)

Features

0.40.0 (2018-01-12)

0.39.0 (2018-01-10)

0.38.0 (2018-01-05)

Features

0.37.0 (2017-12-28)

0.36.16 (2017-12-18)

Bug Fixes

0.36.15 (2017-12-12)

Bug Fixes

0.36.14 (2017-12-12)

0.36.13 (2017-12-10)

Features

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)

Bug Fixes

  • pubsub: swarm connect to local servers (#175) (09d9573)

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)

Bug Fixes

  • pubsub: topicCIDs should be topicIDs (#169) (d357f5f)

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)

Bug Fixes

0.33.1 (2017-10-22)

0.33.0 (2017-10-22)

0.32.1 (2017-10-18)

Bug Fixes

  • make tests consistent across js-ipfs/go-ipfs (#158) (a5a4c37)

0.32.0 (2017-10-18)

Features

0.31.19 (2017-09-04)

Bug Fixes

  • remove superfluous console.logs (442ea74)