File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11Revision 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+
3241.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:
Original file line number Diff line number Diff line change 33%global desc A scripting language to make it easy to write responses for a chatterbot.
44
55Name: python-%{srcname }
6- Version: 1.13 .0
6+ Version: 1.14 .0
77Release: 1%{?dist }
88Summary: %{sum }
99
Original file line number Diff line number Diff line change 2020__docformat__ = 'plaintext'
2121
2222__all__ = ['rivescript' ]
23- __version__ = '1.13 .0'
23+ __version__ = '1.14 .0'
2424
2525from .rivescript import RiveScript
2626from .exceptions import (
You can’t perform that action at this time.
0 commit comments