This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🤖 I have created a release *beep* *boop*
0.1.0 (2022-01-25)
⚠ BREAKING CHANGES
pubsub
commands sent over HTTP RPC to fix data corruption caused by topic names and payload bytes that included\n
. More details in Pubsub subscription data encoding kubo#7939 and fix: multibase in pubsub http rpc kubo#8183undefined
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 onipfs.add
or single items toipfs.addAll
(n.b. you can still pass a list of a single item toipfs.addAll
)globSource(dir, opts)
toglobSource(dir, pattern, opts)
ipfs.get
has changed and therecursive
option has been removed fromipfs.ls
since it was not supported everywhereipfs.files.ls
are now strings, in line with the docs but different to previous behaviourBuffer
is no longer exported from coreformat
option is no longer supported as everything isdag-pb
all of the time.dag-pb
yet we allow passingdag-cbor
as the format of IPLD node to use. This is likely to break anything that uses it as tools expect IPFS stuff to bedag-pb
, possibly withraw
leaves.HTTPError
s which carry aresponse
property. This is aResponse
that can be used to inspect all information relating to the HTTP response. This means that theerr.status
orerr.statusCode
property should now be accessed viaerr.response.status
.src/files-regular
have moved tosrc
. Thesrc/files-mfs
directory has been renamed tosrc/files
. If you were previously requiring files from these directories e.g.require('ipfs-http-client/src/files-regular/add')
then please be aware that they have moved.ipfs.config.profiles.list
example.recursive
is nowtrue
by default inipfs resolve
pubsub.enabled: true
instead ofEXPERIMENTAL.pubsub: true
or via the CLI pass--enable-pubsub
instead of--enable-pubsub-experiment
tojsipfs daemon
./index.html
when accessing a directory/
instead of redirecting to/index.html
.base32
.{ ref, err }
not{ Ref, Err }
ipld-dag-pb
,ipld-dag-cbor
andipld-raw
IPLD codecs. Other codecs should be added manually, see https://github.com/ipfs/js-ipfs/blob/master/README.md#optionsipld for details.null
values or unknown properties.--local
option has been renamed to--offline
big.js
instances now returnbignumber.js
instances.big.js
instances now returnbignumber.js
instances.ipfs-api
library has been renamed toipfs-http-client
.add*
,cat*
,get*
have moved fromfiles
to the root namespace.add*
,cat*
,get*
have moved fromfiles
to the root namespace.ipld-dag-cbor
andipld-dag-pb
modules are re-exported so that can be accessed within the Browser bundle. Those modules normally don't need to be used directly, they are kind of implementation details of IPLD. Hence remove them.ipld-dag-cbor
andipld-dag-pb
modules are re-exported so that can be accessed within the Browser bundle. Those modules normally don't need to be used directly, they are kind of implementation details of IPLD. Hence remove them.libp2p.modules.peerDiscovery
Features
ipfs version
flags +ipfs repo version
(#1181) (#1188) (494da7f)--enable-preload
to enable/disable preloading for daemons (#1909) (9470900)addFromFs
method (#1777) (7315aa1)ipfs repo stat --human
. (#2609) (f81086c)dag put
anddag resolve
cli commands (#2521) (8759bf8)findprovs()
(#337) (99f74f5)