v0.18.0
Added
blockservicenow hasContextWithSessionandEmbedSessionInContextfunctions, which allows to embed a session in a context. Future calls toBlockGetter.GetBlock,BlockGetter.GetBlocksandNewSessionwill use the session in the context.blockservice.NewWritethroughdeprecated function has been removed, instead you can doblockservice.New(..., ..., WriteThrough())like previously.gateway: a new header configuration middleware has been added to replace the existing header configuration, which can be used more generically.namesysnow has aWithMaxCacheTTLoption, which allows you to define a maximum TTL that will be used for caching IPNS entries.
Fixed
- 🛠
boxo/gateway: when making a trustless CAR request with the "entity-bytes" parameter, using a negative index greater than the underlying entity length could trigger reading more data than intended - 🛠
boxo/gateway: the header configurationConfig.HeadersandAddAccessControlHeadershas been replaced by the new middleware provided byNewHeaders. - 🛠
routing/http/client: the default HTTP client is no longer a global singleton. Therefore, usingWithUserAgentwon't modify the user agent of existing routing clients. This will also prevent potential race conditions. In addition, incompatible options will now return errors instead of silently failing.
What's Changed
- Merge Release v0.16.0 by @hacdias in #519
- all: run perfsprint by @Jorropo in #521
- gateway/assets: process each template and ETag hash in parallel by @Jorropo in #530
- Update tracing.md by @0xbasar in #531
- blockservice: fix panic when closing an offline blockservice by @Jorropo in #533
- feat(pinning): add support for names by @hacdias in #525
- chore: update otlp by @Jorropo in #532
- feat(pinning): pinning existing CID with different name updates pin by @hacdias in #537
- chore: update dependencies by @hacdias in #541
- Release v0.17.0 by @hacdias in #542
New Contributors
Full Changelog: v0.16.0...v0.18.0
This release was brought to you by the Shipyard team.
