Releases: filecoin-project/lassie
Releases · filecoin-project/lassie
v0.19.0
What's Changed
Notable changes
lassie.Fetch()
API has changed, the last argument has been replaced with an options pattern varargs, with the event callback being provided with an optiontypes.WithEventsCallback()
- New event for event listeners:
BlockReceived
- Fixed / improved identity CID handling across all protocols
- Tracking of Bitswap peers for internal event and reporting purposes
Pull requests
- Build and publish lassie container by @masih in #415
- Disable CGO in dockerfile by @masih in #416
- test: e2e testing - frisbii, indexer, lassie cli & daemon fetch by @rvagg in #414
- feat!: make the events cb optional on lassie.Fetch() by @rvagg in #419
- fix: test and handle identity CIDs by @rvagg in #426
- Add tracking of data received from remote peers by @hannahhoward in #345
Full Changelog: v0.18.0...v0.19.0
v0.18.0
What's Changed
Notable changes / breakages
- The HTTP retriever no longer sends
car-scope
along withdag-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()
andWithBitswapConcurrency()
for the library, and--bitswap-concurrency-per-retrieval
andbitswap-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
- @jtsmedley made their first contribution in #410
Full Changelog: v0.17.0...v0.18.0
v0.17.0
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
v0.16.0
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
What's Changed
- feat: add Server header with version by @rvagg in #370
- docs: add more usage detail to README by @kylehuntsman in #365
- chore(deps): bump github.com/libp2p/go-libp2p from 0.27.1 to 0.27.8 by @dependabot in #376
- fix: add protocol detail to more events for better logging by @rvagg in #373
- ci: uci/delete-templates by @web3-bot in #379
- ci: uci/copy-templates by @web3-bot in #380
- v0.15.0 bump by @rvagg in #377
Full Changelog: v0.14.3...v0.15.0
v0.14.3
What's Changed
- Update go mac binary name for releases by @hannahhoward in #357
- ref: extract magic numbers and strings into constants by @kylehuntsman in #363
- test: add ipfs handler response and fetch request tests by @kylehuntsman in #350
- Update go-graphsync v0.14.7 by @hannahhoward in #368
Full Changelog: v0.14.2...v0.14.3
v0.14.2
v0.14.1
What's Changed
- include a root in car responses by @willscott in #355
Full Changelog: v0.14.0...v0.14.1
v0.14.0
What's Changed
- feat: protect HTTP API using access token by @bajtos in #328
- Fix itest HTTP remote peer creation panic by @kylehuntsman in #251
- feat: update event types to be discreet by @kylehuntsman in #321
- fix(servertiming): lock map writes by @kylehuntsman in #341
- fix(cli): move log level logic to flag action by @kylehuntsman in #337
- fix: use internal servertiming lock for synchronising by @rvagg in #342
- fix: various traversal and verifier fixes by @rvagg in #338
- fix: don't sendEvent if context cancelled by @rvagg in #346
New Contributors
Full Changelog: v0.13.0...v0.14.0