Skip to content

Commit

Permalink
Getting ready for release 2.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescAlted committed Sep 30, 2022
1 parent 08cafcf commit 9996f46
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
13 changes: 4 additions & 9 deletions ANNOUNCE.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
# Announcing C-Blosc2 2.4.1
# Announcing C-Blosc2 2.4.2
A fast, compressed and persistent binary data store library for C.

## What is new?

The Blosc development team is happy to announce a new release of C-Blosc2.
We are introducing a new pair of `blosc2_schunk_get_slice_buffer()` and
`blosc2_schunk_set_slice_buffer()` functions for getting and setting slices
from/to a super-chunk.

Also, a new `blosc2_schunk_avoid_cframe_free()` for avoiding the free of a
cframe when destroying a super-chunk. Mainly useful for situations where you
build a super-chunk out of an existing cframe, so you don't want it to be freed
automatically.
This is a maintenance release where we have fixed the BLOSC1_COMPAT mode,
different issues with special chunks during cframe creation and last but not
least, several optimizations for `blosc2_schunk_get_slice_buffer()`.

C-Blosc2 should be backward compatible with C-Blosc, so you can start using
it right away and increasingly start to use its new functionality, like the
Expand Down
8 changes: 7 additions & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@ Release notes for C-Blosc2 2.4.2
Changes from 2.4.1 to 2.4.2
===========================

#XXX version-specific blurb XXX#
* Fixed BLOSC1_COMPAT mode. If the symbol `BLOSC1_COMPAT` is defined, one should actually get a correct map for the BLOSC1 API now. Thanks to @MehdiChinoune for pointing this out.

* Optimizations for `blosc2_schunk_get_slice_buffer()`. Now more caution has been put in avoiding memcpy's as much as possible.

* Now `blosc2_set_nthreads()` also modifies the schunk compression and decompression defaults.

* Several other fixes, specially when converting schunks to cframe format.


Changes from 2.4.0 to 2.4.1
Expand Down
4 changes: 2 additions & 2 deletions include/blosc2.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ extern "C" {
#define BLOSC2_VERSION_MINOR 4 /* for minor interface/format changes */
#define BLOSC2_VERSION_RELEASE 2 /* for tweaks, bug-fixes, or development */

#define BLOSC2_VERSION_STRING "2.4.2.dev" /* string version. Sync with above! */
#define BLOSC2_VERSION_DATE "$Date:: 2022-09-16 #$" /* date version */
#define BLOSC2_VERSION_STRING "2.4.2" /* string version. Sync with above! */
#define BLOSC2_VERSION_DATE "$Date:: 2022-09-30 #$" /* date version */


/* The maximum number of dimensions for caterva arrays */
Expand Down

0 comments on commit 9996f46

Please sign in to comment.