Releases: OpenMS/autowrap
Releases · OpenMS/autowrap
0.24.0
autowrap 0.24.0
New STL Container Support (C++17):
- Added
std::unordered_map<K,V>converter - maps to Pythondict - Added
std::unordered_set<T>converter - maps to Pythonset - Added
std::deque<T>converter - maps to Pythonlist - Added
std::list<T>converter - maps to Pythonlist - Added
std::optional<T>converter - maps to PythonT | None - Added
std::string_viewconverter - maps to Pythonbytes/str
Other Changes:
- Updated default C++ standard from C++11 to C++17 for compilation
(required forstd::optionalandstd::string_viewsupport) - Fixed converter architecture to properly handle
Nonevalues for
std::optional<T>input parameters - Support for enums with the same name in different C++ namespaces using
scoped enum declarations withwrap-asannotation for renaming - Support for arbitrary key types in
operator[](getitem/setitem), not
just integer types likesize_t - Added support for bitwise operators (
&,|,^) and in-place bitwise
operators (&=,|=,^=)
autowrap 0.23.0
Support for Cython 3.1! This means the removal of some py2 compatibility code, no more python distinction between long and int, some fixes to multiline comment processing.
- Dropped support for Cython versions older than 3.0; autowrap now requires Cython ≥ 3.0 and Python ≥ 3.9.
0.23.0
autowrap 0.22.12
0.22.11
autowrap 0.22.11
- Fixes some issues with typing support on python side
- Added a real C++ bool converter. C++ bools in a pxd will now be real booleans
on python side. Not "just" ints and will also be typed like that.
0.22.10
autowrap 0.22.10
- Revamped docstrings for overloaded methods in generated pyx files. They use RST and sphinx.autodoc syntax now.
0.22.9
autowrap 0.22.9
- Typing of a majority of classes and functions of the codebase
- Requires python 3.7 instead of 3.6 now
- Support for "const Members" as alternative to "wrap-constant" (experimental)
0.22.8
autowrap 0.22.8
- Added support for missing operators '-', '/', '-=', '*=', '/='
- Refactored special method generation a little, with minor fixes.
- Finished complete support for type stubs for all? generated Cython code
0.22.7
autowrap 0.22.7
- automatically generates pyi typestubs next to the pyx files
0.22.6
autowrap 0.22.6
- Bugfix in defaultdict types during CodeGeneration
0.22.5
autowrap 0.22.5
- First version that supports Cython 3 (both Cython 3 and our support are experimental)
- Adds support for @staticmethod decorators
- Adds support for wrapping (scoped) enum classes