Skip to content

Commit 043eab4

Browse files
committed
Getting ready for release 2.2.0
1 parent 44792f2 commit 043eab4

File tree

3 files changed

+23
-12
lines changed

3 files changed

+23
-12
lines changed

ANNOUNCE.rst

+4-9
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
1-
Announcing Python-Blosc2 2.1.1
1+
Announcing Python-Blosc2 2.2.0
22
==============================
33

4-
We are happy to inform that we are introducing `NDArray`, a object for handling
5-
multidimensional arrays using compression. It includes:
6-
- Data type handling (fully compatible with NumPy)
7-
- Double partitioning
4+
We have added support for bytedelta, a new filter that normally leads to better compression ratios.
5+
We have blogged about bytedelta here: https://www.blosc.org/posts/bytedelta-enhance-compression-toolset/
86

9-
We have plenty of documentation on `blosc2.NDArray`:
10-
See examples at: https://github.com/Blosc/python-blosc2/tree/main/examples/ndarray
11-
NDarray docs at: https://www.blosc.org/python-blosc2/reference/ndarray_api.html
12-
Explanatory video on why double partitioning: https://youtu.be/LvP9zxMGBng
7+
We also have a short video on how bytedelta works: https://www.youtube.com/watch?v=5OXs7w2x6nw
138
Also, see our blog on C-Blosc2 NDim counterpart: https://www.blosc.org/posts/blosc2-ndim-intro/
149

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

RELEASE_NOTES.md

+18-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,24 @@
11
# Release notes
22

3-
## Changes from 2.1.1 to 2.1.2
3+
## Changes from 2.1.1 to 2.2.0
44

5-
XXX version-specific blurb XXX
5+
* New bytedelta filter. We have blogged about this: https://www.blosc.org/posts/bytedelta-enhance-compression-toolset/. See the examples/ndarray/bytedelta_filter.py for a sample script. We also have a short video on how bytedelta works: https://www.youtube.com/watch?v=5OXs7w2x6nw
6+
7+
* The compression defaults are changed to get a better balance between compression ratio, compression speed and decompression speed. The new defaults are:
8+
9+
- `cparams.typesize = 8`
10+
- `cparams.clevel = 1`
11+
- `cparams.compcode = Codec.ZSTD`
12+
- `filters = [Filter.SHUFFLE]`
13+
- `splitmode = SplitMode.ALWAYS_SPLIT`
14+
15+
These changes have been based on the mentioned blog post above.
16+
17+
* `dtype.itemsize` will have preference over typesize in cparams (as it was documented).
18+
19+
* `blosc2.compressor_list(plugins=False)` do not list codec plugins by default now. If you want to list plugins too, you need to pass `plugins=True`.
20+
21+
* Internal C-Blosc2 updated to latest version (2.8.0).
622

723

824
## Changes from 2.0.0 to 2.1.1

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.2.0.pre0
1+
2.2.0

0 commit comments

Comments
 (0)