diff --git a/Changes.md b/Changes.md index c888877..207a206 100644 --- a/Changes.md +++ b/Changes.md @@ -1,5 +1,19 @@ # Changes +* 1.18.0 2017-11-27 + - Fix an infinite loop when using a number as a substitution (PR #206) + - Optimize substitution algorithm (including person substitutions) to be + more performant when you have a large set of substitutions defined (PR #208) + - Add support for defining a global concatenation option when constructing + the RiveScript object. This will set the default concat mode when + parsing files that didn't define their own local mode (PR #209) + - Add API function `lastTriggers(username)` to retrieve the full set of + triggers that were last matched for that user. For example, if some triggers + redirected to others, all the triggers that were touched will be + returned by this function (PR #217) + - Remove dependency on jQuery for loading files in a web environment and + instead use a standard `XMLHttpRequest` (PR #251) + * 1.17.2 2017-01-19 - Fix `` tags not working inside of the `@Redirect` command and the inline redirect `{@}` tag. Note that only *synchronous* object macros that diff --git a/package.json b/package.json index 2326904..f590c9a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rivescript", - "version": "1.17.2", + "version": "1.18.0", "description": "RiveScript is a scripting language for chatterbots, making it easy to write trigger/response pairs for building up a bot's intelligence.", "keywords": [ "bot", diff --git a/src/rivescript.coffee b/src/rivescript.coffee index 4c361df..7044511 100644 --- a/src/rivescript.coffee +++ b/src/rivescript.coffee @@ -22,7 +22,7 @@ ## # Constants -VERSION = "1.17.2" +VERSION = "1.18.0" # Helper modules Parser = require "./parser"