Releases: cloudtruth/interposer
Releases · cloudtruth/interposer
v1.0.0
v0.9.3
v0.9.2
v0.9.1
v0.9.0
v0.8.1
v0.8.0
[0.8.0] - 2020-09-21
This was a major refactoring to allow for custom call handlers.
All previous recordings are incompatible.
Breaking
- Switched from json to pickle based hashing.
- Separated the record/playback logic from the wrapping logic.
Changed
- Added RecordedTestCase and @recorded decorators for easier testing.
- Added the ability to stack call handlers.
- Allow a call handler to determine if the result of a call gets rewrapped (to record calls on the result, i.e. selective diving).
- Added automatic secret redaction from TapeDeck recordings.
- Eliminated special case code for dealing with primitives.
v0.7.0
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.