Skip to content

Releases: pauldmccarthy/indexed_gzip

1.5.1

19 Mar 17:43
571dcdc
Compare
Choose a tag to compare

Changes in this release:

  • Minor adjustments to some unit tests.

1.5.0

19 Mar 10:24
bc77b41
Compare
Choose a tag to compare

Changes in this release:

  • Added support for in-memory file-like objects (#55).
  • Fixed a bug whereby a segmentation fault could occur if an IndexedGzipFile was created with a path to a non-existent file (#56).

1.4.0

02 Jan 16:37
ea6fa91
Compare
Choose a tag to compare

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 an IndexedGzipFile.
  • 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

15 Nov 17:49
3470bda
Compare
Choose a tag to compare

Changes in this release:

  • Adjusted the ZranError exception type to sub-class from IOError, to ease support for nibabel.
  • 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

30 Jun 22:29
bd764b9
Compare
Choose a tag to compare

Changes in this release:

  • Adjusted the NoHandleError and NotCoveredError types to sub-class from ValueError, to preserve backwards compatibility with older versions of nibabel.

1.3.1

25 Jun 20:25
5797592
Compare
Choose a tag to compare

Changes in this release:

  • Reverted the error type raised by the IndexedGzipFile.seek to ValueError, as nibabel assumes that the seek method of file objects raise a ValueError if SEEK_END is not supported.

v1.3.0: Merge pull request #37 from pauldmccarthy/enh/seek_end

25 Jun 08:59
b13f3da
Compare
Choose a tag to compare

Changes in this release:

  • The IndexedGzipFile.seek method now accepts seeking from the end of uncompressed stream via SEEK_END, as long as the index has been built (#37).

1.2.0

14 May 14:56
Compare
Choose a tag to compare

Changes in this release:

  • New IndexedGzipFile.seek_points method, which returns the compressed and
    uncompressed seek point locations.

1.1.0

21 Apr 08:39
c101b64
Compare
Choose a tag to compare
1.1.0 Pre-release
Pre-release

Changes in this release:

  • IndexedGzipFile objects are now picklable, as long as they are created with the default setting of drop_handles=True, and with a filename and not an open fileobj (#28, #31).
  • Changed the return type of zran_tell from long to uint64_t, because the former is not guaranteed to be 64 bit (#29, #30).
  • Changed the zran_index_t.compressed_size and uncompressed_size fields from size_t to uint64_t because the former is not guaranteed to be 64 bit.

1.0.0

22 Feb 00:34
85e7f2a
Compare
Choose a tag to compare

Changes in this release:

  • Removed the deprecated fid argument to the IndexedGzipFile constructor.
  • Removed the SafeIndexedGzipFile.