diff --git a/doc/manual.html b/doc/manual.html
index 704984fc71b207a0369f80d7d972634f0977f445..98c160946fc09b3b4e54cdef650e4b059e515d39 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.22.0</span>
+      <span style="color: #888; font-size: 1rem; position: absolute; right: 0; bottom: 0">version 5.22.1</span>
     </h2>
 
     <p>CodeMirror is a code-editor component that can be embedded in
diff --git a/index.html b/index.html
index 06fdc1567f2a572b024f4083e53b3cd000abf28b..dd4b1ded05394e5661124ada975a17975e1c74c2 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.22.0</a>.<br>
+      Get the current version: <a href="http://codemirror.net/codemirror.zip">5.22.1</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 c007b2a87c00540878dc07a4afedcc738c0eeee5..0c565e9b2bb137714412ff22b21d2ca39571dfed 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "codemirror",
-  "version": "5.22.0",
+  "version": "5.22.1",
   "main": "lib/codemirror.js",
   "description": "Full-featured in-browser code editor",
   "license": "MIT",
diff --git a/src/edit/main.js b/src/edit/main.js
index 8da8f48e3abb18ad9f78697f666adf71d5802818..429cfe94e7f6f4264240b2fb8ff736fe456df064 100644
--- a/src/edit/main.js
+++ b/src/edit/main.js
@@ -66,4 +66,4 @@ import { addLegacyProps } from "./legacy"
 
 addLegacyProps(CodeMirror)
 
-CodeMirror.version = "5.22.0"
+CodeMirror.version = "5.22.1"