Skip to content

Releases: tskit-dev/kastore

0.3.3

25 Jun 09:42
866b3a6
Compare
Choose a tag to compare

Maintenance release:

  • Support for numpy 1.x and 2.x
  • Require Python >= 3.9

Python 0.3.2

11 Jul 23:55
2279d2d
Compare
Choose a tag to compare

Upgrade build system to build module. Fixes numpy version inconsistency as sdist didn't
specify oldest-supported-numpy. (@benjeffery, #190, #191)

C_2.1.1

01 Mar 15:02
85fb640
Compare
Choose a tag to compare

C API Release 2.1.1

  • Minor bug-release and maintenance update.

  • Fix assertion triggered when NULL was passed along with KAS_BORROWS_ARRAY.
    (@benjeffery, #185)

  • Move VERSION to VERSION.txt to prevent issues on macos.
    (@benjeffery, #187, #186)

C_2.1.0

26 Jan 14:23
Compare
Choose a tag to compare

C API Release 2.1.0

  • Add flag KAS_BORROWS_ARRAY to put. When specified kastore will not copy
    or free the array, which must persist for the life of the store.
    (@benjeffery, #181, #180).

  • Add flag KAS_GET_TAKES_OWNERSHIP to open. If specified all get
    operations will transfer ownership of the array to the caller.
    kastore will not free the array memory and this is the
    responsibility of the caller.
    (@benjeffery, #179, #176)

Minor maintenance release

01 Dec 14:48
4e9bfc2
Compare
Choose a tag to compare

Minor updates to C packaging and meson configuration.

C 2.0.1

26 Nov 00:55
79fd028
Compare
Choose a tag to compare

Minor bug-release and maintenance update.

Bug fixes

  • Fix an overflow in an internal flags value on platforms with 16 bit int types (@jeromekelleher, #153).

  • Fix a bug in which error conditions were not reported in appen mode if an error occurred when closing the temporary file used to read the data. (@jeromekelleher, #160, #164).

sha256sum

  • eedd3af700f6adf2be01e2f2b768a167452edc35d0b468c9647b232864e9a65a kastore-2.0.1.tar.gz

Python 0.3.1

06 Jul 00:37
0dcfc60
Compare
Choose a tag to compare

Bugfix for packaging on conda.

Python 0.3.0

23 May 13:24
4a5e9f3
Compare
Choose a tag to compare

New features

  • Support for file-like objects in dump/load and remove
    file seeks. This allows reading from pipes/FIFOs etc
    (@grahamgower #88).

  • Add loads and dumps functions that operate on
    strings (@jeromekelleher, #88)

Breaking changes

  • The filename named argument to load/dump has been changed to
    file to reflect the support for file objects.

  • Minimum python version is now 3.6.

C API 2.0.0

23 May 12:53
c83e232
Compare
Choose a tag to compare
  • Major file version bumped because new fields were added to the kastore_t
    struct, leading to potential ABI breakage. No API breakage should occur.

New features

  • Add kastore_openf function to support FILE objects, and remove
    file seeks. This allows reading from pipes/FIFOs, and allows
    multiple stores to read from the same stream. (@grahamgower, #88)

API additions

28 Mar 14:03
67c5a6a
Compare
Choose a tag to compare
  • Add contains function
  • Add oput variants that transfer ownership of buffer.