Skip to content

Commit

Permalink
Release v3.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
hph committed Nov 29, 2016
1 parent 79271e2 commit 1e0fa96
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 15 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 3.2.4 (2016-10-29)

[FIXED] Subscriptions are reinstated correctly after a disconnection and
reconnection. Regression introduced in 3.2.3.

## 3.2.3 (2016-10-22)

[NEW] Cancelled subscriptions are now re-instated on subsequent `subscribe`
Expand Down
7 changes: 5 additions & 2 deletions dist/node/pusher.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Pusher JavaScript Library v3.2.3
* Pusher JavaScript Library v3.2.4
* http://pusher.com/
*
* Copyright 2016, Pusher
Expand Down Expand Up @@ -126,6 +126,9 @@ module.exports =
_this.global_emitter.emit(params.event, params.data);
}
});
this.connection.bind('connecting', function () {
_this.channels.disconnect();
});
this.connection.bind('disconnected', function () {
_this.channels.disconnect();
});
Expand Down Expand Up @@ -813,7 +816,7 @@ module.exports =

"use strict";
var Defaults = {
VERSION: "3.2.3",
VERSION: "3.2.4",
PROTOCOL: 7,
host: 'ws.pusherapp.com',
ws_port: 80,
Expand Down
7 changes: 5 additions & 2 deletions dist/react-native/pusher.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Pusher JavaScript Library v3.2.3
* Pusher JavaScript Library v3.2.4
* http://pusher.com/
*
* Copyright 2016, Pusher
Expand Down Expand Up @@ -126,6 +126,9 @@ module.exports =
_this.global_emitter.emit(params.event, params.data);
}
});
this.connection.bind('connecting', function () {
_this.channels.disconnect();
});
this.connection.bind('disconnected', function () {
_this.channels.disconnect();
});
Expand Down Expand Up @@ -811,7 +814,7 @@ module.exports =

"use strict";
var Defaults = {
VERSION: "3.2.3",
VERSION: "3.2.4",
PROTOCOL: 7,
host: 'ws.pusherapp.com',
ws_port: 80,
Expand Down
7 changes: 5 additions & 2 deletions dist/web/pusher.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Pusher JavaScript Library v3.2.3
* Pusher JavaScript Library v3.2.4
* http://pusher.com/
*
* Copyright 2016, Pusher
Expand Down Expand Up @@ -135,6 +135,9 @@ return /******/ (function(modules) { // webpackBootstrap
_this.global_emitter.emit(params.event, params.data);
}
});
this.connection.bind('connecting', function () {
_this.channels.disconnect();
});
this.connection.bind('disconnected', function () {
_this.channels.disconnect();
});
Expand Down Expand Up @@ -460,7 +463,7 @@ return /******/ (function(modules) { // webpackBootstrap

"use strict";
var Defaults = {
VERSION: "3.2.3",
VERSION: "3.2.4",
PROTOCOL: 7,
host: 'ws.pusherapp.com',
ws_port: 80,
Expand Down
6 changes: 3 additions & 3 deletions dist/web/pusher.min.js

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions dist/worker/pusher.worker.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Pusher JavaScript Library v3.2.3
* Pusher JavaScript Library v3.2.4
* http://pusher.com/
*
* Copyright 2016, Pusher
Expand Down Expand Up @@ -126,6 +126,9 @@ var Pusher =
_this.global_emitter.emit(params.event, params.data);
}
});
this.connection.bind('connecting', function () {
_this.channels.disconnect();
});
this.connection.bind('disconnected', function () {
_this.channels.disconnect();
});
Expand Down Expand Up @@ -811,7 +814,7 @@ var Pusher =

"use strict";
var Defaults = {
VERSION: "3.2.3",
VERSION: "3.2.4",
PROTOCOL: 7,
host: 'ws.pusherapp.com',
ws_port: 80,
Expand Down
6 changes: 3 additions & 3 deletions dist/worker/pusher.worker.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pusher-js",
"version": "3.2.3",
"version": "3.2.4",
"description": "Pusher JavaScript library for browser, React Native, NodeJS and web workers",
"main": "dist/web/pusher.js",
"scripts": {
Expand Down

0 comments on commit 1e0fa96

Please sign in to comment.