Skip to content

Commit

Permalink
Merge tag 'v1.3.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
ra1u committed Apr 25, 2021
2 parents 5088994 + fd133a3 commit d660110
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@

[README.md](README.md)

### 1.3.0
### 1.4.0
- Tls and custom Socket support. Thanks to [@Derrick56007](https://github.com/Derrick56007)

### 1.3.0
- Improved error handling [Issue #15](https://github.com/ra1u/redis-dart/issues/15)
- Experimental transaction discard [Issue #11](https://github.com/ra1u/redis-dart/issues/11)
- Minor fixes

### 1.2.0
- Received redis errors throws exception. Thanks to [@eknoes](https://github.com/eknoes) for pull request.
- Integers in array get auto converted to strings. Author [@eknoes](https://github.com/eknoes).
Expand Down
1 change: 1 addition & 0 deletions lib/connection.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* Luka Rahne
*/


part of redis;

/// Class for server connection on server
Expand Down
1 change: 0 additions & 1 deletion lib/redis.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

library redis;

import 'dart:cli';
import 'dart:io';
import 'dart:async';
import 'dart:convert';
Expand Down
4 changes: 2 additions & 2 deletions lib/redisparser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class RedisParser{

static Future<String> parseSimpleString(LazyStream s){
return read_simple(s).then((v){
return UTF8.decode(v) as String;
return UTF8.decode(v);
});
}

Expand All @@ -84,7 +84,7 @@ class RedisParser{
}

static Future<int> parseInt(LazyStream s){
return read_simple(s).then((v)=> _ParseIntRaw(v) as int);
return read_simple(s).then((v)=> _ParseIntRaw(v));
}

static Future parseBulk(LazyStream s){
Expand Down
2 changes: 0 additions & 2 deletions lib/redisserialise.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ class RedisSerialise {
static final _semicol = ASCII.encode(":");
static final _linesep = ASCII.encode("\r\n");
static final _dollarminus1 = ASCII.encode("\$-1");
static final List _ints = new List.generate(20,(i)=>ASCII.encode(i.toString()),growable:false);


static List<int> Serialise(object){
List<int> s = new List();
Expand Down

0 comments on commit d660110

Please sign in to comment.