All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
0.13.0 (2021-12-15)
- always close writer so iterator throws on error (#3980) (d147494)
- pubsub: multibase in pubsub http rpc (#3922) (6eeaca4)
- return nested value from dag.get (#3966) (45ac973), closes #3957
- use peer store for id (#3973) (adde8c1)
- dht client (#3947) (62d8ecb)
- improve collected metrics (#3978) (33f1034)
- 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.12.2 (2021-11-24)
Note: Version bump only for package ipfs-core
0.12.1 (2021-11-19)
0.12.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.11.1 (2021-09-28)
Note: Version bump only for package ipfs-core
0.11.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.10.8 (2021-09-17)
0.10.7 (2021-09-17)
Note: Version bump only for package ipfs-core
0.10.6 (2021-09-08)
Note: Version bump only for package ipfs-core
0.10.5 (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.10.4 (2021-08-25)
Note: Version bump only for package ipfs-core
0.10.3 (2021-08-17)
Note: Version bump only for package ipfs-core
0.10.1 (2021-08-17)
- pass correct types to libp2p dht methods (#3806) (5c8da9a), closes #3502
- pin nanoid version (#3807) (474523a)
- use correct datastores (#3820) (479e09e)
0.10.0 (2021-08-11)
- do not write blocks we already have (#3801) (4f532a5)
- return rate in/out as number (#3798) (2f3df7a), closes #3782
- 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.9.1 (2021-07-30)
- restore default level-js options (#3779) (8380d71)
- typo in 'multiformats' type defs (#3778) (1bf35f8)
0.9.0 (2021-07-27)
- make "ipfs resolve" cli command recursive by default (#3707) (399ce36), closes #3692
- root datastore extension (#3768) (62311f8)
- round bandwidth stats (#3735) (58fb802), closes #3726
- 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.8.0 (2021-06-18)
0.7.1 (2021-06-05)
0.7.0 (2021-05-26)
0.6.1 (2021-05-11)
0.6.0 (2021-05-10)
- do not republish self key twice (#3634) (8545a76)
- fix types (#3662) (0fe8892)
- mark ipld options as partial (#3669) (f98af8e)
- only accept cid for ipfs.dag.get (#3675) (bb8f8bc), closes #3637
- update ipfs repo (#3671) (9029ee5)
- update types after feedback from ceramic (#3657) (0ddbb1b), closes #3640
- 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.5.4 (2021-03-10)
Note: Version bump only for package ipfs-core
0.5.3 (2021-03-09)
0.5.2 (2021-02-08)
0.5.1 (2021-02-02)
Note: Version bump only for package ipfs-core
0.5.0 (2021-02-01)
- enable upnp nat hole punching (#3426) (65dc161)
- support remote pinning services in ipfs-http-client (#3293) (ba240fd)
- ipfs-repo upgrade requires repo migration to v10
0.4.2 (2021-01-22)
Note: Version bump only for package ipfs-core
0.4.1 (2021-01-20)
Note: Version bump only for package ipfs-core
0.4.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.3.1 (2020-12-16)
- export IPFS type (#3447) (cacbfc6), closes #3439
- 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.3.0 (2020-11-25)
0.2.1 (2020-11-16)
- ensure correct progress is reported (#3384) (633d870)
- report ipfs.add progress over http (#3310) (39cad4b)
0.2.0 (2020-11-09)
- cache preloaded CIDs (#3363) (b5ea76a), closes #3307
- typedef resolution & add examples that use types (#3359) (dc2795a), closes #3356 #3358
- pass file name to add/addAll progress handler (#3372) (69681a7), closes ipfs/js-ipfs-unixfs#87
- remove all esoteric ipld formats (#3360) (a542882), closes #3347
- only dag-pb, dag-cbor and raw formats are supported out of the box, any others will need to be configured during node startup.
- files ls should return string (#3352) (16ecc74), closes #3345 #2939 #3330 #2948
- remove buffer export from ipfs-core (#3348) (5cc6dfe), closes #3312
- use fetch in electron renderer and electron-fetch in main (#3251) (639d71f)
- enable custom formats for dag put and get (#3347) (3250ff4)
- remove support for SECIO (#3295) (5f5ef7e)
- type check & generate defs from jsdoc (#3281) (bbcaf34)
- 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]
Buffer
is no longer exported from core- this removes support for SECIO making Noise the only security transport.
Closes ipfs/js-ipfs#3210
Co-authored-by: achingbrain [email protected]