From 3b294baf07ee7d4432e76c574d130e9d4a55b3de Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Mon, 13 Jan 2020 20:04:15 +0100 Subject: [PATCH] Update change logs, bump versions --- CHANGELOG.md | 6 ++++++ Cargo.toml | 4 ++-- ruma-api-macros/CHANGELOG.md | 8 ++++++++ ruma-api-macros/Cargo.toml | 2 +- 4 files changed, 17 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fbb6ed8c..6f5c6451 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # [unreleased] +# 0.12.1 + +Improvements: + +* Update ruma-api-macros to 0.9.1 to support `#[ruma_api(raw_body)]` + # 0.12.0 Breaking changes: diff --git a/Cargo.toml b/Cargo.toml index 2160a053..84bae69a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,13 +9,13 @@ license = "MIT" name = "ruma-api" readme = "README.md" repository = "https://github.com/ruma/ruma-api" -version = "0.12.0" +version = "0.12.1" edition = "2018" [dependencies] http = "0.2.0" percent-encoding = { version = "2.1.0", optional = true } -ruma-api-macros = { version = "=0.9.0", path = "ruma-api-macros", optional = true } +ruma-api-macros = { version = "=0.9.1", path = "ruma-api-macros", optional = true } ruma-identifiers = "0.14.0" serde = { version = "1.0.103", features = ["derive"], optional = true } serde_json = "1.0.42" diff --git a/ruma-api-macros/CHANGELOG.md b/ruma-api-macros/CHANGELOG.md index 1c4780a6..b1d65f13 100644 --- a/ruma-api-macros/CHANGELOG.md +++ b/ruma-api-macros/CHANGELOG.md @@ -1,5 +1,13 @@ # [unreleased] +# 0.9.1 + +Improvements: + +* Add `#[ruma_api(raw_body)]` attribute to `ruma_api!`'s grammar + * This attribute is used to bypass (de)serialization for endpoints where the HTTP request / + response is arbitrary data rather than some JSON structure + # 0.9.0 Breaking changes: diff --git a/ruma-api-macros/Cargo.toml b/ruma-api-macros/Cargo.toml index 4ebffbab..70b246a9 100644 --- a/ruma-api-macros/Cargo.toml +++ b/ruma-api-macros/Cargo.toml @@ -9,7 +9,7 @@ license = "MIT" name = "ruma-api-macros" readme = "README.md" repository = "https://github.com/ruma/ruma-api" -version = "0.9.0" +version = "0.9.1" edition = "2018" [dependencies]