Releases: filecoin-project/lassie
Releases · filecoin-project/lassie
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
v0.13.0
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