aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2017-12-09 10:59:50 -0800
committerZeyla Hellyer <[email protected]>2017-12-09 10:59:50 -0800
commit7fa4df324bcc68f9c0c1c1322eb94931aa267cf0 (patch)
treee25532b5b471cd559ef20f0df5ec2dfeb65437fd
parentRemove EditRole::default implementation (diff)
downloadserenity-7fa4df324bcc68f9c0c1c1322eb94931aa267cf0.tar.xz
serenity-7fa4df324bcc68f9c0c1c1322eb94931aa267cf0.zip
Release v0.4.5v0.4.5
-rw-r--r--CHANGELOG.md23
-rw-r--r--Cargo.toml2
-rw-r--r--src/builder/edit_role.rs3
3 files changed, 25 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index bc11756..40af1e3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,26 @@
All notable changes to this project will be documented in this file.
This project mostly adheres to [Semantic Versioning][semver].
+## [0.4.5] - 2017-12-09
+
+This release contains a hotfix for the hotfix release, as well as a slight
+behaviour change to the `EditRole` builder.
+
+The last release contained a deserialization implementation fix which seemed to
+work after running tests, but it turns out that not all deserialization issues
+were fixed.
+
+The `EditRole` builder's Default implementation no longer sets a value for each
+field, as this causes problems with stateless editing of roles.
+
+### Fixed
+
+- [model] Fix remaining deserializers [c:52403a5]
+
+### Changed
+
+- [builder] Remove `EditRole::default` implementation [c:795eaa1]
+
## [0.4.4] - 2017-12-09
This release contains a hotfix for snowflake deserialization on `serde_json`
@@ -1574,6 +1594,9 @@ Initial commit.
[@xentec]: https://github.com/xentec
[@zeyla]: https://github.com/zeyla
+[c:52403a5]: https://github.com/zeyla/serenity/commit/52403a5084ed7f0589bde3351844907a92de2d62
+[c:795eaa1]: https://github.com/zeyla/serenity/commit/795eaa15bca61116fbde9c2482c765f2d47a7696
+
[c:77f462e]: https://github.com/zeyla/serenity/commit/77f462ea2044ef7d2d12fd1289ea75a6a33cb5dd
[c:1b7101f]: https://github.com/zeyla/serenity/commit/1b7101fe71335c0e18bf855c0703acc23d87e427
diff --git a/Cargo.toml b/Cargo.toml
index 23e0348..485dd45 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -8,7 +8,7 @@ license = "ISC"
name = "serenity"
readme = "README.md"
repository = "https://github.com/zeyla/serenity.git"
-version = "0.4.4"
+version = "0.4.5"
[dependencies]
bitflags = "^1.0"
diff --git a/src/builder/edit_role.rs b/src/builder/edit_role.rs
index bd4984a..0702450 100644
--- a/src/builder/edit_role.rs
+++ b/src/builder/edit_role.rs
@@ -1,6 +1,5 @@
-use std::default::Default;
use internal::prelude::*;
-use model::{permissions, Permissions, Role};
+use model::{Permissions, Role};
/// A builer to create or edit a [`Role`] for use via a number of model methods.
///