chore(release): prepare release socket.io-client-1.0.1
This commit is contained in:
@@ -1,4 +1,13 @@
|
|||||||
|
|
||||||
|
1.0.1 / 2020-12-10
|
||||||
|
==================
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* don't process socket.connect() if we are already re-connecting ([#577](https://github.com/socketio/socket.io-client-java/issues/577)) ([54b7311](https://github.com/socketio/socket.io-client-java/commit/54b73114d19f33a78bec1ce99325893129f8a148))
|
||||||
|
* handle case where URI.getHost() returns null ([#484](https://github.com/socketio/socket.io-client-java/issues/484)) ([567372e](https://github.com/socketio/socket.io-client-java/commit/567372ecfa6c86bdc72f8bc64985d6511dc87666))
|
||||||
|
|
||||||
|
|
||||||
1.0.0 / 2017-07-14
|
1.0.0 / 2017-07-14
|
||||||
==================
|
==================
|
||||||
|
|
||||||
|
|||||||
34
README.md
34
README.md
@@ -11,8 +11,26 @@ See also:
|
|||||||
- [Android chat demo](https://github.com/nkzawa/socket.io-android-chat)
|
- [Android chat demo](https://github.com/nkzawa/socket.io-android-chat)
|
||||||
- [engine.io-client-java](https://github.com/socketio/engine.io-client-java)
|
- [engine.io-client-java](https://github.com/socketio/engine.io-client-java)
|
||||||
|
|
||||||
|
## Table of content
|
||||||
|
|
||||||
|
- [Compatibility](#compatibility)
|
||||||
|
- [Installation](#installation)
|
||||||
|
- [Maven](#maven)
|
||||||
|
- [Gradle](#gradle)
|
||||||
|
- [Usage](#usage)
|
||||||
|
- [Features](#features)
|
||||||
|
- [License](#license)
|
||||||
|
|
||||||
|
## Compatibility
|
||||||
|
|
||||||
|
| Client version | Socket.IO server |
|
||||||
|
| -------------- | ---------------- |
|
||||||
|
| 0.9.x | 1.x |
|
||||||
|
| 1.x | 2.x |
|
||||||
|
| WIP | 3.x |
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
The latest artifact is available on Maven Central. You'll also need [dependencies](http://socketio.github.io/socket.io-client-java/dependencies.html) to install.
|
The latest artifact is available on Maven Central.
|
||||||
|
|
||||||
### Maven
|
### Maven
|
||||||
Add the following dependency to your `pom.xml`.
|
Add the following dependency to your `pom.xml`.
|
||||||
@@ -22,7 +40,7 @@ Add the following dependency to your `pom.xml`.
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.socket</groupId>
|
<groupId>io.socket</groupId>
|
||||||
<artifactId>socket.io-client</artifactId>
|
<artifactId>socket.io-client</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.1/version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
```
|
```
|
||||||
@@ -31,22 +49,12 @@ Add the following dependency to your `pom.xml`.
|
|||||||
Add it as a gradle dependency for Android Studio, in `build.gradle`:
|
Add it as a gradle dependency for Android Studio, in `build.gradle`:
|
||||||
|
|
||||||
```groovy
|
```groovy
|
||||||
compile ('io.socket:socket.io-client:1.0.0') {
|
compile ('io.socket:socket.io-client:1.0.1') {
|
||||||
// excluding org.json which is provided by Android
|
// excluding org.json which is provided by Android
|
||||||
exclude group: 'org.json', module: 'json'
|
exclude group: 'org.json', module: 'json'
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Socket.IO Server 1.x suppport
|
|
||||||
|
|
||||||
The current version of socket.io-client-java doesn't support socket.io server 1.x.
|
|
||||||
Please use socket.io-client-java 0.9.x for that instead.
|
|
||||||
|
|
||||||
#### Socket.IO Server 3.x not suppported
|
|
||||||
|
|
||||||
The current version of socket.io-client-java doesn't support socket.io server 3.x.
|
|
||||||
Please use the lastest version of socket.io 2.x: [socket.io 2.3.0](https://www.npmjs.com/package/socket.io/v/2.3.0)
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
Socket.IO-client Java has almost the same api and features with the original JS client. You use `IO#socket` to initialize `Socket`:
|
Socket.IO-client Java has almost the same api and features with the original JS client. You use `IO#socket` to initialize `Socket`:
|
||||||
|
|
||||||
|
|||||||
4
pom.xml
4
pom.xml
@@ -2,7 +2,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>io.socket</groupId>
|
<groupId>io.socket</groupId>
|
||||||
<artifactId>socket.io-client</artifactId>
|
<artifactId>socket.io-client</artifactId>
|
||||||
<version>1.0.1-SNAPSHOT</version>
|
<version>1.0.1</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<name>socket.io-client</name>
|
<name>socket.io-client</name>
|
||||||
<description>Socket.IO Client Library for Java</description>
|
<description>Socket.IO Client Library for Java</description>
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
<url>https://github.com/socketio/socket.io-client-java</url>
|
<url>https://github.com/socketio/socket.io-client-java</url>
|
||||||
<connection>scm:git:https://github.com/socketio/socket.io-client-java.git</connection>
|
<connection>scm:git:https://github.com/socketio/socket.io-client-java.git</connection>
|
||||||
<developerConnection>scm:git:https://github.com/socketio/socket.io-client-java.git</developerConnection>
|
<developerConnection>scm:git:https://github.com/socketio/socket.io-client-java.git</developerConnection>
|
||||||
<tag>HEAD</tag>
|
<tag>socket.io-client-1.0.1</tag>
|
||||||
</scm>
|
</scm>
|
||||||
|
|
||||||
<developers>
|
<developers>
|
||||||
|
|||||||
Reference in New Issue
Block a user