Skip to content

Commit 8546f26

Browse files
committed
Getting ready for release 0.5.2
1 parent 200b5fb commit 8546f26

File tree

3 files changed

+20
-8
lines changed

3 files changed

+20
-8
lines changed

ANNOUNCE.rst

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
1-
Announcing python-blosc2 0.5.0
1+
Announcing python-blosc2 0.5.2
22
==============================
33

4-
This is a major release introducing new `pack_tensor`, `unpack_tensor`,
5-
`save_tensor` and `load_tensor` functions for serializing/deserializing
6-
PyTorch and TensorFlow tensor objects. They also understand NumPy arrays,
7-
so these are the new recommended ones for serialization.
4+
This is a minor release where it honors now nested `cparams` properties in
5+
kwargs for most of the functions. So e.g. you can write:
6+
7+
```
8+
blosc2.save_tensor(a, "test.bl2", mode="w",
9+
filters=[blosc2.Filter.TRUNC_PREC, blosc2.Filter.BITSHUFFLE],
10+
filters_meta=[13, 0],
11+
codec=blosc2.Codec.LZ4,
12+
clevel=9)
13+
```
14+
15+
without a need to build a proper `cparams` dict first.
816

917
For more info, you can have a look at the release notes in:
1018

RELEASE_NOTES.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
# Release notes
22

3-
## Changes from 0.5.0 to 0.5.1
3+
## Changes from 0.5.1 to 0.5.2
4+
5+
* Honor nested cparams properties in kwargs.
6+
7+
* C-Blosc2 upgraded to 2.4.3. It should improve cratio for BloscLZ in combination with bitshuffle.
48

5-
XXX version-specific blurb XXX
9+
* Prefer pack_tensor/save_tensor in benchs and examples
610

711

812
## Changes from 0.5.0 to 0.5.1

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.5.2.dev0
1+
0.5.2

0 commit comments

Comments
 (0)