Skip to content

Releases: benchristel/verse

Verse 1.2.1: Better than 1.2.0!

11 Oct 15:13
Compare
Choose a tag to compare

This release fixes a longstanding bug (since 1.0.0) that caused Verse to crash if you returned anything other than an array of strings from the startDisplay callback.

As a bonus, non-string data in startDisplay is now pretty-printed, so you can visualize your state without writing any view code!

Verse 1.2.0: Types and Tests

10 Oct 04:25
Compare
Choose a tag to compare

Verse now provides a helpful error message if you pass the wrong arguments to a function. A few improvements to the test framework are also included in this release.

  • Anonymous function values are now represented as <function> in error messages etc. (previously, nothing was displayed for these values)
  • Tests that use simulate now work correctly for programs that use state/reducers
  • If the program crashes within a simulator test, the error that caused the crash is displayed.
  • Callingyield perform(...) now returns the current state

Verse 1.1.0: Shiny objects!

09 Sep 19:34
Compare
Choose a tag to compare
  • Adds nicely-formatted rendering of objects and arrays in test results and displayText output. You'll now see, e.g. {"hello": "world"} instead of [object Object].
  • Fixes an issue in the undocumented getStateType function which could render the entire webpage inoperable.
  • Allow up to 1000 consecutive yield retry() calls before declaring it an infinite loop and crashing. Previously, the limit was 100 consecutive calls.

Note: the undocumented waitForever() function has been removed. Use wait(Infinity) instead.

Verse 1.0.0: A whole new world

30 Aug 05:24
Compare
Choose a tag to compare

This release completely redesigns the UI and introduces a testing framework.