Skip to content

chore(deps): bump ndarray from 0.16.1 to 0.17.2#14

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/ndarray-0.17.2
Open

chore(deps): bump ndarray from 0.16.1 to 0.17.2#14
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/ndarray-0.17.2

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github May 6, 2026

Bumps ndarray from 0.16.1 to 0.17.2.

Changelog

Sourced from ndarray's changelog.

Version 0.17.2 (2026-01-10)

Version 0.17.2 is mainly a patch fix to bugs related to the new ArrayRef implementation.

In addition, ndarray has reduced its packaging footprint to ease supply chain reviews (and shrink the binary size!). A special thanks to @​SwishSwushPow and @​weiznich for bringing this to our attention and making the necessary changes.

Added

Fixed

Documentation

Version 0.17.1 (2025-11-02)

Version 0.17.1 provides a patch to fix the originally-unsound implementation of the new array reference types.

The reference types are now all unsized. Practically speaking, this has one major implication: writing functions and traits that accept RawRef and LayoutRef will now need a + ?Sized bound to work ergonomically with ArrayRef. For example, the release notes for 0.17.0 said

Reading / Writing Shape: LayoutRef<A, D>

LayoutRef lets functions view or modify shape/stride information without touching data. This replaces verbose signatures like:

fn alter_view<S>(a: &mut ArrayBase<S, Ix1>)
where S: Data<Elem = f64>;

Use AsRef / AsMut for best compatibility:

fn alter_shape<T>(a: &mut T)
where T: AsMut<LayoutRef<f64>>;

However, these functions now need an additional bound to allow for callers to pass in &ArrayRef types:

fn alter_shape<T>(a: &mut T)
where T: AsMut<LayoutRef<f64>> + ?Sized; // Added bound here

A huge thank you to Sarah Quiñones (@​sarah-quinones) for catching the original unsound bug and helping to fix it. She does truly excellent work with faer-rs; check it out!

Version 0.17.0 (2025-10-14) [YANKED]

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels May 6, 2026
@dependabot dependabot Bot force-pushed the dependabot/cargo/ndarray-0.17.2 branch from 1aec145 to 8ce0bf5 Compare May 6, 2026 15:41
@raymondj99 raymondj99 force-pushed the main branch 3 times, most recently from 70af3f8 to ef01d51 Compare May 6, 2026 16:55
@dependabot dependabot Bot force-pushed the dependabot/cargo/ndarray-0.17.2 branch from 8ce0bf5 to 9b4cc01 Compare May 9, 2026 02:33
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented May 9, 2026

Merging this PR will not alter performance

✅ 19 untouched benchmarks


Comparing dependabot/cargo/ndarray-0.17.2 (370d91b) with main (11f7d3d)

Open in CodSpeed

@raymondj99 raymondj99 force-pushed the main branch 2 times, most recently from 9d415d5 to 470b8f4 Compare May 9, 2026 05:33
@dependabot dependabot Bot force-pushed the dependabot/cargo/ndarray-0.17.2 branch from 9b4cc01 to 9904bdd Compare May 13, 2026 06:04
@dependabot dependabot Bot changed the title chore(deps): Bump ndarray from 0.16.1 to 0.17.2 chore(deps): bump ndarray from 0.16.1 to 0.17.2 May 16, 2026
@dependabot dependabot Bot force-pushed the dependabot/cargo/ndarray-0.17.2 branch 2 times, most recently from 463bf0e to 1acccd6 Compare May 18, 2026 00:13
@raymondj99 raymondj99 force-pushed the main branch 2 times, most recently from 920a2b9 to cf0bdaa Compare May 18, 2026 00:35
@dependabot dependabot Bot force-pushed the dependabot/cargo/ndarray-0.17.2 branch from 1acccd6 to 06fbe9f Compare May 18, 2026 01:06
Bumps [ndarray](https://github.com/rust-ndarray/ndarray) from 0.16.1 to 0.17.2.
- [Release notes](https://github.com/rust-ndarray/ndarray/releases)
- [Changelog](https://github.com/rust-ndarray/ndarray/blob/master/RELEASES.md)
- [Commits](rust-ndarray/ndarray@0.16.1...0.17.2)

---
updated-dependencies:
- dependency-name: ndarray
  dependency-version: 0.17.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/cargo/ndarray-0.17.2 branch from 06fbe9f to 370d91b Compare May 18, 2026 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants