Commit 9f098cb
build(deps): Bump ndarray from 0.16.1 to 0.17.2 (#42)
Bumps [ndarray](https://github.com/rust-ndarray/ndarray) from 0.16.1 to
0.17.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-ndarray/ndarray/blob/master/RELEASES.md">ndarray's
changelog</a>.</em></p>
<blockquote>
<h1>Version 0.17.2 (2026-01-10)</h1>
<p>Version 0.17.2 is mainly a patch fix to bugs related to the new
<code>ArrayRef</code> implementation.</p>
<p>In addition, <code>ndarray</code> has reduced its packaging footprint
to ease supply chain reviews (and shrink the binary size!).
A special thanks to <a
href="https://github.com/SwishSwushPow"><code>@SwishSwushPow</code></a>
and <a href="https://github.com/weiznich"><code>@weiznich</code></a>
for bringing this to our attention and making the necessary changes.</p>
<h2>Added</h2>
<ul>
<li>Add type aliases for higher-dimensional ArcArrays by <a
href="https://github.com/varchasgopalaswamy"><code>@varchasgopalaswamy</code></a>
<a
href="https://redirect.github.com/rust-ndarray/ndarray/pull/1561">#1561</a></li>
</ul>
<h2>Fixed</h2>
<ul>
<li>Add PartialEq implementations between ArrayRef and ArrayBase by <a
href="https://github.com/akern40"><code>@akern40</code></a> <a
href="https://redirect.github.com/rust-ndarray/ndarray/pull/1557">#1557</a></li>
<li>Implement Sync for ArrayParts by <a
href="https://github.com/gaumut"><code>@gaumut</code></a> <a
href="https://redirect.github.com/rust-ndarray/ndarray/pull/1552">#1552</a></li>
</ul>
<h2>Documentation</h2>
<ul>
<li>fix some typos in comments by <a
href="https://github.com/tinyfoolish"><code>@tinyfoolish</code></a> <a
href="https://redirect.github.com/rust-ndarray/ndarray/pull/1547">#1547</a></li>
</ul>
<h1>Version 0.17.1 (2025-11-02)</h1>
<p>Version 0.17.1 provides a patch to fix the originally-unsound
implementation of the new array reference types.</p>
<p>The reference types are now all unsized.
Practically speaking, this has one major implication: writing functions
and traits that accept <code>RawRef</code> and <code>LayoutRef</code>
will now need a <code>+ ?Sized</code> bound to work ergonomically with
<code>ArrayRef</code>.
For example, the release notes for 0.17.0 said</p>
<blockquote>
<h4>Reading / Writing Shape: <code>LayoutRef<A, D></code></h4>
<p>LayoutRef lets functions view or modify shape/stride information
without touching data.
This replaces verbose signatures like:</p>
<pre lang="rust"><code>fn alter_view<S>(a: &mut
ArrayBase<S, Ix1>)
where S: Data<Elem = f64>;
</code></pre>
<p>Use AsRef / AsMut for best compatibility:</p>
<pre lang="rust"><code>fn alter_shape<T>(a: &mut T)
where T: AsMut<LayoutRef<f64>>;
</code></pre>
</blockquote>
<p>However, these functions now need an additional bound to allow for
callers to pass in <code>&ArrayRef</code> types:</p>
<pre lang="rust"><code>fn alter_shape<T>(a: &mut T)
where T: AsMut<LayoutRef<f64>> + ?Sized; // Added bound here
</code></pre>
<p>A huge thank you to Sarah Quiñones (<a
href="https://github.com/sarah-quinones"><code>@sarah-quinones</code></a>)
for catching the original unsound bug and helping to fix it.
She does truly excellent work with <a
href="https://codeberg.org/sarah-quinones/faer"><code>faer-rs</code></a>;
check it out!</p>
<h1>Version 0.17.0 (2025-10-14) [YANKED]</h1>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rust-ndarray/ndarray/commit/2cf23d6abf5f7a8a5e638fa1c69779dc4d7219a0"><code>2cf23d6</code></a>
chore: Release</li>
<li><a
href="https://github.com/rust-ndarray/ndarray/commit/1eb45593abe4db578024911562123a5c72fef74e"><code>1eb4559</code></a>
Remove most version specifiers in <code>README</code> (<a
href="https://redirect.github.com/rust-ndarray/ndarray/issues/1573">#1573</a>)</li>
<li><a
href="https://github.com/rust-ndarray/ndarray/commit/59c1ce06635fb1f427836ab67be8ac3122d075e6"><code>59c1ce0</code></a>
Craft a release log for 0.17.2 (<a
href="https://redirect.github.com/rust-ndarray/ndarray/issues/1572">#1572</a>)</li>
<li><a
href="https://github.com/rust-ndarray/ndarray/commit/6fd0a9df5ce4edd1f23845ad1fe717da3b5db7f0"><code>6fd0a9d</code></a>
Clean up clippy allows and unnecessary borrows (<a
href="https://redirect.github.com/rust-ndarray/ndarray/issues/1571">#1571</a>)</li>
<li><a
href="https://github.com/rust-ndarray/ndarray/commit/8adf5d81b395751191c7fa046ec257e157255a14"><code>8adf5d8</code></a>
Revert <a
href="https://redirect.github.com/rust-ndarray/ndarray/issues/1563">#1563</a>
and <a
href="https://redirect.github.com/rust-ndarray/ndarray/issues/1567">#1567</a>
to prepare for patch release (<a
href="https://redirect.github.com/rust-ndarray/ndarray/issues/1570">#1570</a>)</li>
<li><a
href="https://github.com/rust-ndarray/ndarray/commit/953f2e9e856139f637feb3c7b321b5bb3fcae533"><code>953f2e9</code></a>
Move LayoutBitset to its own module (<a
href="https://redirect.github.com/rust-ndarray/ndarray/issues/1567">#1567</a>)</li>
<li><a
href="https://github.com/rust-ndarray/ndarray/commit/6e02f15c7f9fb6a02b3abfa0b2e82e294c2d2878"><code>6e02f15</code></a>
Configure docs for feature gates globally (<a
href="https://redirect.github.com/rust-ndarray/ndarray/issues/1565">#1565</a>)</li>
<li><a
href="https://github.com/rust-ndarray/ndarray/commit/d573745d6adee1e96aca8a6d9f47cd48316d331b"><code>d573745</code></a>
Rename Layout to LayoutBitset (<a
href="https://redirect.github.com/rust-ndarray/ndarray/issues/1563">#1563</a>)</li>
<li><a
href="https://github.com/rust-ndarray/ndarray/commit/13a896372175d94215852f4197bacbcb75f918bb"><code>13a8963</code></a>
Add PartialEq implementations between ArrayRef and ArrayBase (<a
href="https://redirect.github.com/rust-ndarray/ndarray/issues/1557">#1557</a>)</li>
<li><a
href="https://github.com/rust-ndarray/ndarray/commit/e039158c5a09ddd111676565013d53b4d3d0fc6a"><code>e039158</code></a>
Add additional commits to ignore on git blame (<a
href="https://redirect.github.com/rust-ndarray/ndarray/issues/1562">#1562</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-ndarray/ndarray/compare/0.16.1...0.17.2">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 bc30142 commit 9f098cb
2 files changed
Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments