Skip to content

Commit 7cf39b6

Browse files
committed
Getting ready for release 2.3.0
1 parent 5782a14 commit 7cf39b6

File tree

3 files changed

+20
-8
lines changed

3 files changed

+20
-8
lines changed

ANNOUNCE.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
# Announcing C-Blosc2 2.2.0
1+
# Announcing C-Blosc2 2.3.0
22
A fast, compressed and persistent binary data store library for C.
33

44
## What is new?
55

66
The Blosc development team is happy to announce a new release of C-Blosc2.
7-
In this release, we are including new API functions and fixes for a series
8-
of bugs related with appends and insertions of chunks in super-chunks.
9-
Also important, now linking against an external zlib-ng compiled with native
10-
API is supported.
7+
In order to allow to compile with both C-Blosc and C-Blosc2 libraries,
8+
a new API has been created for the overlapping symbols and function names.
9+
Also, we have fixed the conversion between super-chunks and frames.
1110

1211
C-Blosc2 should be backward compatible with C-Blosc, so you can start using
1312
it right away and increasingly start to use its new functionality, like the

RELEASE_NOTES.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ Changes from 2.2.0 to 2.3.0
77
* [API change] In order to allow to compile with both C-Blosc and C-Blosc2 libraries, a new API has been created for the symbols and function names that had collisions. Here are the changed symbols and functions:
88

99
* Blosc2 symbols that take different values than in Blosc1:
10+
- BLOSC_VERSION_MAJOR -> BLOSC2_VERSION_MAJOR
11+
- BLOSC_VERSION_MINOR -> BLOSC2_VERSION_MINOR
12+
- BLOSC_VERSION_RELEASE -> BLOSC2_VERSION_RELEASE
13+
- BLOSC_VERSION_STRING -> BLOSC2_VERSION_STRING
14+
- BLOSC_VERSION_DATE -> BLOSC2_VERSION_DATE
1015
- BLOSC_MAX_OVERHEAD -> BLOSC2_MAX_OVERHEAD
1116
- BLOSC_MAX_BUFFERSIZE -> BLOSC2_MAX_BUFFERSIZE
1217

@@ -37,7 +42,10 @@ Changes from 2.2.0 to 2.3.0
3742
- blosc_cbuffer_versions -> blosc2_cbuffer_versions
3843
- blosc_cbuffer_complib -> blosc2_cbuffer_complib
3944

40-
To compile with the previous API (corresponding to C-Blosc2 pre-2.3.0), it is enough to define the `BLOSC1_COMPAT` symbol in your C-Blosc2 app.
45+
It is recommended to migrate to the new API as soon as possible. In the meanwhile, you can still compile with the previous API (corresponding to C-Blosc2 pre-2.3.0), by defining the `BLOSC1_COMPAT` symbol in your C-Blosc2 app (before including the 'blosc2.h' header).
46+
47+
* Fixed some issues in converting from super-chunks to frames and back. Now it is possible to do a rountrip without (known) problems.
48+
4149

4250
Changes from 2.1.1 to 2.2.0
4351
===========================

include/blosc2.h

+7-2
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ extern "C" {
5151
// For compatibility with the Blosc 1.x series
5252
#ifdef BLOSC1_COMPAT
5353
// Blosc2 symbols that should be accessible from Blosc 1.x API
54+
#define BLOSC2_VERSION_MAJOR BLOSC_VERSION_MAJOR
55+
#define BLOSC2_VERSION_MINOR BLOSC_VERSION_MINOR
56+
#define BLOSC2_VERSION_RELEASE BLOSC_VERSION_RELEASE
57+
#define BLOSC2_VERSION_STRING BLOSC_VERSION_STRING
58+
#define BLOSC2_VERSION_DATE BLOSC_VERSION_DATE
5459
#define BLOSC2_MAX_OVERHEAD BLOSC_MAX_OVERHEAD
5560
#define BLOSC2_MAX_BUFFERSIZE BLOSC_MAX_BUFFERSIZE
5661

@@ -88,8 +93,8 @@ extern "C" {
8893
#define BLOSC2_VERSION_MINOR 3 /* for minor interface/format changes */
8994
#define BLOSC2_VERSION_RELEASE 0 /* for tweaks, bug-fixes, or development */
9095

91-
#define BLOSC2_VERSION_STRING "2.3.0.dev" /* string version. Sync with above! */
92-
#define BLOSC2_VERSION_DATE "$Date:: 2022-08-09 #$" /* date version */
96+
#define BLOSC2_VERSION_STRING "2.3.0" /* string version. Sync with above! */
97+
#define BLOSC2_VERSION_DATE "$Date:: 2022-08-18 #$" /* date version */
9398

9499

95100
/* The maximum number of dimensions for caterva arrays */

0 commit comments

Comments
 (0)