Sitelet https://github.com/cnandroidlib/java/commit/e87a43fe78e23811a4a8734b9a989e833b95c7f7
Skip to content

Commit e87a43f

Browse files
author
Max Presman
committed
4.0.8
1 parent 5ec84ae commit e87a43f

6 files changed

Lines changed: 151 additions & 32 deletions

File tree

‎.pubnub.yml‎

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
11
name: java
2-
version: 4.0.7
2+
version: 4.0.8
33
schema: 1
44
scm: github.com/pubnub/java
55
changelog:
6+
- version: v4.0.8
7+
date:
8+
changes:
9+
- type: feature
10+
text: added unsubscribeAll, getSubscribedChannels, getSubscribedChannelGroups
11+
- type: feature
12+
text: SDK will establish secure connections by default
13+
- type: feature
14+
text: added support for exponential backoff reconnection policies
615
- version: v4.0.7
716
date:
817
changes:

‎CHANGELOG.md‎

Lines changed: 137 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,149 @@
11

2-
4.0.7
3-
- reduce overlap on error handling when returning exceptions
2+
## [v4.0.8](https://github.com/pubnub/java/tree/v4.0.8)
43

5-
4.0.6
6-
- send heartbeat presence value when subscribing
74

8-
4.0.5
9-
- unified retrofit handling to lower amount of instances and sync'd the state methods.
5+
[Full Changelog](https://github.com/pubnub/java/compare/v4.0.7...v4.0.8)
106

11-
4.0.4
12-
- setting State for other UUID's is now supported (again)
7+
- 🌟added unsubscribeAll, getSubscribedChannels, getSubscribedChannelGroups
138

14-
4.0.3
15-
- fire() method and no-replicaton options.
169

17-
4.0.2
18-
- fix to the version fetching.
1910

20-
4.0.1
21-
- adjustment of the subscribe loop to alleviate duplicate dispatches.
11+
- 🌟SDK will establish secure connections by default
2212

23-
06-03-16 - 4.0.0
24-
- first GA.
2513

26-
05-30-16 - 4.0.0-beta4
27-
- reconnects and minor adjustments
2814

29-
05-20-16 - 4.0.0-beta3
30-
- fixing state not coming on the subscriber callback.
31-
- adjustments to URL encoding on publish, subscribe, set-state operations to avoid double encoding with retrofit
15+
- 🌟added support for exponential backoff reconnection policies
16+
17+
18+
19+
20+
## [v4.0.7](https://github.com/pubnub/java/tree/v4.0.7)
21+
22+
23+
[Full Changelog](https://github.com/pubnub/java/compare/v4.0.6...v4.0.7)
24+
25+
26+
- ⭐reduce overlap on error handling when returning exceptions.
27+
28+
29+
30+
## [v4.0.6](https://github.com/pubnub/java/tree/v4.0.6)
31+
32+
33+
[Full Changelog](https://github.com/pubnub/java/compare/v4.0.5...v4.0.6)
34+
35+
36+
- ⭐send heartbeat presence value when subscribing
37+
38+
39+
40+
## [v4.0.5](https://github.com/pubnub/java/tree/v4.0.5)
41+
42+
43+
[Full Changelog](https://github.com/pubnub/java/compare/v4.0.4...v4.0.5)
44+
45+
46+
- ⭐unified retrofit handling to lower amount of instances and sync'd the state methods.
47+
48+
49+
50+
## [v4.0.4](https://github.com/pubnub/java/tree/v4.0.4)
51+
52+
53+
[Full Changelog](https://github.com/pubnub/java/compare/v4.0.3...v4.0.4)
54+
55+
56+
57+
- 🐛setting State for other UUID's is now supported.
58+
59+
60+
## [v4.0.3](https://github.com/pubnub/java/tree/v4.0.3)
61+
62+
63+
[Full Changelog](https://github.com/pubnub/java/compare/v4.0.2...v4.0.3)
64+
65+
- 🌟fire() method and no-replicaton options.
66+
67+
68+
69+
70+
## [v4.0.2](https://github.com/pubnub/java/tree/v4.0.2)
71+
72+
73+
[Full Changelog](https://github.com/pubnub/java/compare/v4.0.1...v4.0.2)
74+
75+
76+
77+
- 🐛fix to the version fetching.
78+
79+
80+
## [v4.0.1](https://github.com/pubnub/java/tree/v4.0.1)
81+
82+
83+
[Full Changelog](https://github.com/pubnub/java/compare/v4.0.0...v4.0.1)
84+
85+
86+
87+
- 🐛adjustment of the subscribe loop to alleviate duplicate dispatches.
88+
89+
90+
## [v4.0.0](https://github.com/pubnub/java/tree/v4.0.0)
91+
92+
93+
[Full Changelog](https://github.com/pubnub/java/compare/v4.0.0-beta4...v4.0.0)
94+
95+
96+
97+
- 🐛first GA.
98+
99+
100+
## [v4.0.0-beta4](https://github.com/pubnub/java/tree/v4.0.0-beta4)
101+
102+
103+
[Full Changelog](https://github.com/pubnub/java/compare/v4.0.0-beta3...v4.0.0-beta4)
104+
105+
106+
- ⭐reconnects and minor adjustments.
107+
108+
109+
110+
## [v4.0.0-beta3](https://github.com/pubnub/java/tree/v4.0.0-beta3)
111+
112+
113+
[Full Changelog](https://github.com/pubnub/java/compare/v4.0.0-beta2...v4.0.0-beta3)
114+
115+
116+
117+
- 🐛fixing state not coming on the subscriber callback.
118+
119+
120+
121+
- 🐛adjustments to URL encoding on publish, subscribe, set-state operations to avoid double encoding with retrofit.
122+
123+
124+
## [v4.0.0-beta2](https://github.com/pubnub/java/tree/v4.0.0-beta2)
125+
126+
127+
[Full Changelog](https://github.com/pubnub/java/compare/v4.0.0-beta1...v4.0.0-beta2)
128+
129+
130+
- ⭐reworking of message queue.
131+
132+
133+
134+
- ⭐checkstyle, findbugs.
135+
136+
137+
138+
- ⭐reworking error notifications.
139+
140+
141+
142+
## [v4.0.0-beta1](https://github.com/pubnub/java/tree/v4.0.0-beta1)
143+
144+
145+
146+
147+
- ⭐initial beta1.
32148

33-
05-10-16 - 4.0.0-beta2
34-
- reworking of message queue
35-
- checkstyle, findbugs
36-
- reworking error notifications
37149

38-
05-02-16 - 4.0.0-beta1
39-
- initial beta1

‎VERSION‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.0.7
1+
4.0.8

‎src/main/java/com/pubnub/api/PubNub.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public class PubNub {
5454
private static final int TIMESTAMP_DIVIDER = 1000;
5555
private static final int MAX_SEQUENCE = 65535;
5656

57-
private static final String SDK_VERSION = "4.0.7";
57+
private static final String SDK_VERSION = "4.0.8";
5858

5959
public PubNub(final PNConfiguration initialConfig) {
6060
this.configuration = initialConfig;

‎src/main/java/com/pubnub/api/endpoints/Endpoint.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ private PNStatus createStatusResponse(PNStatusCategory category, Response<Input>
227227
protected final Map<String, String> createBaseParams() {
228228
Map<String, String> params = new HashMap<>();
229229

230-
params.put("pnsdk", "PubNub-Java-Unified/" + this.pubnub.getVersion());
230+
params.put("pnsdk", "PubNub-Java-Unified/".concat(this.pubnub.getVersion()));
231231
params.put("uuid", this.pubnub.getConfiguration().getUuid());
232232

233233
// add the auth key for publish and subscribe.

‎src/test/java/com/pubnub/api/PubNubTest.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public void GetVersionAndTimeStamp() throws PubNubException {
9191
pubnub = new PubNub(pnConfiguration);
9292
String version = pubnub.getVersion();
9393
int timeStamp = pubnub.getTimestamp();
94-
Assert.assertEquals("4.0.7", version);
94+
Assert.assertEquals("4.0.8", version);
9595
Assert.assertTrue(timeStamp > 0);
9696
}
9797

0 commit comments

Comments
 (0)