Skip to content

Comments

v2.0.0 - Redesign, Complex Numbers, Custom Tensors#38

Merged
matajoh merged 3 commits intomainfrom
complex_numbers
Jan 14, 2026
Merged

v2.0.0 - Redesign, Complex Numbers, Custom Tensors#38
matajoh merged 3 commits intomainfrom
complex_numbers

Conversation

@matajoh
Copy link
Owner

@matajoh matajoh commented Jan 14, 2026

Major version with breaking changes.

Breaking Changes:

  • onpzstream has been split into npzfilewriter and npzstringwriter
  • inpzstream has been split into npzfilereader and npzstringreader
  • The library interface has been merged into a single npy.h header

Improvements:

  • Support for complex numbers has been added
  • The library design has been greatly simplified
  • The example projects have been broken out into self-contained projects (which fetch
    the main project using FetchContent) and a custom_tensors example has been added
    showing a non-trivial custom tensor implementation
  • Custom tensor support is greatly improved, and is now fully featured

Bugfixes:

  • Fixed an issue with broken CRC checks on Windows

Fixes #37
Fixes #35

@matajoh matajoh force-pushed the complex_numbers branch 7 times, most recently from ca9ffd6 to 8e02ae9 Compare January 14, 2026 23:04
**Breaking Changes**:
- `onpzstream` has been split into `npzfilewriter` and `npzstringwriter`
- `inpzstream` has been split into `npzfilereader` and `npzstringreader`
- The library interface has been merged into a single `npy.h` header

Improvements:
- Support for complex numbers has been added
- The library design has been greatly simplified
- The example projects have been broken out into self-contained projects (which fetch
  the main project using `FetchContent`) and a `custom_tensors` example has been added
  showing a non-trivial custom tensor implementation
- Custom tensor support is greatly improved, and is now fully featured

Bugfixes:
- Fixed an issue with broken CRC checks on Windows

Signed-off-by: Matthew A Johnson <matjoh@microsoft.com>
Signed-off-by: Matthew A Johnson <matjoh@microsoft.com>
Signed-off-by: Matthew A Johnson <matjoh@microsoft.com>
@matajoh matajoh merged commit a388916 into main Jan 14, 2026
15 checks passed
@matajoh matajoh deleted the complex_numbers branch January 14, 2026 23:24
matajoh added a commit that referenced this pull request Jan 14, 2026
* Major version with breaking changes.

**Breaking Changes**:
- `onpzstream` has been split into `npzfilewriter` and `npzstringwriter`
- `inpzstream` has been split into `npzfilereader` and `npzstringreader`
- The library interface has been merged into a single `npy.h` header
- The C# wrapper has been removed. A more up-to-date wrapper will be added in a
  future release

Improvements:
- Support for complex numbers has been added
- The library design has been greatly simplified
- The example projects have been broken out into self-contained projects (which fetch
  the main project using `FetchContent`) and a `custom_tensors` example has been added
  showing a non-trivial custom tensor implementation
- Custom tensor support is greatly improved, and is now fully featured

Bugfixes:
- Fixed an issue with broken CRC checks on Windows

Signed-off-by: Matthew A Johnson <matjoh@microsoft.com>
matajoh added a commit that referenced this pull request Jan 14, 2026
* Major version with breaking changes.

**Breaking Changes**:
- `onpzstream` has been split into `npzfilewriter` and `npzstringwriter`
- `inpzstream` has been split into `npzfilereader` and `npzstringreader`
- The library interface has been merged into a single `npy.h` header
- The C# wrapper has been removed. A more up-to-date wrapper will be added in a
  future release

Improvements:
- Support for complex numbers has been added
- The library design has been greatly simplified
- The example projects have been broken out into self-contained projects (which fetch
  the main project using `FetchContent`) and a `custom_tensors` example has been added
  showing a non-trivial custom tensor implementation
- Custom tensor support is greatly improved, and is now fully featured

Bugfixes:
- Fixed an issue with broken CRC checks on Windows

Signed-off-by: Matthew A Johnson <matjoh@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Undefined Reference Errors When Using npy::tensor<std::complex<double>> Intermittent CRC mismatch when reading

1 participant