Releases: datacamp/protowhat
Releases · datacamp/protowhat
v1.11.0
v1.10.0
v1.9.0
v1.8.2
v1.8.0
v1.7.0
This release improves the base functionality for all depending SCT libraries.
Enhancements
- Add
_debug
SCT introspection function - Add
State.parent_state
andState.state_history
as a general state linking mechanism (usingState.creator
) - Add
TestRunner
andTestRunnerProxy
and makeReporter
aTestRunnerProxy
- Add AST and text offset support in
Runner
- Improve
Dispatcher
,Feedback
andTest
interfaces
v1.6.0
This release enables protowhat to be the base for pythonwhat.
do_test
now runs aTest
as in pythonwhat, instead of accepting a feedback string.- the explicit Fail subclass should be used instead of relying on the old default implementation of
Test
- the
report(feedback: Feedback)
method on theState
class reintroduces a short way to gather exercise feedback,
equivalent todo_test(Fail(Feedback(msg)))
, while also setting highlight info. - the
legacy_signature
decorator enables to call a function using old argument names
when they are passed as keyword arguments - AST utils to dump and load a tree structure to be used in e.g. dispatching are improved
Update AST functionality
- Update parsing class interface for compatibility with antlr-ast
- Support finding dynamic nodes in AST tree (instead of just custom defined nodes)
- Change
ckeck_edge
default value ofindex
argument fromNone
to0
- This is done to break less content
- Now: explicitly define the value of the
index
argument - Later: revert default change and remove unnecessary explicit setting of the
index
argument
Use new parsing layer
v1.5.0-rc.0 Try setting default index for list fields
Support force_diagnose
v1.3.0 Bump version, update changelog