github filecoin-project/lassie v0.18.0

latest releases: v0.23.2, v0.23.1, v0.23.0...
12 months ago

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

Don't miss a new lassie release

NewReleases is sending notifications on new releases.