diff --git a/dev_requirements.txt b/dev_requirements.txt
index 78f0323ccc3e40c4f7ed0abd53b42e236c53f86e..2707c0ff930c51570c043e483049bc6bf19342d5 100644
--- a/dev_requirements.txt
+++ b/dev_requirements.txt
@@ -1 +1 @@
-python-ldap==2.4.15
+python-ldap==2.4.20
diff --git a/docs/conf.py b/docs/conf.py
index 1106fb9accfedbca3071c6cfc62bd01c79c1db16..2a46ad6c3e2402e528981c4b626a737168734091 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -56,16 +56,16 @@ master_doc = 'index'
 
 # General information about the project.
 project = u'Flask-SimpleLDAP'
-copyright = u'2014, Alexandre Ferland'
+copyright = u'2015, Alexandre Ferland'
 
 # The version info for the project you're documenting, acts as replacement for
 # |version| and |release|, also used in various other places throughout the
 # built documents.
 #
 # The short X.Y version.
-version = '0.3.0'
+version = '0.4.0'
 # The full version, including alpha/beta/rc tags.
-release = '0.3.0'
+release = '0.4.0'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
diff --git a/requirements.txt b/requirements.txt
index f61621249d8dc4b4ebd95638f41024efa5fb07d3..9ac950ef8dc44d9e6eb0dd89400878ac5239cd6a 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,2 +1,2 @@
 Flask==0.10.1
-mock==1.0.1
+mock==1.3.0