Skip to content

Commit bda6160

Browse files
committed
Getting ready for release 3.2.1
1 parent cc3975f commit bda6160

File tree

4 files changed

+26
-14
lines changed

4 files changed

+26
-14
lines changed

ANNOUNCE.rst

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
Announcing Python-Blosc2 3.2.0
1+
Announcing Python-Blosc2 3.2.1
22
==============================
33

4-
This is a minor release where we fixed some bugs related with the
5-
maximum type size supported by Blosc2; now, the maximum size is
6-
512 MB (compared to 255 bytes in previous versions). We are also
7-
introducing WASM32 wheels for the first time.
4+
Here, all array containers in Blosc2 implement the ``__array_interface__``
5+
protocol to expose the data in the array. This allows for better
6+
interoperability with other libraries like NumPy, CuPy, etc. Now, the range
7+
of functions spans to most of NumPy functions, including reductions.
88

9-
We also added new ``blosc2.matmul()`` function for computing matrix
10-
multiplication on NDArray instances. We blogged about this at:
11-
https://www.blosc.org/posts/optimizing-chunks-blosc2/
12-
Thanks to Ricardo Sales Piquer, our new intern, for his contribution
13-
to this feature.
9+
See examples at: https://github.com/Blosc/python-blosc2/blob/main/examples/ndarray/jit-numpy-funcs.py
10+
See benchmarks at: https://github.com/Blosc/python-blosc2/blob/main/bench/ndarray/jit-numpy-funcs.py
11+
12+
We have also improved the performance of constructors like ``blosc2.linspace()``
13+
or ``blosc2.arange()`` by a factor of up to 3x for large arrays.
1414

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

@@ -20,7 +20,6 @@ You can think of Python-Blosc2 3.x as an extension of NumPy/numexpr that:
2020
- Supports NumPy ufunc mechanism: mix and match NumPy and Blosc2 computations.
2121
- Integrates with Numba and Cython via UDFs (User Defined Functions).
2222
- Adheres to modern NumPy casting rules way better than numexpr.
23-
- Computes expressions only when needed. They can also be stored for later use.
2423
- Supports linear algebra operations (like ``blosc2.matmul()``).
2524

2625
Install it with::

RELEASE_NOTES.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,20 @@
22

33
## Changes from 3.2.0 to 3.2.1
44

5-
XXX version-specific blurb XXX
5+
* The array containers are now using the `__array_interface__` protocol to
6+
expose the data in the array. This allows for better interoperability with
7+
other libraries that support the `__array_interface__` protocol, like NumPy,
8+
CuPy, etc. Now, the range of functions that can be used within the `blosc2.jit`
9+
decorator is way larger, and essentially all NumPy functions should work now.
10+
11+
See examples at: https://github.com/Blosc/python-blosc2/blob/main/examples/ndarray/jit-numpy-funcs.py
12+
See benchmarks at: https://github.com/Blosc/python-blosc2/blob/main/bench/ndarray/jit-numpy-funcs.py
13+
14+
* The performance of constructors like `arange()`, `linspace()` and `fromiter()`
15+
has been improved. Now, they can be up to 3x faster, specially with large
16+
arrays.
17+
18+
* C-Blosc2 updated to 2.17.1. This fixes various UB as well as compiler warnings.
619

720
## Changes from 3.1.1 to 3.2.0
821

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ dependencies = [
4040
"py-cpuinfo; platform_machine != 'wasm32'",
4141
"requests",
4242
]
43-
version = "3.2.1.dev0"
43+
version = "3.2.1"
4444

4545

4646
[project.optional-dependencies]

src/blosc2/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "3.2.1.dev0"
1+
__version__ = "3.2.1"

0 commit comments

Comments
 (0)