From b695f230da7243bf8ff0d3d0771cd7f43f583162 Mon Sep 17 00:00:00 2001
From: Marijn Haverbeke <marijn@haverbeke.nl>
Date: Thu, 29 Jun 2017 15:02:44 +0200
Subject: [PATCH] Mark version 5.27.4

---
 AUTHORS           | 1 +
 CHANGELOG.md      | 8 ++++++++
 doc/manual.html   | 2 +-
 doc/releases.html | 7 +++++++
 index.html        | 2 +-
 package.json      | 2 +-
 src/edit/main.js  | 2 +-
 7 files changed, 20 insertions(+), 4 deletions(-)

diff --git a/AUTHORS b/AUTHORS
index 823dd8806..88e625bec 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -574,6 +574,7 @@ Shmuel Englard
 Shubham Jain
 Siamak Mokhtari
 silverwind
+Simon Edwards
 sinkuu
 snasa
 soliton4
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a9e3c0014..62b337e7c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,11 @@
+## 5.27.4 (2017-06-29)
+
+### Bug fixes
+
+Fix crash when using mode lookahead.
+
+[markdown mode](http://codemirror.net/mode/markdown/): Don't block inner mode's indentation support.
+
 ## 5.27.2 (2017-06-22)
 
 ### Bug fixes
diff --git a/doc/manual.html b/doc/manual.html
index 7f4a57026..e28e80129 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.27.3</span>
+      <span style="color: #888; font-size: 1rem; position: absolute; right: 0; bottom: 0">version 5.27.4</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 70e722ed8..15bd24e16 100644
--- a/doc/releases.html
+++ b/doc/releases.html
@@ -30,6 +30,13 @@
 
   <h2>Version 5.x</h2>
 
+  <p class="rel">29-06-2017: <a href="http://codemirror.net/codemirror-5.27.4.zip">Version 5.27.4</a>:</p>
+
+  <ul>
+    <li>Fix crash when using mode lookahead.</li>
+    <li><a href="http://codemirror.net/mode/markdown/">markdown mode</a>: Don't block inner mode's indentation support.</li>
+  </ul>
+
   <p class="rel">22-06-2017: <a href="http://codemirror.net/codemirror-5.27.2.zip">Version 5.27.2</a>:</p>
 
   <ul>
diff --git a/index.html b/index.html
index 19ae78ad9..baa0a33bf 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.27.2</a>.<br>
+      Get the current version: <a href="http://codemirror.net/codemirror.zip">5.27.4</a>.<br>
       You can see the <a href="https://github.com/codemirror/codemirror" title="Github repository">code</a>,<br>
       read the <a href="doc/releases.html">release notes</a>,<br>
       or study the <a href="doc/manual.html">user manual</a>.
diff --git a/package.json b/package.json
index c856e9dfa..159b94587 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "codemirror",
-  "version": "5.27.3",
+  "version": "5.27.4",
   "main": "lib/codemirror.js",
   "style": "lib/codemirror.css",
   "description": "Full-featured in-browser code editor",
diff --git a/src/edit/main.js b/src/edit/main.js
index ac62ebe91..c87aa33f5 100644
--- a/src/edit/main.js
+++ b/src/edit/main.js
@@ -66,4 +66,4 @@ import { addLegacyProps } from "./legacy"
 
 addLegacyProps(CodeMirror)
 
-CodeMirror.version = "5.27.3"
+CodeMirror.version = "5.27.4"
-- 
GitLab