Skip to content

Releases: OpenMS/autowrap

0.24.0

29 Nov 15:26
cf595fb

Choose a tag to compare

autowrap 0.24.0

New STL Container Support (C++17):

  • Added std::unordered_map<K,V> converter - maps to Python dict
  • Added std::unordered_set<T> converter - maps to Python set
  • Added std::deque<T> converter - maps to Python list
  • Added std::list<T> converter - maps to Python list
  • Added std::optional<T> converter - maps to Python T | None
  • Added std::string_view converter - maps to Python bytes/str

Other Changes:

  • Updated default C++ standard from C++11 to C++17 for compilation
    (required for std::optional and std::string_view support)
  • Fixed converter architecture to properly handle None values for
    std::optional<T> input parameters
  • Support for enums with the same name in different C++ namespaces using
    scoped enum declarations with wrap-as annotation for renaming
  • Support for arbitrary key types in operator[] (getitem/setitem), not
    just integer types like size_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

08 Jul 13:05
93f1bf3

Choose a tag to compare

autowrap 0.22.12

0.22.11

21 Dec 15:57
ca62dc2

Choose a tag to compare

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

29 Oct 07:25
dc46331

Choose a tag to compare

autowrap 0.22.10

  • Revamped docstrings for overloaded methods in generated pyx files. They use RST and sphinx.autodoc syntax now.

0.22.9

20 Oct 10:32
6e38070

Choose a tag to compare

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

22 Apr 16:27
5982e82

Choose a tag to compare

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

03 Feb 09:15
c259056

Choose a tag to compare

autowrap 0.22.7

  • automatically generates pyi typestubs next to the pyx files

0.22.6

14 Jan 12:42
4a291ba

Choose a tag to compare

autowrap 0.22.6

  • Bugfix in defaultdict types during CodeGeneration

0.22.5

13 Jan 14:42
19942c1

Choose a tag to compare

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