Skip to content

Commit

Permalink
adds changelog and bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
matteosister committed Oct 26, 2020
1 parent c20096f commit 72dfe26
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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<String> = 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.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "prima_bridge"
version = "0.1.7"
version = "0.2.0"
authors = ["Matteo Giachino <[email protected]>"]
edition = "2018"
license = "MIT"
Expand Down

0 comments on commit 72dfe26

Please sign in to comment.