Update version and changelog for 0.5.2 release.
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2d9cab5..0d9eccb 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,6 +9,10 @@
 You may also find the [Update Guide](UPDATING.md) useful.
 
 
+## [0.5.2] - 2018-06-18
+### Platform support
+- Hide `OsRng` and `JitterRng` on unsupported platforms (#512; fixes #503).
+
 ## [0.5.1] - 2018-06-08
 
 ### New distributions
diff --git a/Cargo.toml b/Cargo.toml
index e1b7b78..0985f27 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "rand"
-version = "0.5.1" # NB: When modifying, also modify html_root_url in lib.rs
+version = "0.5.2" # NB: When modifying, also modify html_root_url in lib.rs
 authors = ["The Rust Project Developers"]
 license = "MIT/Apache-2.0"
 readme = "README.md"
diff --git a/src/lib.rs b/src/lib.rs
index 4324c98..c86aa69 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -223,7 +223,7 @@
 
 #![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk.png",
        html_favicon_url = "https://www.rust-lang.org/favicon.ico",
-       html_root_url = "https://docs.rs/rand/0.5.1")]
+       html_root_url = "https://docs.rs/rand/0.5.2")]
 
 #![deny(missing_docs)]
 #![deny(missing_debug_implementations)]