Skip to content

Latest commit

 

History

History
33 lines (31 loc) · 1.81 KB

Changes.md

File metadata and controls

33 lines (31 loc) · 1.81 KB

Revision History for RiveScript-Java

  • 0.6.0 June 28 2016

    • Switched to semantic versioning; com.rivescript.RiveScript.VERSION is now a string "0.6.0" instead of a floating point number.
    • Add support for Java object macros (compile-time) via the new API function setSubroutine()
    • Add API function currentUser() which returns the current user's ID, accessible from a Java object macro.
    • Add API function lastMatch() which returns the text of the most recently matched trigger for a user's message.
    • Add support for ! local concat option to override concatenation mode (file scoped)
    • Add unit tests and fix various bugs discovered in the process:
      • Make the BEGIN block work if it doesn't give an {ok} response.
      • Only crawl the topic inheritance tree if the topic inherits or includes other topics.
      • Process tags on @Redirect before redirecting.
      • Implement the fix from RiveScript-JS #48 with regards to matching optionals.
      • Fix escaping regular expression metacharacters in some places.
      • Implement the ability to set <bot> and <env> variables with the syntax like <bot name=value>.
      • Implement the fix from RiveScript-JS #92 with regards to the <@> tag failing if <star1> is undefined.
      • Fix a couple off-by-one errors with <formal> and <sentence> formatting where the second character was being made uppercase instead of the first.
      • Fix an egregious typo in getTopicTree where RiveScript would crash if a topic inherited other topics, but didn't include other topics. The code was checking for inheritance but looping over includes.
  • 0.03 Nov 26 2014

    • Initial official beta release.