Skip to content

Commit 4c2284f

Browse files
committed
Prepare v1.14.9 for release
1 parent 49b08dd commit 4c2284f

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

Changes.md

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

33
Revision history for the Python package RiveScript.
44

5+
## 1.14.9 - Sept 21 2017
6+
7+
This release fixes some regular expressions and adds better Unicode
8+
compatibility for trigger matching.
9+
10+
- Fix the regexp that matches `{weight}` tags in replies to use `re.search()`
11+
instead of `re.match()`. This ensures that random replies are chosen with the
12+
correct weighting applied (bug #102; PR #106)
13+
- Fix the way arrays are interpolated into triggers so that array names are
14+
now allowed to contain underscores (bug #101; PR #107)
15+
- Fix Unicode handling in regular expressions by using the `re.UNICODE` flag.
16+
This allows for a trigger containing optionals, like `[*]`, to match
17+
correctly when adjacent to Unicode symbols such as umlauts (bug #37; PR #108)
18+
519
## 1.14.8 - Sept 5 2017
620

721
This release focuses on bug fixes and backwards compatible improvements.

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.8
6+
Version: 1.14.9
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.8'
23+
__version__ = '1.14.9'
2424

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

0 commit comments

Comments
 (0)