Skip to content

Commit

Permalink
Prepare v1.14.9 for release
Browse files Browse the repository at this point in the history
  • Loading branch information
kirsle committed Sep 21, 2017
1 parent 49b08dd commit 4c2284f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
14 changes: 14 additions & 0 deletions Changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@

Revision history for the Python package RiveScript.

## 1.14.9 - Sept 21 2017

This release fixes some regular expressions and adds better Unicode
compatibility for trigger matching.

- Fix the regexp that matches `{weight}` tags in replies to use `re.search()`
instead of `re.match()`. This ensures that random replies are chosen with the
correct weighting applied (bug #102; PR #106)
- Fix the way arrays are interpolated into triggers so that array names are
now allowed to contain underscores (bug #101; PR #107)
- Fix Unicode handling in regular expressions by using the `re.UNICODE` flag.
This allows for a trigger containing optionals, like `[*]`, to match
correctly when adjacent to Unicode symbols such as umlauts (bug #37; PR #108)

## 1.14.8 - Sept 5 2017

This release focuses on bug fixes and backwards compatible improvements.
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.8
Version: 1.14.9
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.8'
__version__ = '1.14.9'

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

0 comments on commit 4c2284f

Please sign in to comment.