Skip to content

Commit 2046099

Browse files
committed
Prepare v1.14.7 for release
1 parent 2d72a33 commit 2046099

File tree

3 files changed

+20
-2
lines changed

3 files changed

+20
-2
lines changed

Changes.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,24 @@
22

33
Revision history for the Python package RiveScript.
44

5+
## 1.14.7 - May 19 2017
6+
7+
- Various fixes and improvements that catch RiveScript-Python up with the other
8+
implementations, to pass the RiveScript Test Suite (PR #89):
9+
- Implement arrays in replies -- so you could write a reply like
10+
`My favorite color is (@colors)` and the array gets expanded to a random
11+
item from the `!array` by the same name.
12+
- Fix the regexp for `{weight}` tag removal so that it still works if you
13+
include extra spaces on either end of the tag.
14+
- Fix the `_` wildcard to allow matching Unicode letters.
15+
- Fix division with the `<div>` tag to use integer division for Python 3.
16+
- Improvements to the trigger sorting algorithm:
17+
- Add special handling so that a trigger of `[*]` gets sorted above the
18+
usual catch-all trigger of `*` (PR #92)
19+
- Fix a logic bug with bitwise operators for handling the case that a trigger
20+
contains `*` wildcards but does not contain any optionals or wildcards of
21+
different types (bug #90, PR #91)
22+
523
## 1.14.6 - Mar 23 2017
624

725
- Fix regexp for validating RiveScript syntax to use `re.search` instead of

python-rivescript.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
%global desc A scripting language to make it easy to write responses for a chatterbot.
44

55
Name: python-%{srcname}
6-
Version: 1.14.6
6+
Version: 1.14.7
77
Release: 1%{?dist}
88
Summary: %{sum}
99

rivescript/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
__docformat__ = 'plaintext'
2121

2222
__all__ = ['rivescript']
23-
__version__ = '1.14.6'
23+
__version__ = '1.14.7'
2424

2525
from .rivescript import RiveScript
2626
from .exceptions import (

0 commit comments

Comments
 (0)