Bump up version to 0.4.0

next
Sayan Nandan 4 years ago
parent 9aa42c01c4
commit 6ad417e7ce
No known key found for this signature in database
GPG Key ID: C31EFD7DDA12AEE0

@ -2,6 +2,24 @@
All changes in this project will be noted in this file.
## Version 0.4.0 [2020-08-30]
> This release introduces breaking changes
Changes:
* Actions added: `MSET` , `MGET` , `MUPDATE`
* Terrapipe 1.0
* Improved terminal output
Fixes:
* Explicit handling for incomplete responses in `tsh`
### Migrating existing clients
The Terrapipe protocol was revised and promoted to 1.0. This will cause all existing client implementations to break, since the protocol has changed fundamentally. The clients have to implement the [latest spec](https://git.io/JJZ8Z).
## Version 0.3.2 [2020-08-07]
> No breaking changes

6
Cargo.lock generated

@ -151,7 +151,7 @@ checksum = "a9f8082297d534141b30c8d39e9b1773713ab50fdbe4ff30f750d063b3bfd701"
[[package]]
name = "libtdb"
version = "0.4.0-alpha.2"
version = "0.4.0"
dependencies = [
"bytes",
"lazy_static",
@ -447,7 +447,7 @@ dependencies = [
[[package]]
name = "tdb"
version = "0.4.0-alpha.2"
version = "0.4.0"
dependencies = [
"bincode",
"bytes",
@ -512,7 +512,7 @@ dependencies = [
[[package]]
name = "tsh"
version = "0.4.0-alpha.2"
version = "0.4.0"
dependencies = [
"bytes",
"devtimer",

@ -1,6 +1,6 @@
[package]
name = "tsh"
version = "0.4.0-alpha.2"
version = "0.4.0"
authors = ["Sayan Nandan <ohsayan@outlook.com>"]
edition = "2018"

@ -22,7 +22,7 @@
mod argparse;
mod protocol;
use tokio;
const MSG_WELCOME: &'static str = "TerrabaseDB v0.4.0-alpha.2";
const MSG_WELCOME: &'static str = "TerrabaseDB v0.4.0";
#[tokio::main]
async fn main() {

@ -1,6 +1,6 @@
[package]
name = "libtdb"
version = "0.4.0-alpha.2"
version = "0.4.0"
authors = ["Sayan Nandan <ohsayan@outlook.com>"]
edition = "2018"

@ -1,6 +1,6 @@
[package]
name = "tdb"
version = "0.4.0-alpha.2"
version = "0.4.0"
authors = ["Sayan Nandan <ohsayan@outlook.com>"]
edition = "2018"

@ -33,7 +33,7 @@ use tokio::signal;
#[cfg(test)]
mod tests;
static ADDR: &'static str = "127.0.0.1:2003";
static MSG: &'static str = "TerrabaseDB v0.4.0-alpha.2 | https://github.com/terrabasedb/terrabase\nServer running on terrapipe://127.0.0.1:2003";
static MSG: &'static str = "TerrabaseDB v0.4.0 | https://github.com/terrabasedb/terrabase\nServer running on terrapipe://127.0.0.1:2003";
static TEXT: &'static str = "
_______ _ _____ ____
|__ __| | | | __ \\ | _ \\

@ -57,5 +57,7 @@ pub mod fresp {
pub static ref R_UNKNOWN_ACTION: Vec<u8> = "#2\n*1\n#2\n&1\n!14\nUnknown action\n"
.as_bytes()
.to_owned();
pub static ref R_ONE_INT_REPLY: Vec<u8> = "#2\n*1\n#2\n&1\n:1\n1\n".as_bytes().to_owned();
pub static ref R_ZERO_INT_REPLY: Vec<u8> = "#2\n*1\n#2\n&1\n:1\n0\n".as_bytes().to_owned();
}
}

Loading…
Cancel
Save