Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0c11fd6

Browse filesBrowse files
committed
DOC: add the changelog for the 2.4 release
1 parent 25cb477 commit 0c11fd6
Copy full SHA for 0c11fd6

File tree

Expand file treeCollapse file tree

1 file changed

+45
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+45
-0
lines changed

‎docs/changelog.md

Copy file name to clipboardExpand all lines: docs/changelog.md
+45Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,50 @@
11
# Changelog
22

3+
## 2.4.0 (XXX)
4+
5+
### Major Changes
6+
7+
- The array object no longer defines `__array__`, and conversion to NumPy relies on the
8+
buffer protocol, `__buffer__` instead. This change should be completely transparent to
9+
users. Please report any issues this change causes however.
10+
11+
- Support for Python versions 3.9-3.11 was dropped. The minimum supported Python
12+
versions is now 3.12.
13+
14+
15+
### Minor Changes
16+
17+
- `asarray` no longer accepts nested sequences of arrays. This is consistent with the
18+
standard, which only allows _a (possibly nested) sequence of Python scalars_. In most
19+
cases, this requires changing `asarray(list_of_arrays)` to `stack(list_of_arrays)`.
20+
Note that this effectively disallows code such as
21+
`asarray([x[i] for i in range(x.shape[0]])` since indexing 1D arrays produces 0D
22+
arrays, not python scalars.
23+
24+
- Fix fancy indexing in a mult-device setting. The indexed arrays and all indexer arrays
25+
must be the same device. Otherwise, an error is raised.
26+
27+
- Make `finfo` and `iinfo` accept arrays or dtypes, as required by the standard.
28+
29+
- Make `roll` only accept integers and tuples for the `shift` argument.
30+
31+
- Make `reshape` only accept tuples for the `shape` argument.
32+
33+
- Make testing of array iteration compatible with Python 3.14.
34+
35+
36+
### Contributors
37+
38+
The following users contributed to this release:
39+
40+
Lumir Balhar,
41+
Evgeni Burovski,
42+
Joren Hammudoglu
43+
Tim Head,
44+
Guido Imperiale,
45+
Lucy Liu
46+
47+
348
## 2.3.1 (2025-03-20)
449

550
This is a bugfix release with no new features compared to 2.3. This release fixes an

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.