Skip to content

Commit

Permalink
DOC: start adding a changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
ev-br committed Feb 3, 2025
1 parent 590a2de commit 336d38e
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,54 @@
# Changelog

## 2.3 (2025-XX-XX)

### Major Changes

- Binary elementwise functions now accept python scalars: the only requirement is that
at least one of the arguments must be an array; the other argument may be either
a python scalar or an array. Python scalars are handled in accordance with the
type promotion rules, as specified by the standard.
This change unifies the behavior of binary functions and their matching operators,
(where available), such as `multiply(x1, x2)` and `__mul__(self, other)`.

``where`` accepts array or scalars as its 2nd and 3rd arguments, ``x1`` and ``x2``. The first argument, ``condition``, must be an array.

- The following functions, new in the 2024.12 standard revision, are implemented:

- `count_nonzero`
- `cumulative_prod`


### Minor Changes

- `vecdot` now conjugates the first argument, in accordance with the standard.

- `astype` now raises a `TypeError` instead of casting a complex floating-point
array to a real-valued or an integral data type.

- `where` requires that its first argument, `condition` has a boolean data dtype,
and raises a `TypeError` otherwise.

- `isdtype` raises a `TypeError` is its argument is not a dtype object.

- arrays created with `from_dlpack` now correctly set their `device` attribute.

- `mean` accepts complex floating-point arrays.


### Contributors

The following users contributed to this release:

Aaron Meurer
Clément Robert
Guido Imperiale
Evgeni Burovski
Lucas Colley
Tim Head



## 2.2 (2024-11-11)

### Major Changes
Expand Down

0 comments on commit 336d38e

Please sign in to comment.