Skip to content

Latest commit

 

History

History
127 lines (105 loc) · 6.28 KB

CHANGELOG.md

File metadata and controls

127 lines (105 loc) · 6.28 KB

Change Log

0.6.0 - 2021-04-15

0.5.2 - 2020-12-16

0.5.1 - 2020-09-08

0.5.0 - 2020-04-08

0.4.1 - 2020-02-03

0.4.0 - 2020-01-27

0.3.0 - 2019-08-01

0.2.1 - 2018-09-28

  • Added Python 3.7 support

0.2.0 - 2018-02-27

  • Added pub modifier to py_class! syntax: py_class!(pub class ClassName |py| ...)

  • Changed obj.extract::<Vec<T>>(py) to work with any object implementing the sequence protocol; not just lists.

  • Added the buffer module, which allows safe access to the buffer protocol. This allows zero-copy access to numpy arrays.

  • When building with --feature nightly, extract::<Vec<PrimitiveType>> will try to use the buffer protocol before falling back to the sequence protocol.

  • Added support for optional parameters to py_argparse!, py_fn! and py_class! macros. (PR by @Luthaf)

    Example: py_fn!(py, function(i: i32 = 0))

  • Made ObjectProtocol::compare() available on Python 3.

  • Added ObjectProtocol::rich_compare().

  • Fixed non-deterministic segfault in extension modules using py_class! (PR by @markbt)

  • Fixed python27-sys compiler error on ARM (PR by @ostrosco)

  • Export path to Python interpreter as Cargo variable (PR by @indygreg)

0.1.0 - 2016-12-17

  • First release that works on stable Rust.