Skip to content

Commit 9a65f02

Browse files
authored
Merge pull request #114 from pubnub/develop
Release 4.18.0
2 parents 9a1f6dc + 29e40e8 commit 9a65f02

File tree

19 files changed

+180
-43
lines changed

19 files changed

+180
-43
lines changed

.pubnub.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
name: javascript
2-
version: 4.17.0
2+
version: 4.18.0
33
schema: 1
44
scm: github.com/pubnub/javascript
55
files:
66
- dist/web/pubnub.js
77
- dist/web/pubnub.min.js
88
changelog:
9+
- version: v4.18.0
10+
date: 2017-11-20
11+
changes:
12+
- type: improvement
13+
text: keepAlive is now initialized globally instead of per-call, allowing better connection reuse
14+
- type: feature
15+
text: added sdkName configuration parameter which allow completely override pnsdk in request query
916
- version: v4.17.0
1017
date: 2017-10-19
1118
changes:

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
11

2+
## [v4.18.0](https://github.com/pubnub/javascript/tree/v4.18.0)
3+
November-20-2017
4+
5+
6+
[Full Changelog](https://github.com/pubnub/javascript/compare/v4.17.0...v4.18.0)
7+
8+
9+
- ⭐ keepAlive is now initialized globally instead of per-call, allowing better connection reuse
10+
- 🌟 added sdkName configuration parameter which allow completely override pnsdk in request query
11+
12+
13+
214
## [v4.17.0](https://github.com/pubnub/javascript/tree/v4.17.0)
315
October-19-2017
416

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ please use the [master_3x](https://github.com/pubnub/javascript/tree/master_3x)
1919
- If you **need help** or have a **general question**, contact <[email protected]>
2020

2121
## CDN Links
22-
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.17.0.min.js
23-
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.17.0.js
22+
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.18.0.min.js
23+
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.18.0.js

dist/titanium/pubnub.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! 4.17.0 / Consumer */
1+
/*! 4.18.0 / Consumer */
22
(function webpackUniversalModuleDefinition(root, factory) {
33
if(typeof exports === 'object' && typeof module === 'object')
44
module.exports = factory();
@@ -429,6 +429,7 @@ return /******/ (function(modules) { // webpackBootstrap
429429
this.secretKey = setup.secretKey || setup.secret_key;
430430
this.subscribeKey = setup.subscribeKey || setup.subscribe_key;
431431
this.publishKey = setup.publishKey || setup.publish_key;
432+
this.sdkName = setup.sdkName;
432433
this.sdkFamily = setup.sdkFamily;
433434
this.partnerId = setup.partnerId;
434435
this.setAuthKey(setup.authKey);
@@ -572,7 +573,7 @@ return /******/ (function(modules) { // webpackBootstrap
572573
}, {
573574
key: 'getVersion',
574575
value: function getVersion() {
575-
return '4.17.0';
576+
return '4.18.0';
576577
}
577578
}, {
578579
key: '_decideUUID',
@@ -2417,6 +2418,10 @@ return /******/ (function(modules) { // webpackBootstrap
24172418
}
24182419

24192420
function generatePNSDK(config) {
2421+
if (config.sdkName) {
2422+
return config.sdkName;
2423+
}
2424+
24202425
var base = 'PubNub-JS-' + config.sdkFamily;
24212426

24222427
if (config.partnerId) {

dist/titanium/pubnub.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/web/pubnub.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! 4.17.0 / Consumer */
1+
/*! 4.18.0 / Consumer */
22
(function webpackUniversalModuleDefinition(root, factory) {
33
if(typeof exports === 'object' && typeof module === 'object')
44
module.exports = factory();
@@ -451,6 +451,7 @@ return /******/ (function(modules) { // webpackBootstrap
451451
this.secretKey = setup.secretKey || setup.secret_key;
452452
this.subscribeKey = setup.subscribeKey || setup.subscribe_key;
453453
this.publishKey = setup.publishKey || setup.publish_key;
454+
this.sdkName = setup.sdkName;
454455
this.sdkFamily = setup.sdkFamily;
455456
this.partnerId = setup.partnerId;
456457
this.setAuthKey(setup.authKey);
@@ -594,7 +595,7 @@ return /******/ (function(modules) { // webpackBootstrap
594595
}, {
595596
key: 'getVersion',
596597
value: function getVersion() {
597-
return '4.17.0';
598+
return '4.18.0';
598599
}
599600
}, {
600601
key: '_decideUUID',
@@ -2439,6 +2440,10 @@ return /******/ (function(modules) { // webpackBootstrap
24392440
}
24402441

24412442
function generatePNSDK(config) {
2443+
if (config.sdkName) {
2444+
return config.sdkName;
2445+
}
2446+
24422447
var base = 'PubNub-JS-' + config.sdkFamily;
24432448

24442449
if (config.partnerId) {

dist/web/pubnub.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/core/components/config.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/core/components/config.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/core/components/endpoint.js

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)