diff --git a/AUTHORS b/AUTHORS
index c3680eb4d82ee8044553fcde6902352b251b464c..03b1ac5b0a49de87205e94614461e3a54e3fe0c5 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -212,6 +212,7 @@ Herculano Campos
 Hiroyuki Makino
 hitsthings
 Hocdoc
+Hugues Malphettes
 Ian Beck
 Ian Dickinson
 Ian Wehrman
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 60ec9df51bf701ece0637e4a6e7c149e77241966..b0a6ab57ff59563cbd40cffe9ca886d0e66e331a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,9 @@
+## 5.13.2 (2016-03-23)
+
+### Bugfixes
+
+Solves a problem where the gutter would sometimes not extend all the way to the end of the document.
+
 ## 5.13.0 (2016-03-21)
 
 ### New features
diff --git a/doc/compress.html b/doc/compress.html
index a0d4364a3e3b2bce49783f4de0840c28d85e9e1d..47d689429f4361a4e3a5559240f3950a67b006ff 100644
--- a/doc/compress.html
+++ b/doc/compress.html
@@ -36,6 +36,7 @@
       <input type="hidden" id="download" name="download" value="codemirror-compressed.js"/>
       <p>Version: <select id="version" onchange="setVersion(this);" style="padding: 1px;">
         <option value="http://codemirror.net/">HEAD</option>
+        <option value="http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=5.13.2;f=">5.13</option>
         <option value="http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=5.13.0;f=">5.13</option>
         <option value="http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=5.12.0;f=">5.12</option>
         <option value="http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=5.11.0;f=">5.11</option>
diff --git a/doc/manual.html b/doc/manual.html
index da2cc0bd3920c890dabcd711ea51c4c72c48759b..9642a11ada8ae546121c39289c7a97cace0f4e3f 100644
--- a/doc/manual.html
+++ b/doc/manual.html
@@ -69,7 +69,7 @@
 <section class=first id=overview>
     <h2 style="position: relative">
       User manual and reference guide
-      <span style="color: #888; font-size: 1rem; position: absolute; right: 0; bottom: 0">version 5.13.1</span>
+      <span style="color: #888; font-size: 1rem; position: absolute; right: 0; bottom: 0">version 5.13.2</span>
     </h2>
 
     <p>CodeMirror is a code-editor component that can be embedded in
diff --git a/doc/releases.html b/doc/releases.html
index f99334d2542f0fda1402d19dfc76ecb05dd471f6..99306b91cb3a86d0ee7c526df871892841d351e8 100644
--- a/doc/releases.html
+++ b/doc/releases.html
@@ -30,6 +30,12 @@
 
   <h2>Version 5.x</h2>
 
+  <p class="rel">21-03-2016: <a href="http://codemirror.net/codemirror-5.13.2.zip">Version 5.13.2</a>:</p>
+
+  <ul class="rel-note">
+    <li>Solves a problem where the gutter would sometimes not extend all the way to the end of the document.</li>
+  </ul>
+
   <p class="rel">21-03-2016: <a href="http://codemirror.net/codemirror-5.13.zip">Version 5.13</a>:</p>
 
   <ul class="rel-note">
diff --git a/lib/codemirror.js b/lib/codemirror.js
index d5a9e34000f9e47f77cb308dfea07e6379c8a08b..ec49e3a338063b58ab2fa4002e9a1b92212412ca 100644
--- a/lib/codemirror.js
+++ b/lib/codemirror.js
@@ -8889,7 +8889,7 @@
 
   // THE END
 
-  CodeMirror.version = "5.13.1";
+  CodeMirror.version = "5.13.2";
 
   return CodeMirror;
 });
diff --git a/package.json b/package.json
index 7d23ce0b258a8ea29206936dd4d577557e4d91cf..7440fd5b34e3515b8196005b4adf294d781b17e8 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
     "name": "codemirror",
-    "version":"5.13.1",
+    "version":"5.13.2",
     "main": "lib/codemirror.js",
     "description": "In-browser code editing made bearable",
     "license": "MIT",