From d84485cf668125191607a3db13d96840ec96a72b Mon Sep 17 00:00:00 2001 From: Noah Petherbridge Date: Sun, 4 Mar 2018 13:21:08 -0800 Subject: [PATCH] Prepare v1.19.0 for release --- Changes.md | 8 ++++++++ package.json | 2 +- src/rivescript.coffee | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Changes.md b/Changes.md index 207a206..daa38ef 100644 --- a/Changes.md +++ b/Changes.md @@ -1,5 +1,13 @@ # Changes +* 1.19.0 2018-03-04 + - Add the new `?Keyword` command to work around the problem that Unicode + text wouldn't match properly with optional wildcards. For example, + `+ [*] 你好 [*]` wasn't able to match messages containing the word "你好" + in the same way as it would if the keyword were using only ASCII symbols. + Now, the command `? 你好` will allow you to match that keyword anywhere in + a user's message. (PR #256) + * 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 diff --git a/package.json b/package.json index f590c9a..c3bbabf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rivescript", - "version": "1.18.0", + "version": "1.19.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 7044511..9c69dc8 100644 --- a/src/rivescript.coffee +++ b/src/rivescript.coffee @@ -22,7 +22,7 @@ ## # Constants -VERSION = "1.18.0" +VERSION = "1.19.0" # Helper modules Parser = require "./parser"