Release 0.51.0.
diff --git a/CHANGELOG.md b/CHANGELOG.md
index caef640..a2932a2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,71 +9,75 @@
   - [Removed](#removed)
   - [Fixed](#fixed)
   - [Security](#security)
-- [0.50.0](#0500)
-  - [Added](#added-1)
-- [0.49.3](#0493)
-  - [Added](#added-2)
-- [0.49.2](#0492)
-  - [Changed](#changed-1)
-- [0.49.1](#0491)
+- [0.51.0](#0510)
   - [Fixed](#fixed-1)
-  - [Changed](#changed-2)
-- [0.49.0](#0490)
+  - [Changed](#changed-1)
+  - [Added](#added-1)
+- [0.50.0](#0500)
+  - [Added](#added-2)
+- [0.49.3](#0493)
   - [Added](#added-3)
+- [0.49.2](#0492)
+  - [Changed](#changed-2)
+- [0.49.1](#0491)
   - [Fixed](#fixed-2)
   - [Changed](#changed-3)
-- [0.48.1](#0481)
+- [0.49.0](#0490)
+  - [Added](#added-4)
   - [Fixed](#fixed-3)
-- [0.48.0](#0480)
   - [Changed](#changed-4)
+- [0.48.1](#0481)
   - [Fixed](#fixed-4)
-- [0.47.3](#0473)
+- [0.48.0](#0480)
   - [Changed](#changed-5)
-- [0.47.2](#0472)
   - [Fixed](#fixed-5)
-- [0.47.1](#0471)
+- [0.47.3](#0473)
   - [Changed](#changed-6)
+- [0.47.2](#0472)
   - [Fixed](#fixed-6)
-- [0.47.0](#0470)
+- [0.47.1](#0471)
   - [Changed](#changed-7)
   - [Fixed](#fixed-7)
-- [0.33.1 .. 0.46.0](#0331--0460)
-  - [Added](#added-4)
-  - [Removed](#removed-1)
+- [0.47.0](#0470)
   - [Changed](#changed-8)
   - [Fixed](#fixed-8)
-- [0.33.1](#0331)
-  - [Fixed](#fixed-9)
-- [0.33.0](#0330)
+- [0.33.1 .. 0.46.0](#0331--0460)
   - [Added](#added-5)
+  - [Removed](#removed-1)
   - [Changed](#changed-9)
-  - [Deprecated](#deprecated-1)
-  - [Removed](#removed-2)
+  - [Fixed](#fixed-9)
+- [0.33.1](#0331)
   - [Fixed](#fixed-10)
-  - [Security](#security-1)
-- [0.32.2](#0322)
-  - [Fixed](#fixed-11)
-- [0.32.1](#0321)
-  - [Fixed](#fixed-12)
-- [0.32.0](#0320)
+- [0.33.0](#0330)
   - [Added](#added-6)
   - [Changed](#changed-10)
+  - [Deprecated](#deprecated-1)
+  - [Removed](#removed-2)
+  - [Fixed](#fixed-11)
+  - [Security](#security-1)
+- [0.32.2](#0322)
+  - [Fixed](#fixed-12)
+- [0.32.1](#0321)
   - [Fixed](#fixed-13)
-- [0.31.0](#0310)
+- [0.32.0](#0320)
   - [Added](#added-7)
   - [Changed](#changed-11)
-  - [Deprecated](#deprecated-2)
-  - [Removed](#removed-3)
   - [Fixed](#fixed-14)
-- [0.30.0](#0300)
+- [0.31.0](#0310)
   - [Added](#added-8)
   - [Changed](#changed-12)
-  - [Deprecated](#deprecated-3)
+  - [Deprecated](#deprecated-2)
+  - [Removed](#removed-3)
   - [Fixed](#fixed-15)
-- [0.29.0](#0290)
+- [0.30.0](#0300)
   - [Added](#added-9)
   - [Changed](#changed-13)
+  - [Deprecated](#deprecated-3)
   - [Fixed](#fixed-16)
+- [0.29.0](#0290)
+  - [Added](#added-10)
+  - [Changed](#changed-14)
+  - [Fixed](#fixed-17)
 
 <!-- END doctoc generated TOC please keep comment here to allow auto update -->
 
@@ -109,6 +113,38 @@
 
 --------------------------------------------------------------------------------
 
+# 0.51.0
+
+Released 2019/07/26.
+
+## Fixed
+
+ * Improve workaround for LLVM stack overflow when evaluating value-dependent
+   expressions. [#1591][]
+
+ * Bindgen will properly detect the layout of incomplete arrays. [#1592][]
+
+ * Bindgen will properly detect the layout of empty unions and forward
+   declarations of unions. [#1593][] and [#1595][]. Thanks @pmarks!
+
+## Changed
+
+ * Refactored the way layout of `wchar_t` is computed. This is a breaking change
+   since `IntKind::WChar` (exposed in `ParseCallbacks`) no longer needs a `size`
+   member. [#1596][]
+
+## Added
+
+ * Bindgen now reads `RUSTFMT` in the environment to try to find a suitable
+   `rustfmt` binary. [#1602][]
+
+[#1591][]: https://github.com/rust-lang/rust-bindgen/issues/1591
+[#1592][]: https://github.com/rust-lang/rust-bindgen/issues/1592
+[#1593][]: https://github.com/rust-lang/rust-bindgen/issues/1593
+[#1595][]: https://github.com/rust-lang/rust-bindgen/issues/1595
+[#1596][]: https://github.com/rust-lang/rust-bindgen/issues/1596
+[#1602][]: https://github.com/rust-lang/rust-bindgen/issues/1602
+
 # 0.50.0
 
 Released 2019/07/01.
diff --git a/Cargo.lock b/Cargo.lock
index 9b5eec6..4ed75d1 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -49,7 +49,7 @@
 
 [[package]]
 name = "bindgen"
-version = "0.50.0"
+version = "0.51.0"
 dependencies = [
  "bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
  "cexpr 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
diff --git a/Cargo.toml b/Cargo.toml
index 0e27441..1f5abbc 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -14,7 +14,7 @@
 repository = "https://github.com/rust-lang/rust-bindgen"
 documentation = "https://docs.rs/bindgen"
 homepage = "https://rust-lang.github.io/rust-bindgen/"
-version = "0.50.0"
+version = "0.51.0"
 build = "build.rs"
 
 include = [