From 38d5389de5c7e4066340d62111bad853e8810710 Mon Sep 17 00:00:00 2001 From: Evgeni Burovski Date: Sun, 25 Oct 2026 18:46:49 +0100 Subject: [PATCH 1/2] DOC: add a 1.16 changelog entry --- docs/changelog.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/docs/changelog.md b/docs/changelog.md index ac74d32d..fc6fa126 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,5 +1,36 @@ # Changelog +## 1.16.0 (2026-10-25) + +### New features + +- New helpers for the `mparray` library have been added: `is_mparray_array` and + `is_mparray_namespace`. +- New helpers for the `dpnp` library have been added: `is_dpnp_array` and + `is_dpnp_namespace`. +- `torch.reshape` now implements `copy=` arguments. +- Pytorch binary functions have been wrapped to accept (array, python scalar) pairs. + +### Perfomance and other improvements + +- Performance of `numpy.clip` has been improved +- `numpy.reshape` uses the native numpy `reshape` function for `numpy >= 2.1` +- Multiple `fft` functions avoid an unneccessary copy, which improves performance + and memory consumption +- `py.typed` marker is included in the installed package. + +### The following users contributed to this release: + +Raashish Aggarwal, +Evgeni Burovski, +Lucas Colley, +Stanley C, +Matt Haberland, +Tim Head, +Chris Ninham, +Laslo Ruhberg. + + ## 1.15.0 (2026-06-07) ### Major changes From f95b0f8b79427649e442875e9566a1a53a4a9ce1 Mon Sep 17 00:00:00 2001 From: Evgeni Burovski Date: Sun, 25 Oct 2026 19:02:03 +0100 Subject: [PATCH 2/2] REL: bump the version to 1.16.0 --- meson.build | 2 +- pyproject.toml | 2 +- src/array_api_compat/__init__.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/meson.build b/meson.build index 1d3accf4..e9696dff 100644 --- a/meson.build +++ b/meson.build @@ -1,6 +1,6 @@ project( 'array_api_compat', - version: '1.16.0.dev0', + version: '1.16.0', license: 'MIT', license_files: ['LICENSE'] ) diff --git a/pyproject.toml b/pyproject.toml index 7d52337d..dcbacf15 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "mesonpy" [project] name = "array-api-compat" -version = "1.16.0.dev0" +version = "1.16.0" description = "A wrapper around NumPy and other array libraries to make them compatible with the Array API standard" readme = "README.md" requires-python = ">=3.10" diff --git a/src/array_api_compat/__init__.py b/src/array_api_compat/__init__.py index f7cef8d8..62e1a2f4 100644 --- a/src/array_api_compat/__init__.py +++ b/src/array_api_compat/__init__.py @@ -17,6 +17,6 @@ this implementation for the default when working with NumPy arrays. """ -__version__ = '1.16.0.dev0' +__version__ = '1.16.0' from .common import * # noqa: F403