Commit 0622fb6
chore(deps): bump git2 from 0.20.4 to 0.21.0 in /shared-context (#183)
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.20.4 to
0.21.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/git2-rs/blob/main/CHANGELOG.md">git2's
changelog</a>.</em></p>
<blockquote>
<h2>0.21.0 - TBD</h2>
<p><a
href="https://github.com/rust-lang/git2-rs/compare/git2-0.20.4...main">0.20.4...main</a></p>
<h3>Added</h3>
<ul>
<li>Added experimental SHA256 repository support behind the new
<code>unstable-sha256</code> Cargo feature,
along with <code>*_ext</code> API variants that accept an
<code>ObjectFormat</code>.
<a
href="https://redirect.github.com/rust-lang/git2-rs/pull/1206">#1206</a></li>
<li>Added <code>opts::set_cache_max_size()</code> and
<code>opts::get_cached_memory()</code>.
<a
href="https://redirect.github.com/rust-lang/git2-rs/pull/1188">#1188</a></li>
<li>Added <code>Repository::object_format()</code> and a new
<code>ObjectFormat</code> enum.
<a
href="https://redirect.github.com/rust-lang/git2-rs/pull/1204">#1204</a></li>
<li>Added <code>Repository::set_config()</code>.
<a
href="https://redirect.github.com/rust-lang/git2-rs/pull/1208">#1208</a></li>
<li>Added <code>merge_file()</code> along with
<code>MergeFileInput</code>.
<a
href="https://redirect.github.com/rust-lang/git2-rs/pull/1210">#1210</a></li>
<li>Added <code>Repository::refdb_compress()</code> for packing loose
refs.
<a
href="https://redirect.github.com/rust-lang/git2-rs/pull/1221">#1221</a></li>
<li>Added public <code>Refdb</code> type, along with
<code>Repository::refdb()</code> and
<code>Repository::set_refdb()</code>.
<code>Repository::refdb_compress()</code> now delegates to
<code>Refdb::compress()</code>.
<a
href="https://redirect.github.com/rust-lang/git2-rs/pull/1228">#1228</a></li>
<li>Added <code>Revspec::into_objects()</code>.
<a
href="https://redirect.github.com/rust-lang/git2-rs/pull/1230">#1230</a></li>
<li>Added <code>BlameHunk::final_committer()</code>,
<code>BlameHunk::orig_committer()</code>,
<code>BlameHunk::summary()</code>, and
<code>BlameHunk::summary_bytes()</code>.
<a
href="https://redirect.github.com/rust-lang/git2-rs/pull/1231">#1231</a></li>
<li>Implemented <code>Clone</code> for <code>Reference</code>.
<a
href="https://redirect.github.com/rust-lang/git2-rs/pull/1233">#1233</a></li>
<li>Added <code>Repository::author_from_env()</code> and
<code>Repository::committer_from_env()</code>.
<a
href="https://redirect.github.com/rust-lang/git2-rs/pull/1237">#1237</a></li>
<li>Added <code>impl From<Utf8Error> for Error</code>.
<a
href="https://redirect.github.com/rust-lang/git2-rs/pull/1239">#1239</a></li>
</ul>
<h3>Changed</h3>
<ul>
<li>❗ The <code>ssh</code>, <code>https</code>, and <code>cred</code>
Cargo features are no longer enabled by default.
Previously <code>default = ["ssh", "https"]</code>;
now <code>default = []</code>.
Enable them explicitly if you rely on credential helpers or transport
support.
<a
href="https://redirect.github.com/rust-lang/git2-rs/pull/1168">#1168</a></li>
<li>❗ <code>CredentialHelper</code> and the <code>url</code> dependency
are now gated behind the new <code>cred</code> Cargo feature.
Enabling <code>ssh</code> or <code>https</code> transitively enables
<code>cred</code>.
<a
href="https://redirect.github.com/rust-lang/git2-rs/pull/1168">#1168</a></li>
<li>❗ Updated to the 2021 edition.
<a
href="https://redirect.github.com/rust-lang/git2-rs/pull/1173">#1173</a></li>
<li>❗ Many string accessors that previously returned
<code>Option<&str></code>
now return <code>Result<&str, Error></code> or
<code>Result<Option<&str>, Error></code>,
so callers can distinguish a missing value from a non-UTF-8 one.
<a
href="https://redirect.github.com/rust-lang/git2-rs/pull/1241">#1241</a></li>
<li>❗ <code>BlameHunk::final_signature</code>,
<code>BlameHunk::final_committer</code>,
<code>BlameHunk::orig_signature</code>, and
<code>BlameHunk::orig_committer</code>
now return <code>Option</code> to avoid segfaults when signature
information is missing.
<a
href="https://redirect.github.com/rust-lang/git2-rs/pull/1254">#1254</a></li>
<li>Bumped requirement to libgit2-sys 0.18.4, which updates libgit2 to
1.9.3.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rust-lang/git2-rs/commit/dffaf272eb0e62ac15b74283c4e488252db9afc3"><code>dffaf27</code></a>
Merge pull request <a
href="https://redirect.github.com/rust-lang/git2-rs/issues/1256">#1256</a>
from weihanglo/changelog</li>
<li><a
href="https://github.com/rust-lang/git2-rs/commit/84b9c76ee516cc514978db0e51fd6750cc215326"><code>84b9c76</code></a>
docs: changelog for git2@0.21</li>
<li><a
href="https://github.com/rust-lang/git2-rs/commit/8c6dc4a336a2671c4a56e15159c4ea4e102388f6"><code>8c6dc4a</code></a>
Merge pull request <a
href="https://redirect.github.com/rust-lang/git2-rs/issues/1206">#1206</a>
from weihanglo/sha256-git2</li>
<li><a
href="https://github.com/rust-lang/git2-rs/commit/7bd145ee23884f19d1d79ce0e46c1ab105784040"><code>7bd145e</code></a>
fix: import <code>ObjectFormat</code> in one place</li>
<li><a
href="https://github.com/rust-lang/git2-rs/commit/fc8af6ad26b0e1bc126d997cf30407e8561195c6"><code>fc8af6a</code></a>
test(oid): split <code>_ext</code> to test each format separately</li>
<li><a
href="https://github.com/rust-lang/git2-rs/commit/b9bde87d80eb58cc87afe22e16bd581c2bb11618"><code>b9bde87</code></a>
test: oid length sanity check</li>
<li><a
href="https://github.com/rust-lang/git2-rs/commit/57a68e0729a014e92e0704c3382037f36979c13d"><code>57a68e0</code></a>
feat(oid): impl Display for ObjectFormat</li>
<li><a
href="https://github.com/rust-lang/git2-rs/commit/7acee09983d45fb6b3c0680e59838fb9619e5149"><code>7acee09</code></a>
chore(ci): test git2 sha256 support</li>
<li><a
href="https://github.com/rust-lang/git2-rs/commit/bdf5b7bf4aa13b9a2ed6e85d8d2d884b83fffcc7"><code>bdf5b7b</code></a>
fix: init example with <code>--object-format</code> option</li>
<li><a
href="https://github.com/rust-lang/git2-rs/commit/9fb4e6aeaeb17868c5e86e8ee67545c57d070ced"><code>9fb4e6a</code></a>
refactor(util): drop <code>unsafe</code> from
<code>zeroed_raw_oid</code></li>
<li>Additional commits viewable in <a
href="https://github.com/rust-lang/git2-rs/compare/git2-0.20.4...git2-0.21.0">compare
view</a></li>
</ul>
</details>
<br />
[](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 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>
Co-authored-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com>1 parent 79a9153 commit 0622fb6
2 files changed
Lines changed: 5 additions & 284 deletions
File tree
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments