Skip to content

Commit

Permalink
Prepare v1.14.7 for release
Browse files Browse the repository at this point in the history
  • Loading branch information
kirsle committed May 19, 2017
1 parent 2d72a33 commit 2046099
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
18 changes: 18 additions & 0 deletions Changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,24 @@

Revision history for the Python package RiveScript.

## 1.14.7 - May 19 2017

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

## 1.14.6 - Mar 23 2017

- Fix regexp for validating RiveScript syntax to use `re.search` instead of
Expand Down
2 changes: 1 addition & 1 deletion python-rivescript.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
%global desc A scripting language to make it easy to write responses for a chatterbot.

Name: python-%{srcname}
Version: 1.14.6
Version: 1.14.7
Release: 1%{?dist}
Summary: %{sum}

Expand Down
2 changes: 1 addition & 1 deletion rivescript/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
__docformat__ = 'plaintext'

__all__ = ['rivescript']
__version__ = '1.14.6'
__version__ = '1.14.7'

from .rivescript import RiveScript
from .exceptions import (
Expand Down

0 comments on commit 2046099

Please sign in to comment.