Skip to content

Commit 6ac813a

Browse files
committed
Prepare v1.14.3 for release
1 parent 59fb174 commit 6ac813a

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

Changes.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
Revision history for the Python package RiveScript.
22

3+
1.14.3 Dec 8 2016
4+
- Fix sorting algorithm for triggers with `%Previous`, making their sort order
5+
deterministic and correct regardless of the order they appeared in the
6+
source file (PR #60; bug #59)
7+
- Fix a possible crash when interpolating a `<star>` tag when the trigger
8+
had captured no stars. In this cases the `<star>` tag will become the string
9+
`"None"`; it is a user error that this situation arises anyway and this fix
10+
just prevents Python from crashing (bugs #51 and #54)
11+
- Fix a possible crash when calling `random.choice` on an empty list by
12+
wrapping it in a safety function at `rivescript.utils.random_choice`
13+
(bug #36)
14+
- Better error reporting on the JSON Interactive Mode: if there is an
15+
exception raised when decoding the input JSON, the output JSON now contains
16+
an `error` key with the text of the exception to help diagnose what went
17+
wrong.
18+
319
1.14.2 Oct 18 2016
420
- Fix numeric tags like `<add>` raising a `TypeError` exception.
521

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

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

0 commit comments

Comments
 (0)