Skip to content

Commit

Permalink
Prepare v1.12.0 for release
Browse files Browse the repository at this point in the history
  • Loading branch information
kirsle committed Apr 17, 2016
1 parent 6c9ddd2 commit 4045422
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 3 deletions.
9 changes: 9 additions & 0 deletions Changes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changes

* 1.12.0 2016-04-17
- Fix the `stringify()` function to also escape newlines on conditionals.
- Various fixes to "pipe syntax" for arrays, optionals and alternations;
having a "blank" entry separated by pipes (e.g. a trailing or leading pipe)
would cause matching issues. These have been fixed and a syntax error is
given if this is detected at parsing time.
- Added additional documentation for the usage of `deparse()` and related
functions to the `eg/deparse` directory.

* 1.10.0 2016-03-30
- Fix a bug where `! local concat` settings wouldn't apply to the first
continuation of a conditional (bug #88)
Expand Down
20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ Grunt options:
for local testing and demoing.
* `grunt test` - Run unit tests.

## GRUNT CONNECT
## GRUNT SERVER

This project uses [Grunt](http://gruntjs.com) for compiling to minified JS and
also includes a simple web server for local testing and demoing for RiveScript.
Expand All @@ -189,6 +189,24 @@ $ npm install # Install dev dependencies
$ grunt server # Will start a local web server and open eg/chat.html
```

## PUBLISHING

Steps for the npm maintainer of this module:

1. Increment the version number in `package.json` and `src/rivescript.coffee`
2. Add a change log notice to `Changes.md`
3. Run `grunt dist` to build the JavaScript sources and `grunt test` to verify
all tests pass.
3. Test a local installation from a different directory
(`npm install ../rivescript-js`)
4. `npm login` if it's the first time on a new system, and `npm publish` to
publish the module to NPM.
5. Create compiled zip and tarballs for GitHub releases:
* Copy git repo to a new folder.
* `rm -rf .git node_modules` to remove cruft from the new folder.
* `zip -r rivescript-js-VERSION.zip rivescript-js`
* `tar -czvf rivescript-js-VERSION.tar.gz rivescript-js`

## LICENSE

```
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rivescript",
"version": "1.10.0",
"version": "1.12.0",
"description": "RiveScript is a scripting language for chatterbots, making it easy to write trigger/response pairs for building up a bot's intelligence.",
"keywords": [
"bot",
Expand Down
2 changes: 1 addition & 1 deletion src/rivescript.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"use strict"

# Constants
VERSION = "1.10.0"
VERSION = "1.12.0"

# Helper modules
Parser = require "./parser"
Expand Down

0 comments on commit 4045422

Please sign in to comment.