diff --git a/CHANGES.md b/CHANGES.md
index 2aedc1bed7ec7a1c9d18835c2c1a34e4f0fde9dc..a4d80100dbc9fc033a140cfe34b84767132a5567 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -4,7 +4,7 @@ moodle-auth_ldap_syncplus
 Changes
 -------
 
-### Unreleased
+### v3.9-r1
 
 * 2020-09-18 - Prepare compatibility for Moodle 3.9.
 * 2020-02-26 - Added Behat tests.
diff --git a/version.php b/version.php
index db5cf3efd0e01088cf92e53f73ece338d4fde7b1..a96d515b28af9220bdd8c8fca2e0f47b84071480 100644
--- a/version.php
+++ b/version.php
@@ -25,8 +25,8 @@
 defined('MOODLE_INTERNAL') || die();
 
 $plugin->component = 'auth_ldap_syncplus';
-$plugin->version = 2020021900;
-$plugin->release = 'v3.8-r1';
+$plugin->version = 2020091800;
+$plugin->release = 'v3.9-r1';
 $plugin->requires = 2020061500;
 $plugin->maturity = MATURITY_STABLE;
 $plugin->dependencies = array('auth_ldap' => 2020061500);