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: 81f944163f5a78ef15fdc23b2c488ba7f44af0be
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: 89aeaf8e25320276391653104981e37a73f29de9
Choose a head ref

Commits on May 22, 2018

  1. Initial commit

    vasco-santos authored May 22, 2018
    Copy the full SHA
    f236f1b View commit details

Commits on May 24, 2018

  1. Copy the full SHA
    d9d0c08 View commit details
  2. Merge pull request #1 from ipfs/feat/initial-implementation

    feat: initial implementation
    vasco-santos authored May 24, 2018
    Copy the full SHA
    0bf6694 View commit details
  3. fix: update package name

    vasco-santos committed May 24, 2018
    Copy the full SHA
    91b99b3 View commit details

Commits on May 27, 2018

  1. Copy the full SHA
    a02a518 View commit details

Commits on Jun 1, 2018

  1. feat: export resolver

    vasco-santos committed Jun 1, 2018
    Copy the full SHA
    d9e56b8 View commit details
  2. Merge pull request #2 from ipfs/feat/export-resolver

    feat: export resolver
    vasco-santos authored Jun 1, 2018
    Copy the full SHA
    da7bccf View commit details
  3. Copy the full SHA
    13c83e1 View commit details
  4. Copy the full SHA
    47e4fce View commit details
  5. Copy the full SHA
    1f3db7d View commit details

Commits on Jul 28, 2018

  1. Copy the full SHA
    0bff82d View commit details
  2. Copy the full SHA
    3f02ae1 View commit details
  3. Copy the full SHA
    ca3f64f View commit details

