Skip to content

Commit a502f1c

Browse files
committed
Getting ready for release 3.9.0
1 parent c19fef6 commit a502f1c

File tree

4 files changed

+34
-15
lines changed

4 files changed

+34
-15
lines changed

ANNOUNCE.rst

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,20 @@ Announcing Python-Blosc2 3.8.0
44
This is a minor version release where we have aimed to make the first steps
55
towards complying fully with the array-api standard:
66

7-
✅ C-Blosc2 internal library updated to latest 2.21.2.
7+
✅ C-Blosc2 internal library updated to latest 2.21.3.
88

9-
✅ numexpr version requirement pushed to 2.12.1 to incorporate
10-
``isnan``, ``isfinite``, ``isinf`` functions.
9+
✅ numexpr version requirement pushed to 2.3.0 to incorporate
10+
``round``, ``sign``, ``signbit``, ``copysign``, ``nextafter``, ``hypot``,
11+
``maximum``, ``minimum``, ``trunc``, ``log2``, ``//`` and bitwise AND/OR/XOR/NOT.
1112

12-
✅ Indexing is now supported extensively and reasonably optimally for slices
13-
with negative steps, general boolean arrays and fancy indices, with both get/setitem having
14-
equal functionality. In PR #459 we extended the 1D fast path to general N-D,
15-
with consequent speedups. In PR #461 we allowed fancy indexing and general slicing
16-
with negative steps for set and getitem, with a memory-optimised path for setitem.
13+
✅ Enhanced linear algebra via ``tensordot``, extended ``matmul``, ``vecdot``, ``diagonal``,
14+
``outer``, as well as ``broadcast_to`` and ``meshgrid``.
15+
16+
✅ Roughly 60 attributes and methods for the ``NDArray`` class, as well as functions, have
17+
been added to increase compliance with the array-api standard, with ufuncs now very well supported.
18+
19+
✅ A subtle bug which caused ``arr = blosc2.expand_dims(arr)`` to fail has been fixed.
1720

18-
✅ Various attributes and methods for the ``NDArray`` class, as well as functions, have
19-
been added to increase compliance with the array-api standard. In addition,
20-
linspace and arange functions have been made more numerically stable and now strictly
21-
comply even with difficult floating-point edge cases.
2221

2322
You can think of Python-Blosc2 3.x as an extension of NumPy/numexpr that:
2423

RELEASE_NOTES.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,29 @@
11
# Release notes
22

3-
## Changes from 3.8.0 to 3.8.1
3+
## Changes from 3.9.0 to 3.9.1
44

55
XXX version-specific blurb XXX
66

7+
## Changes from 3.8.0 to 3.9.0
8+
Most changes come from PR #467 relating to array-api compliance.
9+
10+
* C-Blosc2 internal library updated to latest 2.21.3, increasing MAX_DIMS from 8 to 16
11+
12+
* numexpr version requirement pushed to 2.13.0 to incorporate
13+
``round``, ``sign``, ``signbit``, ``copysign``, ``nextafter``, ``hypot``,
14+
``maximum``, ``minimum``, ``trunc``, ``log2`` functions, as well as allow
15+
integer outputs for certain functions when integr arguments are passed.
16+
We also add floor division (``//``) and full dual bitwise (logical) AND, OR, XOR, NOT
17+
support for integer (bool) arrays.
18+
19+
* Extended linear algebra functionality, offering generalised matrix multiplication
20+
for arrays of arbitrary dimension via ``tensordot`` and an improved ``matmul``. In addition,
21+
introduced ``vecdot``, ``diagonal`` and ``outer``, as well as useful indexing and associated functions such as ``take``, ``take_along_axis``, ``meshgrid`` and ``broadcast_to``.
22+
23+
* Added many ufuncs and methods (around 60) to ``NDArray`` to bring the library into further alignment with the array-api. Introduced a chunkwise lazyudf paradigm which is very powerful in order to implement ``clip`` and ``logaddexp``.
24+
25+
* Fixed a subtle but important bug for ``expand_dims`` (PR #479, PR #483) relating to reference counting for views.
26+
727
## Changes from 3.7.2 to 3.8.0
828

929
* C-Blosc2 internal library updated to latest 2.21.2.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ dependencies = [
4141
"py-cpuinfo; platform_machine != 'wasm32'",
4242
"requests",
4343
]
44-
version = "3.8.1.dev0"
44+
version = "3.9.0"
4545
[project.entry-points."array_api"]
4646
blosc2 = "blosc2"
4747

src/blosc2/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
__version__ = "3.8.1.dev0"
1+
__version__ = "3.9.0"
22
__array_api_version__ = "2024.12"

0 commit comments

Comments
 (0)