Skip to content

Releases: datacamp/protowhat

v1.11.0

05 Sep 19:05
Compare
Choose a tag to compare

Enhancements

  • Add bash history SCTs
  • Add State.is_root property
  • Return file path in feedback if set

v1.10.0

05 Sep 19:06
Compare
Choose a tag to compare

Enhancements

  • Pass file path to SCT chain after check_file

v1.9.0

05 Sep 19:06
Compare
Choose a tag to compare

Enhancements

  • Add allow_errors

v1.8.2

05 Sep 19:07
Compare
Choose a tag to compare

Enhancements

  • Support unicode when checking files
  • Fix disabling parsing file content

v1.8.0

05 Sep 19:07
Compare
Choose a tag to compare

Enhancements

  • Feedback doesn't need to be subclassed in depending SCT libraries.
  • _debug now has an on_error argument which can be set to True to show debugging info
    on the next failure or before finishing.
  • No NumPy dependency
  • Simplified State.report

v1.7.0

03 May 14:36
Compare
Choose a tag to compare

This release improves the base functionality for all depending SCT libraries.

Enhancements

  • Add _debug SCT introspection function
  • Add State.parent_state and State.state_history as a general state linking mechanism (using State.creator)
  • Add TestRunner and TestRunnerProxy and make Reporter a TestRunnerProxy
  • Add AST and text offset support in Runner
  • Improve Dispatcher, Feedback and Test interfaces

v1.6.0

25 Mar 11:53
Compare
Choose a tag to compare

This release enables protowhat to be the base for pythonwhat.

  • do_test now runs a Test 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 the State class reintroduces a short way to gather exercise feedback,
    equivalent to do_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

11 Mar 22:12
Compare
Choose a tag to compare
  • 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 of index argument from None to 0
    • 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

25 Feb 23:20
Compare
Choose a tag to compare
Use new parsing layer Pre-release
Pre-release
v1.5.0-rc.0

Try setting default index for list fields

Support force_diagnose

06 Nov 08:49
Compare
Choose a tag to compare
v1.3.0

Bump version, update changelog