This repository was archived by the owner on Feb 12, 2024. It is now read-only.
  
  
  
  
chore: release js-ipfs 0.1.0 #4026
                
     Closed
            
            
          
  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
pubsubcommands 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#8183undefinedvalues will be coerced tonullipfs.dag.putno longer accepts aformatarg, it is nowstoreCodecandinputCodec.'json'has become'dag-json','cbor'has become'dag-cbor'and so onipfs.addor 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.gethas changed and therecursiveoption has been removed fromipfs.lssince it was not supported everywhereipfs.files.lsare now strings, in line with the docs but different to previous behaviourBufferis no longer exported from coreformatoption is no longer supported as everything isdag-pball of the time.dag-pbyet we allow passingdag-cboras 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 withrawleaves.HTTPErrors which carry aresponseproperty. This is aResponsethat can be used to inspect all information relating to the HTTP response. This means that theerr.statusorerr.statusCodeproperty should now be accessed viaerr.response.status.src/files-regularhave moved tosrc. Thesrc/files-mfsdirectory 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.listexample.recursiveis nowtrueby default inipfs resolvepubsub.enabled: trueinstead ofEXPERIMENTAL.pubsub: trueor via the CLI pass--enable-pubsubinstead of--enable-pubsub-experimenttojsipfs daemon./index.htmlwhen accessing a directory/instead of redirecting to/index.html.base32.{ ref, err }not{ Ref, Err }ipld-dag-pb,ipld-dag-cborandipld-rawIPLD codecs. Other codecs should be added manually, see https://github.com/ipfs/js-ipfs/blob/master/README.md#optionsipld for details.nullvalues or unknown properties.--localoption has been renamed to--offlinebig.jsinstances now returnbignumber.jsinstances.big.jsinstances now returnbignumber.jsinstances.ipfs-apilibrary has been renamed toipfs-http-client.add*,cat*,get*have moved fromfilesto the root namespace.add*,cat*,get*have moved fromfilesto the root namespace.ipld-dag-cborandipld-dag-pbmodules 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-cborandipld-dag-pbmodules 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.peerDiscoveryFeatures
ipfs versionflags +ipfs repo version(#1181) (#1188) (494da7f)--enable-preloadto enable/disable preloading for daemons (#1909) (9470900)addFromFsmethod (#1777) (7315aa1)ipfs repo stat --human. (#2609) (f81086c)dag putanddag resolvecli commands (#2521) (8759bf8)findprovs()(#337) (99f74f5)