Permalink
Browse files

version bump

  • Loading branch information...
1 parent d984ff8 commit c11fc170930734d86f6a61f16c6a683f9ca85bf5 @chirag04 chirag04 committed Mar 6, 2014
Showing with 20 additions and 14 deletions.
  1. +12 −1 History.md
  2. +6 −11 Readme.md
  3. +2 −2 package.json
View
13 History.md
@@ -1,5 +1,16 @@
+1.5.0 / 2014-03-06
+==================
+
+ * update to express 4x
+
+1.4.7 / 2014-03-06
+==================
+
+ * allow redis url
+
1.4.6 / 2013-11-13
-
+==================
+
* lazy load redis. fixes #56
* update redis to 0.9.0
* added Unit tests ready for travis
View
17 Readme.md
@@ -2,7 +2,7 @@
connect-redis is a Redis session store backed by [node_redis](http://github.com/mranney/node_redis), and is insanely fast :). Requires redis >= `2.0.0` for the _SETEX_ command.
- connect-redis `>= 1.0.0` support only connect `>= 1.0.0`.
+ connect-redis `>= 1.0.0` support only express `>= 4.0.0`.
@freewil
freewil Apr 7, 2014

for future reference:

MAJOR version when you make incompatible API changes

http://semver.org/

## Installation
@@ -22,18 +22,13 @@ connect-redis is a Redis session store backed by [node_redis](http://github.com/
## Usage
- Due to npm 1.x changes, we now need to pass connect to the function `connect-redis` exports in order to extend `connect.session.Store`:
+ Due to express 4.x.x changes, we now need to pass express-session to the function `connect-redis` exports in order to extend `express-session.Store`:
- var connect = require('connect')
- , RedisStore = require('connect-redis')(connect);
+ var session = require('express-session')
+ , RedisStore = require('connect-redis')(session);
- connect()
- .use(connect.session({ store: new RedisStore(options), secret: 'keyboard cat' }))
-
-
- This means express users may do the following, since `express.session.Store` points to the `connect.session.Store` function:
-
- var RedisStore = require('connect-redis')(express);
+
+ app.use(session({ store: new RedisStore(options), secret: 'keyboard cat' }))
# License
View
4 package.json
@@ -1,12 +1,12 @@
{
"name": "connect-redis",
"description": "Redis session store for Connect",
- "version": "1.4.7",
+ "version": "1.5.0",
"author": "TJ Holowaychuk <tj@vision-media.ca>",
"main": "./index.js",
"repository": { "type": "git", "url": "git@github.com:visionmedia/connect-redis.git" },
"dependencies": { "redis": "0.10.x", "debug": "*" },
- "devDependencies": { "connect": "*" },
+ "devDependencies": { "express-session": "*" },
"engines": { "node": "*" },
"bugs": {
"url": "https://github.com/visionmedia/connect-redis/issues"

0 comments on commit c11fc17

Please sign in to comment.