Skip to content

Latest commit

 

History

History
120 lines (79 loc) · 3.97 KB

CHANGELOG.md

File metadata and controls

120 lines (79 loc) · 3.97 KB

Changelog

Improvements:

  • Increased CHUNK size as per miniz instructions
  • Added tests for very large arrays in NPZ files
  • Added some CI tests to catch issues across platforms
  • Removed the internal IO streams in favor of just using stringstream
  • NPZs can now be read from and written to memory

Bugfixes:

  • Fixed an issue where very large arrays in NPZ files would throw an error
  • Fixed a bug with mac builds due to deprecated APIs

Removing using namespace std to simplify library use

Improvements:

  • CMake build now uses the highest compiler warning/error setting

Bugfixes:

  • Fixed some bugs exposed by heightened compiler warnings

Improvements:

  • Added a keys member to inpzstream so it is possible to query the keys of the tensors

Bug fixes:

  • Fixed a bug with integer shifting

Improvements:

  • Further minor CMake changes to improve ease of use
  • NPZ streams now have is_open methods to check for successful file opening
  • Minor code style changes

Bug fixes:

  • NPZ files will now correctly handle PKZIP versions after 2.0, both for reading and writing

Improvements:

  • Updated CMake integration to make the library easier to use via FetchContent

New Features:

  • Support for Unicode string tensors (npy type 'U')

Breaking change:

  • CopyFrom interface for C# Tensors has been changed to use *Buffer objects

Improvements:

  • Bug fix for a missing comma on 1d shape

Improvements:

  • Bug fix for scalar tensor reading
  • Bug fix with memstream buffer size at initialization
  • ".npy" will be added to tensor names in NPZ writing if not already present

New Features:

  • Easier indexing (variable argument index method + negative indexes)
  • Easier access to shape

Improvements:

  • Cmake upgraded to "modern" usage, i.e. you use the library by adding npy::npy as a link library

Improvements:

  • Minor cmake change

New Features:

  • Zip64 compatibility

Improvements:

  • Can use numpy style lookup for tensors (i.e. dropping the .npy from the name)
  • Added a crc32 test

New Features:

  • There is no longer a dependency on zlib

Improvements:

  • Better packaging (NuGet packages are now produced for C++ and C#)

Breaking changes:

  • Renamed endian => endian_t
  • Renamed data_type => data_type_t
  • Renamed compression_method => compression_method_t

New Features:

  • Cleaned up exception handling. There are now tests for exceptions being correctly thrown, and the exceptions are properly wrapped for .NET-
  • Added peeking for NPY files to get the header information, and contains/peek functionality for inpzstream.

Improvements:

  • Removed the unnecessary copies in the compression/decompression process

Initial Release