Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): Bump github.com/ipfs/boxo from 0.16.0 to 0.18.0 (#3212)
Bumps [github.com/ipfs/boxo](https://github.com/ipfs/boxo) from 0.16.0 to 0.18.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/ipfs/boxo/releases">github.com/ipfs/boxo's releases</a>.</em></p> <blockquote> <h2>v0.18.0</h2> <h2>Added</h2> <ul> <li><code>blockservice</code> now has <code>ContextWithSession</code> and <code>EmbedSessionInContext</code> functions, which allows to embed a session in a context. Future calls to <code>BlockGetter.GetBlock</code>, <code>BlockGetter.GetBlocks</code> and <code>NewSession</code> will use the session in the context.</li> <li><code>blockservice.NewWritethrough</code> deprecated function has been removed, instead you can do <code>blockservice.New(..., ..., WriteThrough())</code> like previously.</li> <li><code>gateway</code>: a new header configuration middleware has been added to replace the existing header configuration, which can be used more generically.</li> <li><code>namesys</code> now has a <code>WithMaxCacheTTL</code> option, which allows you to define a maximum TTL that will be used for caching IPNS entries.</li> </ul> <h2>Fixed</h2> <ul> <li>🛠 <code>boxo/gateway</code>: 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</li> <li>🛠 <code>boxo/gateway</code>: the header configuration <code>Config.Headers</code> and <code>AddAccessControlHeaders</code> has been replaced by the new middleware provided by <code>NewHeaders</code>.</li> <li>🛠 <code>routing/http/client</code>: the default HTTP client is no longer a global singleton. Therefore, using <code>WithUserAgent</code> won'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.</li> </ul> <h2>What's Changed</h2> <ul> <li>Merge Release v0.16.0 by <a href="https://github.com/hacdias"><code>@hacdias</code></a> in <a href="https://github.com/ipfs/boxo/pull/519">ipfs/boxo#519</a></li> <li>all: run perfsprint by <a href="https://github.com/Jorropo"><code>@Jorropo</code></a> in <a href="https://github.com/ipfs/boxo/pull/521">ipfs/boxo#521</a></li> <li>gateway/assets: process each template and ETag hash in parallel by <a href="https://github.com/Jorropo"><code>@Jorropo</code></a> in <a href="https://github.com/ipfs/boxo/pull/530">ipfs/boxo#530</a></li> <li>Update tracing.md by <a href="https://github.com/0xbasar"><code>@0xbasar</code></a> in <a href="https://github.com/ipfs/boxo/pull/531">ipfs/boxo#531</a></li> <li>blockservice: fix panic when closing an offline blockservice by <a href="https://github.com/Jorropo"><code>@Jorropo</code></a> in <a href="https://github.com/ipfs/boxo/pull/533">ipfs/boxo#533</a></li> <li>feat(pinning): add support for names by <a href="https://github.com/hacdias"><code>@hacdias</code></a> in <a href="https://github.com/ipfs/boxo/pull/525">ipfs/boxo#525</a></li> <li>chore: update otlp by <a href="https://github.com/Jorropo"><code>@Jorropo</code></a> in <a href="https://github.com/ipfs/boxo/pull/532">ipfs/boxo#532</a></li> <li>feat(pinning): pinning existing CID with different name updates pin by <a href="https://github.com/hacdias"><code>@hacdias</code></a> in <a href="https://github.com/ipfs/boxo/pull/537">ipfs/boxo#537</a></li> <li>chore: update dependencies by <a href="https://github.com/hacdias"><code>@hacdias</code></a> in <a href="https://github.com/ipfs/boxo/pull/541">ipfs/boxo#541</a></li> <li>Release v0.17.0 by <a href="https://github.com/hacdias"><code>@hacdias</code></a> in <a href="https://github.com/ipfs/boxo/pull/542">ipfs/boxo#542</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/0xbasar"><code>@0xbasar</code></a> made their first contribution in <a href="https://github.com/ipfs/boxo/pull/531">ipfs/boxo#531</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/ipfs/boxo/compare/v0.16.0...v0.18.0">https://github.com/ipfs/boxo/compare/v0.16.0...v0.18.0</a></p> <h2>v0.17.0</h2> <h2>Added</h2> <ul> <li>🛠 <code>pinning/pinner</code>: you can now give a custom name when pinning a CID. To reflect this, the <code>Pinner</code> has been adjusted. Note that calling <code>Pin</code> for the same CID with a different name will replace its current name by the newly given name.</li> </ul> <h2>Removed</h2> <ul> <li>🛠 <code>tracing</code> <code>jaeger</code> exporter has been removed due to it's deprecation and removal from upstream, you should use <code>otlp</code> exporter instead. See the <a href="https://github.com/ipfs/boxo/blob/HEAD/docs/tracing.md">docs</a> for an example.</li> </ul> <h2>What's Changed</h2> <ul> <li>Merge Release v0.16.0 by <a href="https://github.com/hacdias"><code>@hacdias</code></a> in <a href="https://github.com/ipfs/boxo/pull/519">ipfs/boxo#519</a></li> <li>all: run perfsprint by <a href="https://github.com/Jorropo"><code>@Jorropo</code></a> in <a href="https://github.com/ipfs/boxo/pull/521">ipfs/boxo#521</a></li> <li>gateway/assets: process each template and ETag hash in parallel by <a href="https://github.com/Jorropo"><code>@Jorropo</code></a> in <a href="https://github.com/ipfs/boxo/pull/530">ipfs/boxo#530</a></li> <li>Update tracing.md by <a href="https://github.com/0xbasar"><code>@0xbasar</code></a> in <a href="https://github.com/ipfs/boxo/pull/531">ipfs/boxo#531</a></li> <li>blockservice: fix panic when closing an offline blockservice by <a href="https://github.com/Jorropo"><code>@Jorropo</code></a> in <a href="https://github.com/ipfs/boxo/pull/533">ipfs/boxo#533</a></li> <li>feat(pinning): add support for names by <a href="https://github.com/hacdias"><code>@hacdias</code></a> in <a href="https://github.com/ipfs/boxo/pull/525">ipfs/boxo#525</a></li> <li>chore: update otlp by <a href="https://github.com/Jorropo"><code>@Jorropo</code></a> in <a href="https://github.com/ipfs/boxo/pull/532">ipfs/boxo#532</a></li> <li>feat(pinning): pinning existing CID with different name updates pin by <a href="https://github.com/hacdias"><code>@hacdias</code></a> in <a href="https://github.com/ipfs/boxo/pull/537">ipfs/boxo#537</a></li> <li>chore: update dependencies by <a href="https://github.com/hacdias"><code>@hacdias</code></a> in <a href="https://github.com/ipfs/boxo/pull/541">ipfs/boxo#541</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/ipfs/boxo/blob/main/CHANGELOG.md">github.com/ipfs/boxo's changelog</a>.</em></p> <blockquote> <h2>[v0.18.0]</h2> <h3>Added</h3> <ul> <li><code>blockservice</code> now has <code>ContextWithSession</code> and <code>EmbedSessionInContext</code> functions, which allows to embed a session in a context. Future calls to <code>BlockGetter.GetBlock</code>, <code>BlockGetter.GetBlocks</code> and <code>NewSession</code> will use the session in the context.</li> <li><code>blockservice.NewWritethrough</code> deprecated function has been removed, instead you can do <code>blockservice.New(..., ..., WriteThrough())</code> like previously.</li> <li><code>gateway</code>: a new header configuration middleware has been added to replace the existing header configuration, which can be used more generically.</li> <li><code>namesys</code> now has a <code>WithMaxCacheTTL</code> option, which allows you to define a maximum TTL that will be used for caching IPNS entries.</li> </ul> <h3>Fixed</h3> <ul> <li>🛠 <code>boxo/gateway</code>: 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</li> <li>🛠 <code>boxo/gateway</code>: the header configuration <code>Config.Headers</code> and <code>AddAccessControlHeaders</code> has been replaced by the new middleware provided by <code>NewHeaders</code>.</li> <li>🛠 <code>routing/http/client</code>: the default HTTP client is no longer a global singleton. Therefore, using <code>WithUserAgent</code> won'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.</li> </ul> <h2>[v0.17.0]</h2> <h3>Added</h3> <ul> <li>🛠 <code>pinning/pinner</code>: you can now give a custom name when pinning a CID. To reflect this, the <code>Pinner</code> has been adjusted. Note that calling <code>Pin</code> for the same CID with a different name will replace its current name by the newly given name.</li> </ul> <h3>Removed</h3> <ul> <li>🛠 <code>tracing</code> <code>jaeger</code> exporter has been removed due to it's deprecation and removal from upstream, you should use <code>otlp</code> exporter instead. See the <a href="https://github.com/ipfs/boxo/blob/main/docs/tracing.md">docs</a> for an example.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ipfs/boxo/commit/c336fc96353a6809829369bc87ed2309089de444"><code>c336fc9</code></a> Merge pull request <a href="https://github.com/ipfs/boxo/issues/581">#581</a> from ipfs/release-v0.18.0</li> <li><a href="https://github.com/ipfs/boxo/commit/4f5b2c08df2f61b0ae1da53f7560c61dc6965be4"><code>4f5b2c0</code></a> chore: bump version to v0.18.0</li> <li><a href="https://github.com/ipfs/boxo/commit/28f1c4037ef91bb0d00f6666a44ecdfd2b6a81cd"><code>28f1c40</code></a> docs: prepare changelog for v0.18.0</li> <li><a href="https://github.com/ipfs/boxo/commit/39f4588f154831de8c551d0cc71270e7c8095aad"><code>39f4588</code></a> routing/http/client: avoid race by not using global http.Client</li> <li><a href="https://github.com/ipfs/boxo/commit/79cb4e2886d72af06f3b102982520a743835c02f"><code>79cb4e2</code></a> gateway: tests for simpler superfluous namespace handling (<a href="https://github.com/ipfs/boxo/issues/572">#572</a>)</li> <li><a href="https://github.com/ipfs/boxo/commit/89bceff34bf108a46795d26938e6aa8c2f876fc4"><code>89bceff</code></a> chore: Update .github/workflows/stale.yml [skip ci]</li> <li><a href="https://github.com/ipfs/boxo/commit/fdfcfcc0708a39b06825e158e9bfa96b30cf42aa"><code>fdfcfcc</code></a> namesys: add WithMaxCacheTTL</li> <li><a href="https://github.com/ipfs/boxo/commit/bf34cd0777d8813def8a5fc3312b7287501df9a7"><code>bf34cd0</code></a> fix(gw): entity-bytes with negative indexes beyond file size (<a href="https://github.com/ipfs/boxo/issues/523">#523</a>)</li> <li><a href="https://github.com/ipfs/boxo/commit/3d57bce7998cad85517d1e1dc4602a0f55e59dee"><code>3d57bce</code></a> gateway: extract CORS to headers middleware</li> <li><a href="https://github.com/ipfs/boxo/commit/4c3a1f2f343637b615c26a27a55afa12dd5aaed5"><code>4c3a1f2</code></a> gateway: remove dead, unexported lazySeek</li> <li>Additional commits viewable in <a href="https://github.com/ipfs/boxo/compare/v0.16.0...v0.18.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/ipfs/boxo&package-manager=go_modules&previous-version=0.16.0&new-version=0.18.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information