Releases: pauldmccarthy/indexed_gzip
Releases · pauldmccarthy/indexed_gzip
1.5.1
Changes in this release:
- Minor adjustments to some unit tests.
1.5.0
1.4.0
Changes in this release:
- Fixed a bug in the pickling/copying logic in the
IndexedGzipFile
class (#50, #51) - New
indexed_gzip.open
function, which just creates and returns anIndexedGzipFile
. - When creating an
IndexedGzipFile
, the first argument (filename
) may be either a file name, or an open file handle (#49, #53). - Migrated CI testing and building to Github Actions (#52).
- Binary wheels for Windows now have ZLIB statically compiled in as part of the wheel, so ZLIB no longer needs to be installed (#43, #52).
1.3.3
Changes in this release:
- Adjusted the
ZranError
exception type to sub-class fromIOError
, to ease support fornibabel
. - Fixed a bug related to concatenated GZIP files which would occur when the read buffer ran out of space at the point where a stream boundary occurred.
1.3.2
Changes in this release:
- Adjusted the
NoHandleError
andNotCoveredError
types to sub-class fromValueError
, to preserve backwards compatibility with older versions ofnibabel
.
1.3.1
Changes in this release:
- Reverted the error type raised by the
IndexedGzipFile.seek
toValueError
, asnibabel
assumes that theseek
method of file objects raise aValueError
ifSEEK_END
is not supported.
v1.3.0: Merge pull request #37 from pauldmccarthy/enh/seek_end
Changes in this release:
- The
IndexedGzipFile.seek
method now accepts seeking from the end of uncompressed stream viaSEEK_END
, as long as the index has been built (#37).
1.2.0
Changes in this release:
- New
IndexedGzipFile.seek_points
method, which returns the compressed and
uncompressed seek point locations.
1.1.0
Changes in this release:
IndexedGzipFile
objects are now picklable, as long as they are created with the default setting ofdrop_handles=True
, and with afilename
and not an openfileobj
(#28, #31).- Changed the return type of
zran_tell
fromlong
touint64_t
, because the former is not guaranteed to be 64 bit (#29, #30). - Changed the
zran_index_t.compressed_size
anduncompressed_size
fields fromsize_t
touint64_t
because the former is not guaranteed to be 64 bit.
1.0.0
Changes in this release:
- Removed the deprecated
fid
argument to theIndexedGzipFile
constructor. - Removed the
SafeIndexedGzipFile
.