What's Changed
Added
- feat(bitswap/client): MinTimeout for DontHaveTimeoutConfig #865
- ✨
httpnet
: Transparent HTTP-block retrieval support over Trustless Gateways [#747]((#747):- Complements Bitswap as a block-retrieval mechanism, implementing
bitswap/network
. - Understands peers found in provider records with
/.../http
endpoints (trustless gateway). - Treats them as "Bitswap" peers, except instead of using Bitswap it makes HTTP/2 requests to discover (
HEAD
) and retrieve (GET
) individual blocks (?format=raw
). - A
bitswap/network
proxy implementation allows co-existance with standardbitswap/network/bsnet
. httpnet
is not enabled by default. Upstream implementations may use it by modifying how they create the Bitswap network and initialize bitswap.
- Complements Bitswap as a block-retrieval mechanism, implementing
Changed
ipns
: TheDefaultRecordTTL
changed from1h
to5m
#859- upgrade to
go-libp2p
v0.41.0 - upgrade to
go-libp2p-kad-dht
[v0.30.2](github.com/libp2p/go-libp2p-kad-dht v0.30.2) - upgrade to
go-datastore
v0.8.2 - includes API updates and removes go-process bitswap/client
reduce lock scope of PeerManageer to help performance #860
Removed
- Removed dependency on
github.com/hashicorp/go-multierror
so that boxo only depends on one multi-error package,go.uber.org/multierr
. #867
Full Changelog: v0.28.0...v0.29.0