Changelogs

Python

[0.3.2] - 2022-07-12

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

[0.3.1] - 2020-07-06

Fix for packaging bug with numpy version on conda.

[0.3.0] - 2020-05-23

New features

  • Support for file-like objects in dump/load and remove file seeks. This allows reading from a 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.

[0.2.2] - 2018-12-07

Fix for packaging bug happening in setup.py bootstrap.

[0.2.1] - 2018-12-07

Update fixing various packaging and long term API issues. Export the 0.1.0 C API via the Python Capsule interface.

[0.2.0] - 2018-11-20

Experimental C API exported via Python Capsule interface.

[0.1.0] - 2018-05-06

Initial release. Python API only with no public documentation.

C API

[2.1.1] - 2021-03-01

  • Fix bug where calling contains would borrow the array when KAS_BORROWS_ARRAY was set. (@benjeffery, #189)

[2.1.1] - 2021-03-01

  • 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)

[2.1.0] - 2022-01-25

  • 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)

[2.0.1] - 2021-11-26

  • 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, #153).

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

[2.0.0] - 2020-05-23

  • 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 a pipes/FIFOs, and allows multiple stores to read from the same stream (@grahamgower, #88).

[1.1.0] - 2019-03-19

  • Add contains function

  • Add oput variants that transfer ownership of buffer.

  • Various documentation updates.

[1.0.1] - 2019-01-24

Add support for using kastore as a meson subproject.

[1.0.0] - 2019-01-22

Remove the dynamic C API option and add support for C++.

[0.1.0] - 2018-12-07

Initial release of the documented C API.