diff --git a/.gitignore b/.gitignore index 39187338..963236a8 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,4 @@ node_modules lib/*.js *~ -package-lock.json +sockjs-protocol diff --git a/.npmignore b/.npmignore index 28b91266..1f0f7fe4 100644 --- a/.npmignore +++ b/.npmignore @@ -1,6 +1,9 @@ .gitignore lib/.placeholder -VERSION-GEN +Makefile src -node_modules +examples +tests +scripts *~ +sockjs-protocol diff --git a/Changelog b/Changelog index a24453ee..d0fd4674 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,27 @@ +0.3.24 +====== + * Remove excess file from npm package + +0.3.23 +====== + * Fix `uuid` usage + +0.3.22 +====== + * Update `uuid` + +0.3.21 +====== + * Update `faye-websocket` and `websocket-driver` to address DDoS vulnerability #275 + +0.3.20 +====== + * Updated `node-uuid` and `coffeescript` + * Exclude `examples`, `tests`, and `Makefile` from npm package + * Update examples to use latest jQuery and sockjs-client #271 + * Don't call `res.end` in `writeHead` #266 + * Pin `websocket-driver` as later versions cause some tests from `sockjs-protocol` to fail + 0.3.19 ====== diff --git a/README.md b/README.md index 018588ca..50262bb2 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ A simplified echo SockJS server could look more or less like: var http = require('http'); var sockjs = require('sockjs'); -var echo = sockjs.createServer({ sockjs_url: 'http://cdn.jsdelivr.net/sockjs/1.0.1/sockjs.min.js' }); +var echo = sockjs.createServer(); echo.on('connection', function(conn) { conn.on('data', function(message) { conn.write(message); @@ -90,7 +90,7 @@ var sockjs_server = sockjs.createServer(options); Where `options` is a hash which can contain: