Skip to content

Commit 6b5392d

Browse files
committed
Prepare v1.14.0 for release
1 parent 5c2be37 commit 6b5392d

3 files changed

Lines changed: 23 additions & 2 deletions

File tree

Changes.md

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

3+
1.14.0 Jul 23 2016
4+
- Make the session manager pluggable and replaceable. RiveScript still uses
5+
an in-memory store for user variables, but this can be swapped out with a
6+
replacement that puts user variables somewhere else, like Redis or MySQL.
7+
The constructor accepts a `session_manager` parameter to use your own
8+
session manager based on the `rivescript.sessions.SessionManager` class.
9+
- Make the RiveScript Parser module (`rivescript.parser`) more developer
10+
friendly by removing the parent RiveScript module as a dependency. The
11+
parser can be used as a stand-alone module if all you want to do is parse
12+
and validate RiveScript code.
13+
- The `log` parameter to the constructor may now be an already opened file
14+
handle (opened in write or append mode) instead of a string, if you already
15+
have a file handle ready.
16+
- Add two examples to the `eg` directory:
17+
- `eg/sessions` replaces the in-memory session store with one that uses
18+
a Redis cache instead.
19+
- `eg/parser` shows how to use the RiveScript Parser module.
20+
- Fix a bug where atomic triggers that contain a `{weight}` tag were unable
21+
to be matched properly.
22+
- Reorganize the unit tests into many smaller files instead of one large one.
23+
324
1.13.0 Jul 21 2016
425
- Restructure the code to keep it on par with the JavaScript and Go versions:
526
- `rivescript.parser` now contains all the parsing code:

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

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

0 commit comments

Comments
 (0)