Commits on Aug 2, 2018

  1. fix: fix content-type by doing a fall-back using extensions (#5)

    The service-worker-gateway was only responding with the correct content-type for some mime-types, see https://github.com/sindresorhus/file-type#supported-file-types.
    This commit now fall-backs to detecting based on the extension as well.
    
    Note that SVGs aren't supported by the `file-type` module.
    satazor authored and vasco-santos committed Aug 2, 2018
    Copy the full SHA
    19acbae View commit details
  2. Copy the full SHA
    cca137d View commit details
  3. Copy the full SHA
    4f1ace2 View commit details

Commits on Sep 28, 2018

  1. Add support for CIDv1 and Base32 (#9)

    * feat: support cidv1b32 in resolver
    
    - feat: CID support, added resolver.cid
    - feat: basic support for HAMD sharded directory
      - not real support, we need ipfs.resolve for that
    - fix: return data from raw dag without resolv step
    
    License: MIT
    Signed-off-by: Marcin Rataj <lidel@lidel.org>
    lidel authored and vasco-santos committed Sep 28, 2018
    Copy the full SHA
    34a2f68 View commit details
  2. Copy the full SHA
    163c527 View commit details
  3. Copy the full SHA
    7dd7310 View commit details

Commits on Nov 9, 2018

  1. Copy the full SHA
    1c1a478 View commit details
  2. Copy the full SHA
    cab4cac View commit details
  3. Copy the full SHA
    076fde3 View commit details

Commits on Jan 18, 2019

  1. Copy the full SHA
    ba6a6dd View commit details

Commits on Jan 19, 2019

  1. Copy the full SHA
    e15f57c View commit details
  2. Copy the full SHA
    3c6ffcd View commit details

Commits on Jan 31, 2019

  1. Copy the full SHA
    7746dab View commit details

Commits on Apr 8, 2019

  1. Copy the full SHA
    18a6d21 View commit details

Commits on May 13, 2019

  1. Copy the full SHA
    47ccbe1 View commit details

Commits on May 21, 2019

  1. chore: update ipld formats (#25)

    BREAKING CHANGE: v1 CIDs created by this module now default to base32 encoding when stringified
    
    Not a direct dependency of this module but ipld-dag-pb changed the
    case of some property names that are used by this module.
    
    License: MIT
    Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
    achingbrain authored and vasco-santos committed May 21, 2019
    Copy the full SHA
    529613a View commit details
  2. Copy the full SHA
    1c39d66 View commit details

Commits on May 22, 2019

  1. Copy the full SHA
    9a88d61 View commit details

Commits on Jun 6, 2019

  1. feat: load files/dirs from hamt shards (#19)

    Use the HAMT support and IPFS overlay build in to the mfs related
    files commands to enable loading files from HAMT shards.
    achingbrain authored and vasco-santos committed Jun 6, 2019
    Copy the full SHA
    25edfbc View commit details
  2. Copy the full SHA
    6d2f2c5 View commit details
  3. Copy the full SHA
    5f9e3e3 View commit details

Commits on Oct 14, 2019

  1. chore: convert to async await syntax (#28)

    BREAKING CHANGE: All places in the API that used callbacks are now replaced with async/await
    
    Co-authored-by: PedroMiguelSS <pedro.santos@moxy.studio>
    vasco-santos and PedroMiguelSS committed Oct 14, 2019
    Copy the full SHA
    a22900a View commit details
  2. Copy the full SHA
    893e302 View commit details
  3. Copy the full SHA
    ae6d61e View commit details
  4. chore: update readme to use async/await syntax (#29)

    Pedro Santos authored and vasco-santos committed Oct 14, 2019
    Copy the full SHA
    8828822 View commit details

Commits on Jan 7, 2020

  1. refactor: use new IPFS async/await APIs (#30)

    BREAKING CHANGE: Switch to using async/await and async iterators.
    Alan Shaw authored and vasco-santos committed Jan 7, 2020
    Copy the full SHA
    68f1204 View commit details
  2. Copy the full SHA
    ffb442f View commit details
  3. Copy the full SHA
    5420944 View commit details

Commits on Apr 27, 2020

  1. Add standard issue template

    hsanjuan committed Apr 27, 2020
    Copy the full SHA
    0b7b10a View commit details

Commits on May 4, 2020

  1. Copy the full SHA
    4686a08 View commit details
  2. Copy the full SHA
    1db03b0 View commit details

Commits on Jun 30, 2020

  1. Copy the full SHA
    dca4577 View commit details
  2. Copy the full SHA
    3fab6a2 View commit details
  3. Copy the full SHA
    0674f10 View commit details

Commits on Jul 2, 2020

  1. Copy the full SHA
    71dcbc6 View commit details

Commits on Aug 14, 2020

  1. fix: replace node buffers with uint8arrays (#55)

    * fix: replace node buffers with uint8arrays
    
    BREAKING CHANGES:
    
    - All deps of this module use Uint8Arrays instead of node Buffers
    
    * chore: remove browser build steps
    achingbrain authored Aug 14, 2020
    Copy the full SHA
    710a96d View commit details
  2. Copy the full SHA
    0c61a36 View commit details
Showing 1,517 changed files with 63,583 additions and 34,794 deletions.
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
time: "10:00"
open-pull-requests-limit: 10
commit-message:
prefix: "deps"
prefix-development: "deps(dev)"
34 changes: 0 additions & 34 deletions .github/workflows/bundlesize.yml

This file was deleted.

130 changes: 130 additions & 0 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
name: Examples
on:
push:
branches:
- master
pull_request:
branches:
- '**'

jobs:

build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: lts/*
- uses: ipfs/aegir/actions/cache-node-modules@master

# test-examples:
# name: Test example ${{ matrix.example.name }}
# needs: build
# runs-on: ubuntu-latest
# continue-on-error: true
# strategy:
# matrix:
# example:
# - name: ipfs browser add readable stream
# repo: https://github.com/ipfs-examples/js-ipfs-browser-add-readable-stream.git
# deps: ipfs-core@$PWD/packages/ipfs-core
# - name: ipfs browser angular
# repo: https://github.com/ipfs-examples/js-ipfs-browser-angular.git
# deps: ipfs-core@$PWD/packages/ipfs-core,ipfs-core-types@$PWD/packages/ipfs-core-types
# - name: ipfs browser browserify
# repo: https://github.com/ipfs-examples/js-ipfs-browser-browserify.git
# deps: ipfs-core@$PWD/packages/ipfs-core
# - name: ipfs browser react
# repo: https://github.com/ipfs-examples/js-ipfs-browser-create-react-app.git
# deps: ipfs-core@$PWD/packages/ipfs-core
# - name: ipfs browser exchange files
# repo: https://github.com/ipfs-examples/js-ipfs-browser-exchange-files.git
# deps: ipfs-core@$PWD/packages/ipfs-core,ipfs@$PWD/packages/ipfs,ipfs-core-types@$PWD/packages/ipfs-core-types,ipfs-http-client@$PWD/packages/ipfs-http-client
# - name: ipfs browser ipns publish
# repo: https://github.com/ipfs-examples/js-ipfs-browser-ipns-publish.git
# deps: ipfs-core@$PWD/packages/ipfs-core,ipfs-http-client@$PWD/packages/ipfs-http-client
# - name: ipfs browser mfs
# repo: https://github.com/ipfs-examples/js-ipfs-browser-mfs.git
# deps: ipfs-core@$PWD/packages/ipfs-core
# # fails with No native build was found for platform=darwin arch=x64 runtime=node abi=93 uv=1 libc=glibc node=16.13.0 webpack=true
# #- name: ipfs browser nextjs
# # repo: https://github.com/ipfs-examples/js-ipfs-browser-nextjs.git
# # deps: ipfs-core@$PWD/packages/ipfs-core
# - name: ipfs browser parceljs
# repo: https://github.com/ipfs-examples/js-ipfs-browser-parceljs.git
# deps: ipfs-core@$PWD/packages/ipfs-core
# - name: ipfs browser readable stream
# repo: https://github.com/ipfs-examples/js-ipfs-browser-readablestream.git
# deps: ipfs-core@$PWD/packages/ipfs-core
# - name: ipfs browser service worker
# repo: https://github.com/ipfs-examples/js-ipfs-browser-service-worker.git
# deps: ipfs-core@$PWD/packages/ipfs-core,ipfs-message-port-client@$PWD/packages/ipfs-message-port-client,ipfs-message-port-protocol@$PWD/packages/ipfs-message-port-protocol,ipfs-message-port-server@$PWD/packages/ipfs-message-port-server
# - name: ipfs browser sharing across tabs
# repo: https://github.com/ipfs-examples/js-ipfs-browser-sharing-node-across-tabs.git
# deps: ipfs-core@$PWD/packages/ipfs-core,ipfs-message-port-client@$PWD/packages/ipfs-message-port-client,ipfs-message-port-server@$PWD/packages/ipfs-message-port-server
# - name: ipfs browser video streaming
# repo: https://github.com/ipfs-examples/js-ipfs-browser-video-streaming.git
# deps: ipfs-core@$PWD/packages/ipfs-core
# - name: ipfs browser vue
# repo: https://github.com/ipfs-examples/js-ipfs-browser-vue.git
# deps: ipfs-core@$PWD/packages/ipfs-core
# - name: ipfs browser webpack
# repo: https://github.com/ipfs-examples/js-ipfs-browser-webpack.git
# deps: ipfs-core@$PWD/packages/ipfs-core
# - name: ipfs circuit relaying
# repo: https://github.com/ipfs-examples/js-ipfs-circuit-relaying.git
# deps: ipfs-core@$PWD/packages/ipfs-core,ipfs-http-client@$PWD/packages/ipfs-http-client
# - name: ipfs custom ipfs repo
# repo: https://github.com/ipfs-examples/js-ipfs-custom-ipfs-repo.git
# deps: ipfs-core@$PWD/packages/ipfs-core
# - name: ipfs custom ipld formats
# repo: https://github.com/ipfs-examples/js-ipfs-custom-ipld-formats.git
# deps: ipfs-core@$PWD/packages/ipfs-core,ipfs-daemon@$PWD/packages/ipfs-daemon,ipfs-http-client@$PWD/packages/ipfs-http-client
# - name: ipfs custom libp2p
# repo: https://github.com/ipfs-examples/js-ipfs-custom-libp2p.git
# deps: ipfs-core@$PWD/packages/ipfs-core
# - name: ipfs-http-client browser pubsub
# repo: https://github.com/ipfs-examples/js-ipfs-http-client-browser-pubsub.git
# deps: ipfs-http-client@$PWD/packages/ipfs-http-client,ipfs@$PWD/packages/ipfs
# - name: ipfs-http-client bundle webpack
# repo: https://github.com/ipfs-examples/js-ipfs-http-client-bundle-webpack.git
# deps: ipfs-http-client@$PWD/packages/ipfs-http-client,ipfs@$PWD/packages/ipfs
# - name: ipfs-http-client name api
# repo: https://github.com/ipfs-examples/js-ipfs-http-client-name-api.git
# deps: ipfs-http-client@$PWD/packages/ipfs-http-client
# - name: ipfs-http-client upload file
# repo: https://github.com/ipfs-examples/js-ipfs-http-client-upload-file.git
# deps: ipfs@$PWD/packages/ipfs,ipfs-http-client@$PWD/packages/ipfs-http-client
# - name: ipfs 101
# repo: https://github.com/ipfs-examples/js-ipfs-101.git
# deps: ipfs-core@$PWD/packages/ipfs-core
# - name: ipfs-client add files
# repo: https://github.com/ipfs-examples/js-ipfs-ipfs-client-add-files.git
# deps: ipfs@$PWD/packages/ipfs,ipfs-client@$PWD/packages/ipfs-client
# - name: ipfs electron js
# repo: https://github.com/ipfs-examples/js-ipfs-run-in-electron.git
# deps: ipfs-core@$PWD/packages/ipfs-core
# - name: ipfs running multiple nodes
# repo: https://github.com/ipfs-examples/js-ipfs-running-multiple-nodes.git
# deps: ipfs@$PWD/packages/ipfs
# - name: ipfs traverse ipld graphs
# repo: https://github.com/ipfs-examples/js-ipfs-traverse-ipld-graphs.git
# deps: ipfs-core@$PWD/packages/ipfs-core
# - name: types with typescript
# repo: https://github.com/ipfs-examples/js-ipfs-types-use-ipfs-from-ts.git
# deps: ipfs-core@$PWD/packages/ipfs-core
# - name: types with typed js
# repo: https://github.com/ipfs-examples/js-ipfs-types-use-ipfs-from-typed-js.git
# deps: ipfs-core@$PWD/packages/ipfs-core
# steps:
# - uses: actions/checkout@v2
# - uses: actions/setup-node@v2
# with:
# node-version: lts/*
# - uses: ipfs/aegir/actions/cache-node-modules@master
# - uses: GabrielBB/xvfb-action@v1
# name: Run npm run test:external -- -- -- ${{ matrix.example.repo }} --deps ${{ matrix.example.deps }}
# with:
# run: npm run test:external -- -- -- ${{ matrix.example.repo }} --deps ${{ matrix.example.deps }}
51 changes: 51 additions & 0 deletions .github/workflows/externals.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Externals
on:
push:
branches:
- master
pull_request:
branches:
- '**'

jobs:

build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: lts/*
- uses: ipfs/aegir/actions/cache-node-modules@master

test-externals:
name: Test external ${{ matrix.external.name }}
needs: build
runs-on: ubuntu-latest
strategy:
matrix:
external:
- name: ipfs webui
repo: https://github.com/ipfs-shipyard/ipfs-webui.git
deps: ipfs@$PWD/packages/ipfs
- name: ipfs companion
repo: https://github.com/ipfs-shipyard/ipfs-companion.git
deps: ipfs@$PWD/packages/ipfs
- name: orbit-db-io
repo: https://github.com/orbitdb/orbit-db-io.git
deps: ipfs@$PWD/packages/ipfs
- name: ipfs-log
repo: https://github.com/orbitdb/ipfs-log.git
deps: ipfs@$PWD/packages/ipfs,orbit-db-io@next
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: lts/*
- uses: ipfs/aegir/actions/cache-node-modules@master
- uses: GabrielBB/xvfb-action@v1
name: Run npm run test:external -- -- -- ${{ matrix.external.repo }} --deps ${{ matrix.external.deps }} --branch ${{ matrix.external.branch }}
continue-on-error: true
with:
run: npm run test:external -- -- -- ${{ matrix.external.repo }} --deps ${{ matrix.external.deps }} --branch ${{ matrix.external.branch }}
26 changes: 26 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Close and mark stale issue

on:
schedule:
- cron: '0 0 * * *'

jobs:
stale:

runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write

steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'Oops, seems like we needed more information for this issue, please comment with more details or this issue will be closed in 7 days.'
close-issue-message: 'This issue was closed because it is missing author input.'
stale-issue-label: 'kind/stale'
any-of-labels: 'need/author-input'
exempt-issue-labels: 'need/triage,need/community-input,need/maintainer-input,need/maintainers-input,need/analysis,status/blocked,status/in-progress,status/ready,status/deferred,status/inactive'
days-before-issue-stale: 6
days-before-issue-close: 7
enable-statistics: true
Loading