You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -30,12 +30,8 @@ You can use this library two ways:
30
30
- Using the old JACK toolchain
31
31
- If you have Java 8 compatiblity and Jack enabled, this library will work for you
32
32
- Using the new Native Java 8 support
33
-
- As of this writing, you must be using Android Studio Beta to use this feature.
34
-
- Has been tested in the following environments:
35
-
- Beta 1-6, Gradle plugin v3.0.0-beta(1-6)
36
-
- Canary 8-9, Gradle plugin v3.0.0-alpha(8-9)
37
-
- It *should* work in all 3.0.0+ versions
38
-
- You can find more info on the [Releases Page](https://github.com/forresthopkinsa/StompProtocolAndroid/releases)
33
+
- It should work in all Android Studio (and Gradle plugin) 3.0.0+ versions
34
+
- You can find compatibility info on the [Releases Page](https://github.com/forresthopkinsa/StompProtocolAndroid/releases)
39
35
40
36
However, *this fork is NOT compatible with Retrolambda.*
41
37
If you have RL as a dependency, then you should be using the [upstream version](https://github.com/NaikSoftware/StompProtocolAndroid) of this project!
@@ -168,6 +164,15 @@ Right now, the library only supports sending and receiving messages. ACK message
168
164
169
165
## Changes in this fork
170
166
167
+
**Summary**
168
+
169
+
Improvements: Most of the Rx logic has been rewritten, and a good portion of the other code has also been modified
170
+
to allow for more stability. Additionally, a lot of blocking code has been replaced with reactive code,
171
+
resulting in better performance.
172
+
173
+
Drawbacks: In order to allow for major changes, this branch sacrifices backward compatibility. Code written
174
+
for the upstream will likely have to be modified to work with this version. You can find more details below.
175
+
171
176
**Build changes**
172
177
173
178
The upstream master is based on Retrolambda. This version is based on Native Java 8 compilation,
@@ -270,6 +275,7 @@ These are the possible changes you need to make to your code for this branch, if
270
275
- Better adherence to STOMP spec
271
276
- According to the [spec](http://stomp.github.io/stomp-specification-1.2.html#STOMP_Frames), the end of the message body should be immediately followed by a NULL octet, marking the end of the frame.
272
277
- Before, we were adding an extra two newlines between the body and NULL octet, which was breaking compatibility with picky servers.
278
+
- Now, we format it correctly; there is no whitespace between the end of the body and the `\u0000`.
273
279
- This shouldn't make any difference, but if it does, you can revert to legacy formatting with `client.setLegacyWhitespace(true)`.
0 commit comments