Releases: tskit-dev/kastore
0.3.3
Python 0.3.2
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
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
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 allget
operations will transfer ownership of the array to the caller.
kastore
will notfree
the array memory and this is the
responsibility of the caller.
(@benjeffery, #179, #176)
Minor maintenance release
Minor updates to C packaging and meson configuration.
C 2.0.1
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
Bugfix for packaging on conda.
Python 0.3.0
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
anddumps
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
- 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
- Add
contains
function - Add
oput
variants that transfer ownership of buffer.