Damien Arrachequesne
|
d8d975e5bd
|
docs: update links to the Socket.IO website
Some links were broken due to recent updates.
|
2021-09-21 08:34:33 +02:00 |
|
Damien Arrachequesne
|
08bc462ccd
|
docs: use implementation instead of compile in gradle (#684)
Reference: https://docs.gradle.org/current/userguide/upgrading_version_5.html#dependencies_should_no_longer_be_declared_using_the_compile_and_runtime_configurations
|
2021-09-21 08:28:30 +02:00 |
|
Damien Arrachequesne
|
ad23cfcca6
|
chore(release): prepare for next development iteration
|
2021-04-27 00:35:37 +02:00 |
|
Damien Arrachequesne
|
b46da92382
|
chore(release): prepare release socket.io-client-2.0.1
|
2021-04-27 00:30:03 +02:00 |
|
Damien Arrachequesne
|
d324e7f396
|
fix: emit a CONNECT_ERROR event upon connection failure
See also: 53c73749a8
|
2021-04-27 00:17:05 +02:00 |
|
Damien Arrachequesne
|
e8ffe9d138
|
fix: ensure the payload format is valid
This commit should prevent some NPE issues encountered after the
parsing of the packet.
Related:
- https://github.com/socketio/socket.io-client-java/issues/642
- https://github.com/socketio/socket.io-client-java/issues/609
- https://github.com/socketio/socket.io-client-java/issues/505
|
2021-04-27 00:14:24 +02:00 |
|
Damien Arrachequesne
|
4885e7d59f
|
fix: ensure buffered events are sent in order
Before this commit, an event sent in the "connect" handler could be
sent before the events that were buffered while disconnected.
Related: https://github.com/socketio/socket.io-client/issues/1458
|
2021-04-27 00:12:46 +02:00 |
|
Damien Arrachequesne
|
48fec45740
|
refactor: minor cleanup
- replace explicit types by <>
- remove unnecessary interface modifiers
|
2021-04-26 11:19:02 +02:00 |
|
Damien Arrachequesne
|
a4053e8645
|
test: cleanup URISyntaxException exceptions
Note: we cannot update the `IO.socket(uri: string)` method without
doing a breaking change.
|
2021-04-26 11:19:02 +02:00 |
|
Damien Arrachequesne
|
67fd5f34a3
|
fix: fix usage with ws:// scheme
The URL constructor does not support the ws:// scheme, and would throw:
> java.net.MalformedURLException: unknown protocol: ws
Related:
- https://github.com/socketio/socket.io-client-java/issues/650
- https://github.com/socketio/socket.io-client-java/issues/555
- https://github.com/socketio/socket.io-client-java/issues/233
|
2021-04-26 11:17:41 +02:00 |
|
Damien Arrachequesne
|
e2e24ea75d
|
docs: update compatibility table with Socket.IO v4
|
2021-04-26 09:22:05 +02:00 |
|
Damien Arrachequesne
|
5b5b91cb01
|
test: fix random test failures
|
2021-04-26 09:12:55 +02:00 |
|
Damien Arrachequesne
|
615942b828
|
docs: update compatibility table with Socket.IO v4
There is no breaking change at the protocol level.
Reference: https://socket.io/blog/socket-io-4-release/
|
2021-03-19 14:55:42 +01:00 |
|
Damien Arrachequesne
|
275cd1b7ee
|
docs: add EVENT_CONNECT_TIMEOUT in the migration guide
|
2020-12-21 10:37:49 +01:00 |
|
Damien Arrachequesne
|
651404136f
|
docs: add additional details
Adapted from:
- https://socket.io/docs/v3/client-initialization/
- https://socket.io/docs/v3/client-socket-instance/
|
2020-12-21 10:08:02 +01:00 |
|
Damien Arrachequesne
|
90d0d4e031
|
chore: add issue templates
|
2020-12-17 16:01:50 +01:00 |
|
Damien Arrachequesne
|
aeecf9ecac
|
docs: add "emitting and listening to events" pages
Imported from the javascript documentation:
- https://socket.io/docs/v3/emitting-events/
- https://socket.io/docs/v3/listening-to-events/
|
2020-12-16 01:55:30 +01:00 |
|
Damien Arrachequesne
|
dee6bb97b3
|
docs: remove notice of incompatibility with v3
|
2020-12-16 00:39:39 +01:00 |
|
Damien Arrachequesne
|
6a2e0f493d
|
docs: init migration guide
|
2020-12-16 00:17:43 +01:00 |
|
Damien Arrachequesne
|
4627329ab0
|
chore(release): prepare for next development iteration
|
2020-12-15 09:28:12 +01:00 |
|
Damien Arrachequesne
|
75d7bb5918
|
chore(release): prepare release socket.io-client-2.0.0
|
2020-12-15 00:32:37 +01:00 |
|
Damien Arrachequesne
|
a857b9baa4
|
docs: update website
|
2020-12-15 00:26:37 +01:00 |
|
Lloyd Junbong Lee
|
49068d3cc5
|
feat: add options builder (#304)
|
2020-12-15 00:16:59 +01:00 |
|
Damien Arrachequesne
|
79cb27fc97
|
feat: add support for Socket.IO v3
Including:
- 969debe88c
- 6494f61be0
- 132f8ec918
- f8f60fc860
Reference: https://github.com/socketio/socket.io-protocol#difference-between-v5-and-v4
|
2020-12-15 00:05:22 +01:00 |
|
Damien Arrachequesne
|
48bf83f34c
|
chore(release): prepare for next development iteration
|
2020-12-10 16:02:02 +01:00 |
|
Damien Arrachequesne
|
89ef9d09ce
|
chore(release): prepare release socket.io-client-1.0.1
|
2020-12-10 16:01:09 +01:00 |
|
Damien Arrachequesne
|
9df7b759b0
|
chore: bump engine.io-client version
Diff: https://github.com/socketio/engine.io-client-java/compare/engine.io-client-1.0.0...engine.io-client-1.0.1
|
2020-12-10 15:43:05 +01:00 |
|
Damien Arrachequesne
|
7cb4dc9316
|
chore: bump Socket.IO server version
We'll migrate to v3 in a second time.
|
2020-12-10 15:43:05 +01:00 |
|
Damien Arrachequesne
|
b733f96e0e
|
test: fix test with ping-pong latency
Randomly receiving a latency of 0 ms would make the test fail.
|
2020-12-10 12:23:33 +01:00 |
|
Alireza Ghaffari
|
567372ecfa
|
fix: handle case where URI.getHost() returns null (#484)
It seems that URI.getHost() might return null on some Samsung devices.
Related: https://stackoverflow.com/questions/39645789/android-websocket-connection-failed-galaxy-s4
|
2020-12-10 12:20:06 +01:00 |
|
Ifedapo .A. Olarewaju
|
858907f9be
|
docs: add import hints to readme (#586)
|
2020-12-10 12:16:32 +01:00 |
|
Kushtrim Pacaj
|
54b73114d1
|
fix: don't process socket.connect() if we are already re-connecting (#577)
|
2020-12-10 11:47:20 +01:00 |
|
Damien Arrachequesne
|
91c0a85c0f
|
ci: migrate to GitHub Actions
Due to the recent changes to the Travis CI platform (see [1]), we will
now use GitHub Actions to run the tests.
Note: the certificate was updated because it failed with newer Node.js versions
```
_tls_common.js:129
c.context.setCert(cert);
^
Error: error:140AB18F:SSL routines:SSL_CTX_use_certificate:ee key too small
at Object.createSecureContext (_tls_common.js:129:17)
at Server.setSecureContext (_tls_wrap.js:1328:27)
```
Reference: https://docs.github.com/en/free-pro-team@latest/actions/guides/building-and-testing-java-with-maven
[1]: https://blog.travis-ci.com/2020-11-02-travis-ci-new-billing
|
2020-12-10 11:20:23 +01:00 |
|
Imran Abdulmalik
|
0f3ad9bb45
|
docs: socket.io 3.x support notice (2) (#640)
|
2020-12-08 11:11:36 +01:00 |
|
yujiosaka
|
d7e807b7f9
|
docs: state socket.io 2.x support (#627)
|
2020-12-08 11:09:39 +01:00 |
|
twofingerrightclick
|
63eefa2bfd
|
docs: socket.io 3.x support notice (#639)
Inform users that socket.io 3.x is not supported yet.
|
2020-12-08 10:58:52 +01:00 |
|
Naoyuki Kanezawa
|
4bcbba4948
|
Merge pull request #540 from zhxnlai/patch-1
Fix broken link in README
|
2019-03-15 10:06:15 +09:00 |
|
Zhixuan Lai
|
52a0c3d09e
|
Fix broken link
|
2018-07-16 17:20:13 -07:00 |
|
nkzawa
|
964a66fc1c
|
remove warning
|
2017-07-14 15:46:09 +09:00 |
|
nkzawa
|
65daeb2369
|
[maven-release-plugin] prepare for next development iteration
|
2017-07-14 15:14:06 +09:00 |
|
nkzawa
|
45fd4fbdd8
|
[maven-release-plugin] prepare release socket.io-client-1.0.0
|
2017-07-14 15:13:55 +09:00 |
|
nkzawa
|
84830a463b
|
version
|
2017-07-14 15:03:16 +09:00 |
|
nkzawa
|
3c0808b6f9
|
prepare release
|
2017-07-14 14:54:54 +09:00 |
|
Naoyuki Kanezawa
|
05f6a2afd2
|
Merge pull request #439 from socketio/fix/compatible-v2
Make compatible with Socket.IO v2
|
2017-07-14 14:23:34 +09:00 |
|
nkzawa
|
eeadb50aa9
|
clean up imports
|
2017-07-14 14:22:44 +09:00 |
|
nkzawa
|
6e5fab39de
|
Merge branch 'master' into fix/compatible-v2
|
2017-07-14 14:20:39 +09:00 |
|
nkzawa
|
ad4449bfee
|
explicitly clear onDecoded callback
|
2017-07-14 14:11:27 +09:00 |
|
nkzawa
|
2ec4167eb8
|
add tests
|
2017-07-14 12:40:22 +09:00 |
|
nkzawa
|
3d98ed9fe9
|
simplify custom encoder/decoder
|
2017-07-14 11:50:25 +09:00 |
|
Naoyuki Kanezawa
|
9b5c684349
|
Merge pull request #423 from sergey-davydov/donotformateventdata
Add condition to log only if fine level is loggable
|
2017-07-14 11:25:20 +09:00 |
|