Skip to content

Releases: filecoin-project/lassie

v0.18.0

11 Sep 10:47
Compare
Choose a tag to compare

What's Changed

Notable changes / breakages

  • The HTTP retriever no longer sends car-scope along with dag-scope parameters. This parameter was renamed during the course of development of the Trustless Gateway specification and has been kept until now for backward compatibility.
  • The daemon now returns a 502 error when no candidates are returned from the indexer, this is in line with a suggestion in the specification.
  • Various types and utilities have been extracted to https://pkg.go.dev/github.com/ipld/go-trustless-utils, users of Lassie as a library will likely need to update some of the types and packages used. This includes the github.com/filecoin-project/lassie/pkg/verifiedcar package now being moved to https://pkg.go.dev/github.com/ipld/go-trustless-utils/traversal.
  • Lassie now has a new bitswap concurrency variable: BitswapConcurrencyPerRetrieval: WithBitswapConcurrencyPerRetrieval() and WithBitswapConcurrency() for the library, and --bitswap-concurrency-per-retrieval and bitswap-concurrency for the CLI now control bitswap concurrency. There is one global maximum concurrency and a per-retrieval concurrency that can be set to determine how many blocks to attempt to fetch in parallel where possible.
  • DeferredCarWriter has been extracted to https://pkg.go.dev/github.com/ipld/go-car/v2/storage/deferred
  • The dups=[y|n] parameter in the Content-Type for an HTTP transfer is properly handled; what a server says it provides, Lassie will accept and handle accordingly.
  • --ipni-endpoint now works on both daemon and fetch modes in the CLI.

Pull requests

  • fix: CGO_ENABLED=0 for static release builds by @rvagg in #400
  • Export IpfsHandler by @willscott in #401
  • Add IPNI Endpoint Flag to Daemon by @jtsmedley in #410
  • Extract go-trustless-utils; and more improvements discovered along the way by @rvagg in #404
  • feat: add GroupWorkPool for managing global bitswap concurrency by @rvagg in #406
  • chore(deps): bump actions/checkout from 3 to 4 by @dependabot in #411

New Contributors

Full Changelog: v0.17.0...v0.18.0

v0.17.0

24 Aug 07:23
Compare
Choose a tag to compare

What's Changed

  • Byte ranges using --entity-bytes x:y on the CLI or ?entity-bytes=x:y in requests to the daemon; by @rvagg in #383

Full Changelog: v0.16.1...v0.17.0

v0.16.1

24 Aug 06:18
f6851aa
Compare
Choose a tag to compare

What's Changed

  • chore: bump goreleaser to 1.20 by @rvagg in #397

Full Changelog: v0.16.0...v0.16.1

v0.16.0

24 Aug 05:51
Compare
Choose a tag to compare

What's Changed

Bugfix release! But with a minimum Go version bump from 1.19 to 1.20 which will impact users of Lassie as a library. Otherwise this should be full of relatively invisible improvements.

  • ci: uci/copy-templates by @web3-bot in #381
  • fix: "Bitswap" shouldn't convert peer.ID to display as b64 by @rvagg in #387
  • fix: s/--rm-dist/--clean by @rvagg in #372
  • fix: properly detect context cancellation error type by @rvagg in #385
  • fix(cli): clean up path before passing it on by @rvagg in #389
  • Escape paths for HTTP requests by @rvagg in #390
  • fix: lock access to bitswap timedOut by @rvagg in #394
  • fix: compare multihash only in CAR verifier by @rvagg in #393

Full Changelog: v0.15.0...v0.16.0

v0.15.0

16 Aug 00:20
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.14.3...v0.15.0

v0.14.3

02 Aug 15:28
a00bdcb
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.14.2...v0.14.3

v0.14.2

14 Jul 05:59
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.14.1...v0.14.2

v0.14.1

13 Jul 23:55
c92dd9e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.14.0...v0.14.1

v0.14.0

13 Jul 00:07
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.13.0...v0.14.0

v0.13.0

22 Jun 06:30
da0ac6b
Compare
Choose a tag to compare

What's Changed

  • chore(deps): bump actions/setup-go from 3 to 4 by @dependabot in #314
  • chore(deps): bump protocol/multiple-go-modules from 1.2 to 1.4 by @dependabot in #316
  • fix: http retriever fixes - one user agent, no / for no path by @rvagg in #315
  • chore(deps): bump codecov/codecov-action from 3.1.1 to 3.1.4 by @dependabot in #313
  • chore(deps): bump actions/checkout from 2 to 3 by @dependabot in #322
  • Fixes for Boost compatibility by @hannahhoward in #324
  • chore: clean up (and fix) messages from --provider flag by @rvagg in #317
  • feat: upgrade deps by @rvagg in #310
  • feat!: remove TempDir option; only rely on req.PreloadLinkSystem by @rvagg in #290
  • doc: document session Config fields by @rvagg in #302
  • feat: upgrade deps, expose http utility methods by @rvagg in #311
  • ci: update checkout action version by @rvagg in #303
  • test: slow down CandidateFinder test to avoid clock race by @rvagg in #304
  • Add CLI unit tests by @kylehuntsman in #289

Full Changelog: v0.12.2...v0.13.0