Skip to content

Commit

Permalink
chore(release): prepare release socket.io-client-1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
darrachequesne committed Dec 10, 2020
1 parent 9df7b75 commit 89ef9d0
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 15 deletions.
9 changes: 9 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -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
==================

Expand Down
34 changes: 21 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,26 @@ See also:
- [Android chat demo](https://github.com/nkzawa/socket.io-android-chat)
- [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
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
Add the following dependency to your `pom.xml`.
Expand All @@ -22,7 +40,7 @@ Add the following dependency to your `pom.xml`.
<dependency>
<groupId>io.socket</groupId>
<artifactId>socket.io-client</artifactId>
<version>1.0.0</version>
<version>1.0.1/version>
</dependency>
</dependencies>
```
Expand All @@ -31,22 +49,12 @@ Add the following dependency to your `pom.xml`.
Add it as a gradle dependency for Android Studio, in `build.gradle`:

```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
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
Socket.IO-client Java has almost the same api and features with the original JS client. You use `IO#socket` to initialize `Socket`:

Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>io.socket</groupId>
<artifactId>socket.io-client</artifactId>
<version>1.0.1-SNAPSHOT</version>
<version>1.0.1</version>
<packaging>jar</packaging>
<name>socket.io-client</name>
<description>Socket.IO Client Library for Java</description>
Expand Down Expand Up @@ -30,7 +30,7 @@
<url>https://github.com/socketio/socket.io-client-java</url>
<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>
<tag>HEAD</tag>
<tag>socket.io-client-1.0.1</tag>
</scm>

<developers>
Expand Down

0 comments on commit 89ef9d0

Please sign in to comment.