-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c20096f
commit 72dfe26
Showing
2 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
|