From 8097c7e75ce7ef0512debe9967d7568626106e53 Mon Sep 17 00:00:00 2001
From: Marijn Haverbeke <marijn@haverbeke.nl>
Date: Fri, 20 May 2016 21:00:19 +0200
Subject: [PATCH] Mark release 5.15.2

---
 CHANGELOG.md      | 6 ++++++
 doc/compress.html | 1 +
 doc/manual.html   | 2 +-
 doc/releases.html | 6 ++++++
 index.html        | 2 +-
 lib/codemirror.js | 2 +-
 package.json      | 2 +-
 7 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 562034a1..146af30e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,9 @@
+## 5.15.2 (2016-05-20)
+
+### Bugfixes
+
+Fix a critical document corruption bug that occurs when a document is gradually grown.
+
 ## 5.15.0 (2016-05-20)
 
 ### Bugfixes
diff --git a/doc/compress.html b/doc/compress.html
index 061c3c69..fe27e025 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.15.2;f=">5.15.2</option>
         <option value="http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=5.15.0;f=">5.15.0</option>
         <option value="http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=5.14.2;f=">5.14.2</option>
         <option value="http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=5.14.0;f=">5.14.0</option>
diff --git a/doc/manual.html b/doc/manual.html
index ab4810a4..3f898bd9 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.15.1</span>
+      <span style="color: #888; font-size: 1rem; position: absolute; right: 0; bottom: 0">version 5.15.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 587406b2..594298ef 100644
--- a/doc/releases.html
+++ b/doc/releases.html
@@ -30,6 +30,12 @@
 
   <h2>Version 5.x</h2>
 
+  <p class="rel">20-05-2016: <a href="http://codemirror.net/codemirror-5.15.2.zip">Version 5.15.2</a>:</p>
+
+  <ul class="rel-note">
+    <li>Fix a critical document corruption bug that occurs when a document is gradually grown.</li>
+  </ul>
+
   <p class="rel">20-05-2016: <a href="http://codemirror.net/codemirror-5.15.0.zip">Version 5.15.0</a>:</p>
 
   <ul class="rel-note">
diff --git a/index.html b/index.html
index eb8847f3..e9879269 100644
--- a/index.html
+++ b/index.html
@@ -96,7 +96,7 @@
       </div>
     </div>
     <div class=actionsleft>
-      Get the current version: <a href="http://codemirror.net/codemirror.zip">5.15.0</a>.<br>
+      Get the current version: <a href="http://codemirror.net/codemirror.zip">5.15.2</a>.<br>
       You can see the <a href="https://github.com/codemirror/codemirror" title="Github repository">code</a> or<br>
       read the <a href="doc/releases.html">release notes</a>.<br>
       There is a <a href="doc/compress.html">minification helper</a>.
diff --git a/lib/codemirror.js b/lib/codemirror.js
index 937ce05a..5439299b 100644
--- a/lib/codemirror.js
+++ b/lib/codemirror.js
@@ -8902,7 +8902,7 @@
 
   // THE END
 
-  CodeMirror.version = "5.15.1";
+  CodeMirror.version = "5.15.2";
 
   return CodeMirror;
 });
diff --git a/package.json b/package.json
index 58d703f1..3200d232 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
     "name": "codemirror",
-    "version":"5.15.1",
+    "version":"5.15.2",
     "main": "lib/codemirror.js",
     "description": "Full-featured in-browser code editor",
     "license": "MIT",
-- 
GitLab