Releases: Blosc/python-blosc2
Release 3.10.2
Changes from 3.10.1 to 3.10.2
- LazyExpr.compute() now honors the
outparameter for regular expressions (and not only for reductions). See PR #506.
Blosc2 v3.10.1
What's Changed
- Python 3.14 by @DimitriPapadopoulos in #504
- Minor pre-commit changes by @DimitriPapadopoulos in #505
- Optimisations and fixes for lazy expression evaluation
- Bumped requirement for numexpr to version 2.14.1 for improved tan/tanh overflow behaviour
- Now able to use blosc2 in AWS Lambda
Blosc2 v3.10.0
What's Changed
- Update documentation for thread management by @orena1 in #495
- Update pre-commit hooks by @pre-commit-ci[bot] in #498
- Add general lazy evaluation for all blosc2 functions by @lshaw8317 in #496
- Improve inheritance by @lshaw8317 in #500
New Contributors
Full Changelog: v3.9.1...v3.10.0
Blosc2 v3.9.1
Changes from 3.9.0 to 3.9.1
- Bumped to numexpr 2.13.1 to incorporate new maximum/minimum NaN handling and +/* for booleans
which matches NumPy behaviour. - Refactoring in order to ensure Blosc2 functions with NumPy 1.26.
- Streamlined documentation by introducing Array Protocol
Blosc2 v3.9.0
Most changes come from PR #467 relating to array-api compliance.
-
C-Blosc2 internal library updated to latest 2.21.3, increasing MAX_DIMS from 8 to 16
-
numexpr version requirement pushed to 2.13.0 to incorporate
round,sign,signbit,copysign,nextafter,hypot,maximum,minimum,trunc,log2functions, as well as allow integer outputs for certain functions when integr arguments are passed. We also add floor division (//) and full dual bitwise (logical) AND, OR, XOR, NOT
support for integer (bool) arrays. -
Extended linear algebra functionality, offering generalised matrix multiplication for arrays of arbitrary dimension via
tensordotand an improvedmatmul. In addition, introducedvecdot,diagonalandouter, as well as useful indexing and associated functions such astake,take_along_axis,meshgridandbroadcast_to. -
Added many ufuncs and methods (around 60) to
NDArrayto bring the library into further alignment with the array-api. Introduced a chunkwise lazyudf paradigm which is very powerful in order to implementclipandlogaddexp. -
Fixed a subtle but important bug for
expand_dims(PR #479, PR #483) relating to reference counting for views. -
Various typos and other fixes due to @DimitriPapadopoulos !
Blosc2 v3.8.0
What's Changed
- Bump actions/checkout from 4 to 5 by @dependabot[bot] in #458
- Add
as_ffi_ptrto NDArray by @barakugav in #460 - Fancy index by @lshaw8317 in #459
- Bump actions/setup-python from 5 to 6 by @dependabot[bot] in #463
- Update pre-commit hooks by @pre-commit-ci[bot] in #462
- Array api by @lshaw8317 in #461
New Contributors
- @barakugav made their first contribution in #460
Full Changelog: v3.7.2...v3.8.0
Release 3.7.2
Changes from 3.7.1 to 3.7.2
-
C-Blosc2 internal library updated to latest 2.21.1.
-
Revert signature of
TreeStore.__init__for making benchmarks to get back
to normal performance.
Release 3.7.1
Changes from 3.7.0 to 3.7.1
-
Added
C2Array.slice()method andC2Array.nbytes,C2Array.cbytes,C2Array.cratio,C2Array.vlmetaandC2Array.infoproperties (PR #455). -
Many usability improvements to the
TreeStoreclass and friends. -
New section about
TreeStorein basics NDArray tutorial. -
New blog post about
TreeStoreusage and performance at: https://www.blosc.org/posts/new-treestore-blosc2 -
C-Blosc2 internal library updated to latest 2.21.0.
Blosc2 v3.7.0
Changes from 3.6.1 to 3.7.0
-
Overhaul of documentation (API reference and Tutorials)
-
Improvements to lazy expression indexing and in particular much more efficient memory usage when applying non-unit steps (PR #446).
-
Extended functionality of
expand_dimsto match that of NumPy (note that this breaks the previous API) (PR #453). -
The biggest change is in the form of three new data storage classes (
EmbedStore,DictStoreandTreeStore) which allow for the efficient storage of heterogeneous array data (PR #451).EmbedStoreis essentially anSChunkwrapper which can be stored on-disk or in-memory;DictStoreallows for mixed storage across memory, disk or indeed remote; andTreeStoreis a hieracrhically-formatted version ofDictStorewhich mimics the HDF5 file format. Write, access and storage performance are all very competitive with other packages - see plots here.
Blosc2 v3.6.1
Changes in Blosc2 3.6.1
- Point to C-blosc2 v2.19.1
Changes from Blosc2 3.6.0
-
Expose the oindex C-level functionality in Blosc2 for NDArray.
-
Implement fancy indexing which closely matches NumPy functionality, using ndindex library. Includes a fast path for 1D arrays, based on Zarr's implementation.
-
A major refactoring of slicing for lazy expressions using ndindex. We have also added support for slices with non-unit steps for reduction expressions, which has introduced improvements that could be incorporated into other lazy expression machinery in the future.
-
More complex slicing is now supported.
-
Minor bug fixes to ensure that Blosc2 indexing does not introduce dummy dimensions when NumPy does not, and a more comprehensive squeeze function which squeezes specified dimensions.