Versions¶
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
All release versions should be documented here with release date and types of changes. Unreleased changes and pre-releases (i.e. alpha/beta versions) can be documented under the section Unreleased.
Possible types of changes are:
Addedfor new featuresChangedfor changes in existing functionalityDeprecatedfor soon-to-be removed featuresRemovedfor now removed featuresFixedfor any bug fixesSecurityin case of vulnerabilities
1.3.0 - Unreleased¶
Added¶
- The
paragraph.wrapvirtual package. Any installed module can be imported under that package, resulting in all top-level callables being wrapped as paragraph ops.
Changed¶
- If the
__call__method of anOpinstance raises during execution ofparagraph.session.evaluate, the latter catches the exception, raises aRuntimeErrorindicating the variable whose evaluation failed, and sets the original exception as the direct cause of theRuntimeError. Note that this currently only applies to single-threaded evaluations.
1.2.1 - 05.02.2020¶
Changed¶
- The
opdecorator now copies the__doc__attribute of the underlying function onto the wrappingOpinstance
1.2.0 - 27.01.2020¶
Changed¶
- attribute
Op.thread_safeis now a keyword-only argument of__init__to permit attributes without default values in derived classes.
1.1.0 - 20.01.2020¶
Deprecated¶
- support for unresolved output variables in
session.evaluate, usesessions.solvefor that purpose - support for arguments of type Variable in
Op.__call__, useOp.opinstead
Changed¶
- simplify
opdecorator - simplify default implementation of
Op.__repr__ - complete rewrite of the readme
Added¶
- method
Op.opto be used in place of direct invocation of an Op instance when building a graph - the
Variableclass, theopdecorator and the functionsevaluate,apply,solveandsolve_requirementsare now exposed at package level.