Skip to content

Commit

Permalink
[version] Bump rapidgzip version to 0.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mxmlnkn committed Jan 7, 2024
1 parent 3006138 commit ecd823b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 5 deletions.
15 changes: 15 additions & 0 deletions python/rapidgzip/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@

# Version 0.12.0 built on 2024-01-07

## Added

- Add support for zlib and raw deflate files.
- Add `--oss-attributions-yaml` command line option to generate a Conda-compatible `THIRDPARTY.yml`.

## API

- Add `rapidgzip::VERSION` and other preprocessor version macros.
- Add `setDeflateStreamCRC32s` and `addDeflateStreamCRC32` for providing CRC32s for raw deflate streams.
- Add `RapidgzipFile.file_type` getter and `determineFileType` to get the determined file type.
Currently, it is one of the values `GZIP`, `BGZF`, `ZLIB`, `DEFLATE`, `None`.


# Version 0.11.2 built on 2024-01-06

## Fixes
Expand Down
2 changes: 1 addition & 1 deletion python/rapidgzip/setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = rapidgzip
version = 0.11.2
version = 0.12.0

description = Parallel random access to gzip files
url = https://github.com/mxmlnkn/rapidgzip
Expand Down
8 changes: 4 additions & 4 deletions src/rapidgzip/rapidgzip.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@


#define RAPIDGZIP_VERSION_MAJOR 0
#define RAPIDGZIP_VERSION_MINOR 11
#define RAPIDGZIP_VERSION_PATCH 2
#define RAPIDGZIP_VERSION_MINOR 12
#define RAPIDGZIP_VERSION_PATCH 0
#define RAPIDGZIP_VERSION_FROM_SEMVER( a, b, c ) ( a * 0x10000 + b * 0x100 + c )
#define RAPIDGZIP_VERSION \
RAPIDGZIP_VERSION_FROM_SEMVER( RAPIDGZIP_VERSION_MAJOR, RAPIDGZIP_VERSION_MINOR, RAPIDGZIP_VERSION_PATCH )
Expand All @@ -28,8 +28,8 @@ static constexpr std::array<uint8_t, 3> VERSION = {


static const std::string VERSION_STRING{
std::to_string( RAPIDGZIP_VERSION_MAJOR ) + '.'
std::to_string( RAPIDGZIP_VERSION_MINOR ) + '.'
std::to_string( RAPIDGZIP_VERSION_MAJOR ) + '.' +
std::to_string( RAPIDGZIP_VERSION_MINOR ) + '.' +
std::to_string( RAPIDGZIP_VERSION_PATCH )
};
} // namespace rapidgzip

0 comments on commit ecd823b

Please sign in to comment.