diff --git a/CHANGES.md b/CHANGES.md
index b89bea64bd102289917398905feb548d18a84397..5336bfdb93c8b84ae035152d8107c7d159a58c17 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -4,7 +4,7 @@ moodle-auth_ldap_syncplus
 Changes
 -------
 
-### Unreleased
+### v3.4-r4
 
 * 2018-05-16 - Implement Privacy API.
 
diff --git a/version.php b/version.php
index 97f27672a33f8a3fb20ecc2d297e2c03424f2ced..4710b71ecfe7696d9997423f4689f1920423cd62 100644
--- a/version.php
+++ b/version.php
@@ -25,8 +25,8 @@
 defined('MOODLE_INTERNAL') || die();
 
 $plugin->component = 'auth_ldap_syncplus';
-$plugin->version = 2018051600;
-$plugin->release = 'v3.4-r3';
+$plugin->version = 2018051700;
+$plugin->release = 'v3.4-r4';
 $plugin->requires = 2017111300;
 $plugin->maturity = MATURITY_STABLE;
 $plugin->dependencies = array('auth_ldap' => 2017051500);