Skip to content
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: filecoin-saturn/js-client
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.3.7
Choose a base ref
...
head repository: filecoin-saturn/js-client
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 13 commits
  • 14 files changed
  • 6 contributors

Commits on Dec 19, 2023

  1. feat: implement stable hashring for node management (#30)

    * feat: implement a nodes list for clients
    
    * feat: implement a storage interface using indexedDb
    
    * feat: implement a test suite for fallback
    
    * fix: remove unused code
    
    * fix: eslint an jsdoc
    
    * fix: formatting and consistency
    
    * fix: indexDbCheck
    
    * chore: change storage implementation
    
    * enhancement: simplify node loading
    
    * naive fallback implementation
    
    * modify fallback
    
    * fix formatting and typos
    
    * typos
    
    * Update .eslintrc
    
    Co-authored-by: Diego Rodríguez Baquero <diego@protocol.ai>
    
    * enhancement: edit storage impl
    
    * enhancement: deal with overlapping byte chunks
    
    * feat: add fallback test suite
    
    * fix: tests running
    
    * cleanup content fetch with fallback
    
    * add initial origin fetch to fallback
    
    * formatting and file re-org
    
    * feat: merge main into fallback branch (#22)
    
    * Abort on error (#19)
    
    * feat: use controller from options if exists. abort fetch if error occurs.
    
    * test: check if external abort controller is used
    
    * build: move build output to dist/ folder
    
    * fix: newline
    
    * 0.1.1
    
    * Build exports (#20)
    
    * chore: rename file
    
    * feat: add new entrypoint with exports.
    
    Switch Saturn to named export
    
    * build: expose entire module instead of just the default export
    
    * docs: update README
    
    * 0.2.0
    
    * feat: include worker scopes when checking for browser runtime (#21)
    
    * 0.3.0
    
    ---------
    
    Co-authored-by: Eric Guan <guanzo91@gmail.com>
    
    * load nodes on first success
    
    * add fallback limit
    
    * fix: fallback bug
    
    * put eslint settings in package.json
    
    * add nodesListKey as static
    
    * fix: resolve process in browser
    
    * feat: add fetching with a race
    
    * enhancement: add backward compatibility for racing
    
    * tests and cleanup
    
    * feat: basic hashring implementation
    
    * fixes and enhancements
    
    * add typings
    
    * feat: add hashring functionality to the client
    
    * add typings
    
    * fix hashring usage
    
    * add tests for hashring
    
    ---------
    
    Co-authored-by: Diego Rodríguez Baquero <diego@protocol.ai>
    Co-authored-by: Eric Guan <guanzo91@gmail.com>
    3 people authored Dec 19, 2023
    Copy the full SHA
    cc7a758 View commit details

Commits on Dec 21, 2023

  1. chore: update readme (#47)

    AmeanAsad authored Dec 21, 2023
    Copy the full SHA
    f58570f View commit details

Commits on Jan 16, 2024

  1. Update log ingestor and auth URLs (#53)

    Diego Rodríguez Baquero authored Jan 16, 2024
    Copy the full SHA
    c4ed95c View commit details

Commits on Jan 18, 2024

  1. feat(client): support range requests (#48)

    - pass entity-bytes param to the backend
    - utilize offset/length params on unixfs-exporter to do ranged
      verification
    hannahhoward authored Jan 18, 2024
    Copy the full SHA
    ab8c510 View commit details

Commits on Jan 19, 2024

  1. Copy the full SHA
    17abad7 View commit details
  2. Copy the full SHA
    d58ee6c View commit details

Commits on Jan 22, 2024

  1. chore: disable hashring (#57)

    * chore: disable hashring
    
    * fix test
    AmeanAsad authored Jan 22, 2024
    Copy the full SHA
    fd4029d View commit details

Commits on Jan 24, 2024

  1. test: add test for range request on multi block CAR (#55)

    * test: add test for range request on multi block CAR
    
    * fix: use proper range requested CAR file
    
    * fix: test command
    guanzo authored Jan 24, 2024
    Copy the full SHA
    1504fb0 View commit details

Commits on Jan 29, 2024

  1. Mock range req (#58)

    * test: check range request output has expected bytes
    
    * tests: fix msw not being able to stall connections
    guanzo authored Jan 29, 2024
    Copy the full SHA
    18f5429 View commit details

Commits on Jan 30, 2024

  1. 0.3.8 (#59)

    guanzo authored Jan 30, 2024
    Copy the full SHA
    34cf1a1 View commit details

Commits on Feb 27, 2024

  1. Copy the full SHA
    1de2e94 View commit details
  2. test/duplicatelogs (#62)

    * chore: disable hashring
    
    * fix test
    
    * test: duplicate log submission err handling
    
    * epxand try catch
    
    * refactor(client): move log cleanup into finally block
    
    ---------
    
    Co-authored-by: hannahhoward <hannah@hannahhoward.net>
    Co-authored-by: Andrew Gillis <gammazero@users.noreply.github.com>
    3 people authored Feb 27, 2024
    Copy the full SHA
    864daa8 View commit details

Commits on Mar 27, 2024

  1. Add #onReportLogs(logs) (#64)

    * add `#onReportLogs(logs)`
    
    Overwrite this function to handle logs yourself in addition to the
     Saturn pipeline.
    
    * use parameter instead
    
    * Update src/client.js
    
    ---------
    
    Co-authored-by: Hannah Howard <hannah@hannahhoward.net>
    juliangruber and hannahhoward authored Mar 27, 2024
    Copy the full SHA
    e6578e0 View commit details

This comparison is taking too long to generate.

Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.

You can try running this command locally to see the comparison on your machine:
git diff v0.3.7...main