Preparing for 3.0.3 release

This commit is contained in:
Gideon le Grange 2016-10-08 19:32:40 +02:00
parent e6b714b23a
commit b606fa9574
3 changed files with 4 additions and 5 deletions

View File

@ -6,9 +6,9 @@ This project provides a Java client to manipulate Mikrotik routers using the rem
## Versions ## Versions
**The current stable version is 3.0.2** **The current stable version is 3.0.3**
Version 3.0.2 fixes a bug where file download and some other multi-line content results causes the API call to time out, rather than return a result. This was reported in #43 and fixed by #37. Version 3.0.3 fixes a problem with the encoding of non-English characters when sending commands to RouterOS. See #40 for more details.
### Changes in version 3.0: ### Changes in version 3.0:
@ -37,7 +37,7 @@ Maven users can use the artifact from Maven Central with this dependency:
<dependency> <dependency>
<groupId>me.legrange</groupId> <groupId>me.legrange</groupId>
<artifactId>mikrotik</artifactId> <artifactId>mikrotik</artifactId>
<version>3.0.2</version> <version>3.0.3</version>
</dependency> </dependency>
``` ```

View File

@ -9,7 +9,7 @@
<groupId>me.legrange</groupId> <groupId>me.legrange</groupId>
<artifactId>mikrotik</artifactId> <artifactId>mikrotik</artifactId>
<version>3.0.2</version> <version>3.0.3</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>Mikrotik API Java Client Library</name> <name>Mikrotik API Java Client Library</name>

View File

@ -133,7 +133,6 @@ final class Util {
* stream. * stream.
*/ */
private static void encode(String word, OutputStream out) throws UnsupportedEncodingException, IOException { private static void encode(String word, OutputStream out) throws UnsupportedEncodingException, IOException {
// byte bytes[] = word.getBytes("US-ASCII");
byte bytes[] = word.getBytes("UTF-8"); byte bytes[] = word.getBytes("UTF-8");
int len = bytes.length; int len = bytes.length;
if (len < 0x80) { if (len < 0x80) {