Skip to content

Commit bbec377

Browse files
committed
release 4.27.2
1 parent 1cb6c95 commit bbec377

15 files changed

+52
-35
lines changed

.pubnub.yml

+14-11
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
---
22
changelog:
3+
-
4+
changes:
5+
-
6+
text: "disable presence heartbeats by default"
7+
type: bug
8+
-
9+
date: 2019-12-05
10+
version: v4.27.2
311
-
412
changes:
513
-
@@ -766,8 +774,8 @@ scm: github.com/pubnub/javascript
766774
supported-platforms:
767775
-
768776
frameworks:
769-
- "Angular 1"
770-
- "Angular 2 using Javascript Plain"
777+
- "Angular JS"
778+
- "Angular 2 and up"
771779
platforms:
772780
- "Safari 10 and up"
773781
- "Mozilla Firefox 51 and up"
@@ -778,15 +786,10 @@ supported-platforms:
778786
version: "Pubnub Javascript for Web"
779787
-
780788
editors:
781-
- 0.12
782-
- 4
783-
- 5
784-
- 6
785-
- 7
786-
- 8
789+
- "4 and up"
787790
platforms:
788791
- "OSX 10.12 and up"
789-
- "Ubuntu 14.04 and above"
790-
- "Windows 7, 8, 10"
792+
- "Ubuntu 14.04 and up"
793+
- "Windows 7 and up"
791794
version: "Pubnub Javascript for Node"
792-
version: "4.27.1"
795+
version: "4.27.2"

CHANGELOG.md

+12-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
1-
## [v4.27.1](https://github.com/pubnub/javascript/tree/v4.27.1)
1+
## [v4.27.2](https://github.com/pubnub/javascript/tree/v4.27.2)
2+
December-05-2019
3+
4+
5+
[Full Changelog](https://github.com/pubnub/javascript/compare/v4.27.1...v4.27.2)
6+
7+
8+
9+
- ⭐ disable presence heartbeats by default
10+
11+
12+
## [v4.27.1](https://github.com/pubnub/javascript/tree/v4.27.1)
213
November-20-2019
314

415

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ please use the [master_3x](https://github.com/pubnub/javascript/tree/master_3x)
2222

2323

2424

25-
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.27.1.min.js
26-
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.27.1.js
25+
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.27.2.min.js
26+
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.27.2.js

dist/titanium/pubnub.js

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! 4.27.1 / Consumer */
1+
/*! 4.27.2 / Consumer */
22
exports["PubNub"] =
33
/******/ (function(modules) { // webpackBootstrap
44
/******/ // The module cache
@@ -416,7 +416,6 @@ var _default = function () {
416416
console.log('WARNING: Presence timeout is less than the minimum. Using minimum value: ', this._presenceTimeout);
417417
}
418418

419-
this.setHeartbeatInterval(this._presenceTimeout / 2 - 1);
420419
return this;
421420
}
422421
}, {
@@ -471,7 +470,7 @@ var _default = function () {
471470
}, {
472471
key: "getVersion",
473472
value: function getVersion() {
474-
return '4.27.1';
473+
return '4.27.2';
475474
}
476475
}, {
477476
key: "_decideUUID",
@@ -5203,7 +5202,9 @@ function prepareParams(modules, incomingParams) {
52035202

52045203
function handleResponse(modules, getMessageActionsResponse) {
52055204
var response = {
5206-
data: getMessageActionsResponse.data
5205+
data: getMessageActionsResponse.data,
5206+
start: null,
5207+
end: null
52075208
};
52085209

52095210
if (response.data.length) {
@@ -8253,11 +8254,11 @@ function handleResponse(modules, serverResponse) {
82538254
(serverResponse.channels[channelName] || []).forEach(function (messageEnvelope) {
82548255
var announce = {};
82558256
announce.channel = channelName;
8256-
announce.subscription = null;
82578257
announce.timetoken = messageEnvelope.timetoken;
82588258
announce.message = __processMessage(modules, messageEnvelope.message);
82598259

82608260
if (messageEnvelope.actions) {
8261+
announce.actions = messageEnvelope.actions;
82618262
announce.data = messageEnvelope.actions;
82628263
}
82638264

dist/titanium/pubnub.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/web/pubnub.js

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! 4.27.1 / Consumer */
1+
/*! 4.27.2 / Consumer */
22
(function webpackUniversalModuleDefinition(root, factory) {
33
if(typeof exports === 'object' && typeof module === 'object')
44
module.exports = factory();
@@ -425,7 +425,6 @@ var _default = function () {
425425
console.log('WARNING: Presence timeout is less than the minimum. Using minimum value: ', this._presenceTimeout);
426426
}
427427

428-
this.setHeartbeatInterval(this._presenceTimeout / 2 - 1);
429428
return this;
430429
}
431430
}, {
@@ -480,7 +479,7 @@ var _default = function () {
480479
}, {
481480
key: "getVersion",
482481
value: function getVersion() {
483-
return '4.27.1';
482+
return '4.27.2';
484483
}
485484
}, {
486485
key: "_decideUUID",
@@ -7055,7 +7054,9 @@ function prepareParams(modules, incomingParams) {
70557054

70567055
function handleResponse(modules, getMessageActionsResponse) {
70577056
var response = {
7058-
data: getMessageActionsResponse.data
7057+
data: getMessageActionsResponse.data,
7058+
start: null,
7059+
end: null
70597060
};
70607061

70617062
if (response.data.length) {
@@ -10105,11 +10106,11 @@ function handleResponse(modules, serverResponse) {
1010510106
(serverResponse.channels[channelName] || []).forEach(function (messageEnvelope) {
1010610107
var announce = {};
1010710108
announce.channel = channelName;
10108-
announce.subscription = null;
1010910109
announce.timetoken = messageEnvelope.timetoken;
1011010110
announce.message = __processMessage(modules, messageEnvelope.message);
1011110111

1011210112
if (messageEnvelope.actions) {
10113+
announce.actions = messageEnvelope.actions;
1011310114
announce.data = messageEnvelope.actions;
1011410115
}
1011510116

dist/web/pubnub.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/core/components/config.js

+1-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/core/components/config.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/core/endpoints/actions/get_message_actions.js

+3-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/core/endpoints/actions/get_message_actions.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/core/endpoints/fetch_messages.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)