Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ipfs/js-ipfs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: [email protected]
Choose a base ref
...
head repository: ipfs/js-ipfs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: [email protected]
Choose a head ref
  • 16 commits
  • 194 files changed
  • 5 contributors

Commits on Oct 28, 2020

  1. chore(deps-dev): bump file-type from 15.0.1 to 16.0.0 (#3333)

    Bumps [file-type](https://github.com/sindresorhus/file-type) from 15.0.1 to 16.0.0.
    - [Release notes](https://github.com/sindresorhus/file-type/releases)
    - [Commits](sindresorhus/file-type@v15.0.1...v16.0.0)
    
    Signed-off-by: dependabot-preview[bot] <[email protected]>
    
    Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
    dependabot-preview[bot] authored Oct 28, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    892cb2c View commit details
  2. Copy the full SHA
    4da0e33 View commit details

Commits on Oct 29, 2020

  1. chore: add package script to configure examples (#3361)

    Because I keep copy/pasting the commands and it is tedious to do so.
    achingbrain authored Oct 29, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    bb3db59 View commit details

Commits on Oct 30, 2020

  1. chore: add non-bundled format in test (#3362)

    Since ipld/js-ipld#293 was merged IPLD now
    validates existing formats correctly so use a non-bundled one in the
    test otherwise it throws when we try to re-add the `dag-pb` format.
    achingbrain authored Oct 30, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    5d394c2 View commit details
  2. feat: remove all esoteric ipld formats (#3360)

    We bundle ipld formats for ethereum, zcash, bitcoin and git though they speak beyond the files part of the Interplanetary File System.
    
    Since #3347 we can now configure extra IPLD formats in the http client, in-process and daemon nodes, we no longer have to bundle these formats for them to be supported, instead the user can choose to configure their node with the formats they require.
    
    This makes the behaviour of core the same in node as it is in the browser and also means we don't waste time installing deps our users may not use.
    
    If they do use them, they can configure the node as they see fit.
        
    BREAKING CHANGE: only dag-pb, dag-cbor and raw formats are supported out of the box, any others will need to be configured during node startup.
    achingbrain authored Oct 30, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    a542882 View commit details
  3. fix: cache preloaded CIDs (#3363)

    We 'preload' most CIDs we interact with on the network. In some cases
    this can mean preloading the same CID over and over again which is not
    necessary.
    
    This PR adds a LRU cache to the preloader with a default size of 1000.
    The cache is used to avoid re-preloading the same CID over and over again
    until it drops out of the cache.  We use a cache that will evict CIDs
    over time to have some sort of upper bound on memory usage.
    
    Fixes #3307
    
    Co-authored-by: Vasco Santos <[email protected]>
    achingbrain and vasco-santos authored Oct 30, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    b5ea76a View commit details

Commits on Nov 2, 2020

  1. fix: typedef resolution & add examples that use types (#3359)

    1. addresses #3356 in a different way based no findings in #3358. 
    2. Adds ts project example that uses ipfs and tests that it type checks.
    3. Adds js project example that uses ipfs and runs type checker to ensure types are picked up and inferred.
    4. Changes all the `ReturnType<import(...)>`'s to `ReturnType<typeof import(...)>` as former seems to raise errors in stricter TS setup.
    
    Co-authored-by: achingbrain <[email protected]>
    Gozala and achingbrain authored Nov 2, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    dc2795a View commit details
  2. docs: consolidate and update docs (#3364)

    * Consolidates docs under `/docs`
    * Adds missing licenses, CoC, READMEs, etc
    * Updates docs where information was incorrect
    achingbrain authored Nov 2, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    308baa4 View commit details

Commits on Nov 6, 2020

  1. chore: use dnsaddr for bootstrap nodes (#3370)

    Adds the new `dnsaddr` multiaddrs for browser bootstrapping peers per libp2p/js-libp2p#772 and libp2p/js-libp2p#782
    vasco-santos authored Nov 6, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    7a0f1a2 View commit details
  2. feat: pass file name to add/addAll progress handler (#3372)

    Since ipfs/js-ipfs-unixfs#87 landed we can now pass the file name to
    the progress handler for adding files:
    
    ```js
    await ipfs.addAll(..., {
      progress: (bytes, fileName) => {
        //...
      }
    })
    ```
    
    This should make showing progress a bit more usable.
    
    Co-authored-by: Hugo Dias <[email protected]>
    achingbrain and hugomrdias authored Nov 6, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    69681a7 View commit details

Commits on Nov 9, 2020

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    49553bd View commit details
  2. fix: remove electron-webrtc dependency (#3378)

    Remove electron-webrtc dep - as it was only being used by daemon startup which doesn't typically run under electron.
    
    If your application requires webrtc, see [the FAQ](https://github.com/ipfs/js-ipfs/blob/master/docs/FAQ.md#is-there-webrtc-support-for-js-ipfs-with-nodejs) for more information.
    
    Fixes #3376
    
    BREAKING CHANGE: electron-webrtc was accidentally bundled with ipfs, now it needs installing separately
    achingbrain authored Nov 9, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    2bd5368 View commit details
  3. chore: upgrade unixfs-importer (#3373)

    Restores changes to defaults removed from the importer to ensure
    CID compatibility with go-IPFS.
    achingbrain authored Nov 9, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    e146a28 View commit details
  4. Copy the full SHA
    17c77da View commit details
  5. Copy the full SHA
    8f2093e View commit details
  6. Copy the full SHA
    fee87c5 View commit details
Loading