Skip to content

Release 0.4.0

Compare
Choose a tag to compare
@stephenberry stephenberry released this 01 Aug 13:25
· 22 commits to master since this release

Changes since 0.3.1

New Features

  • A single instance of ChaiScript can now be used for all simulators if desired. Simply add the following line to the start of main: asc::GlobalChaiScript::on = true;
    Typically this isn't necessary or desired, but for cases where simulators are constantly being created and destroyed it can become expensive to create a ChaiScript instance for each simulator.
  • Errors are now thrown via std::runtime_error and can be caught with std::exception.
  • Added boolean comparisons for Link with nullptr. Example: if (link_instance == nullptr)
  • Added clear() methods to History and HistoryVars.

Improvements

  • Updated JsonAPI to use JSONCONS_NO_DEPRECATED. Updated functions to non-deprecated jsoncons functions.
  • Errors are NOT printed to the console by default anymore. This option can be turned on with: printErrors(true);
  • A run-time error is now thrown for null Link access.

Fixes

  • Updated jsoncons dependency with a fix and new std::vector< bool> handling, which allows Ascent to build properly on Apple Xcode. Thanks to Daniel Parker for these fixes/improvements.