Skip to content

v0.7.0

Compare
Choose a tag to compare
@jeking3 jeking3 released this 12 Sep 14:17

Breaking

  • Signatures of most of the cleanup methods have changed.
  • wrap no longer requires (or accepts) as_method for wrapping class instantiations.
  • wrap raises WrappingError if something is not wrappable.

Changed

  • Added support for wrapping modules.
  • Added support for wrapping object instantiations from class definitions.
  • Added support for builtins.
  • Added logging control for wrapping and calling.
  • Added support for conditionally replacing original return value with cleaned one.
  • Added support for conditionally not recording a call.
  • Consolidated determination of whether something is wrappable.
  • Fixed wrapping of property results.
  • Fixed incorrect wrapping of python primitives like str.
  • Fixed call order parameter storage could be modified after call.