diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..3c7b310 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,21 @@ +# Changelog + +### 0.2.0 +features: +- adds the ability to use a binary as the body of a request. The api has changed: + +**before** +```rust +let body: Option = None; +bridge.request(RequestType::rest(body, Method::GET)).send(); +``` + +**now** + +```rust +RestRequest::new(&bridge).send(); +// OR +Request::rest(&bridge).send() +``` + +The old API is still available but deprecated. It will be removed soon. \ No newline at end of file diff --git a/Cargo.toml b/Cargo.toml index f6d04b7..b096ef2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "prima_bridge" -version = "0.1.7" +version = "0.2.0" authors = ["Matteo Giachino "] edition = "2018" license = "MIT"