From 89ef9d09cee799ffb85e0252bcaf1993f9d49af9 Mon Sep 17 00:00:00 2001 From: Damien Arrachequesne Date: Thu, 10 Dec 2020 16:01:09 +0100 Subject: [PATCH] chore(release): prepare release socket.io-client-1.0.1 --- History.md | 9 +++++++++ README.md | 34 +++++++++++++++++++++------------- pom.xml | 4 ++-- 3 files changed, 32 insertions(+), 15 deletions(-) diff --git a/History.md b/History.md index 60f71daf..f11dc8f8 100644 --- a/History.md +++ b/History.md @@ -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 ================== diff --git a/README.md b/README.md index 79564f4f..5b7af7d6 100644 --- a/README.md +++ b/README.md @@ -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`. @@ -22,7 +40,7 @@ Add the following dependency to your `pom.xml`. io.socket socket.io-client - 1.0.0 + 1.0.1/version> ``` @@ -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`: diff --git a/pom.xml b/pom.xml index a7ae1535..ce68cfbc 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 io.socket socket.io-client - 1.0.1-SNAPSHOT + 1.0.1 jar socket.io-client Socket.IO Client Library for Java @@ -30,7 +30,7 @@ https://github.com/socketio/socket.io-client-java scm:git:https://github.com/socketio/socket.io-client-java.git scm:git:https://github.com/socketio/socket.io-client-java.git - HEAD + socket.io-client-1.0.1