diff --git a/HISTORY b/HISTORY
index acaf65f8..1dc8c23d 100644
--- a/HISTORY
+++ b/HISTORY
@@ -1,3 +1,7 @@
+5.2.0 2020-??-??
+ repmgr: improve database connection failure error checking on the
+ demotion candidate during "standby switchover" (Ian)
+
5.1.0 2020-04-13
repmgr: remove BDR 2.x support
repmgr: don't query upstream's data directory (Ian)
diff --git a/doc/appendix-release-notes.xml b/doc/appendix-release-notes.xml
index df3c9b8f..5e331ebf 100644
--- a/doc/appendix-release-notes.xml
+++ b/doc/appendix-release-notes.xml
@@ -17,6 +17,36 @@
+
+ Release 5.2.0
+ ??? ?? ???, 2020
+
+
+ &repmgr; 5.2.0 is a major release.
+
+
+
+ General improvements
+
+
+
+
+ repmgr standby switchover:
+ Improve sanity check failure log output from the demotion candidate.
+
+
+ If database connection configuration is not consistent across all nodes, it's
+ possible remote &repmgr; invocations (e.g. during switchover, from the promotion candidate
+ to the demotion candidate) will not be able to connect to the database. This will
+ now be explicitly reported as a database connection failure, rather than as a failure
+ of the respective sanity check.
+
+
+
+
+
+
+
Release 5.1.0Mon 13 April, 2020