diff --git a/README.rst b/README.rst
index fd7fe23760203409e10ab752f41771b81ca9cbfc..7baaffa2bb8ef3c447dfa17dcbe58be2fbd683eb 100644
--- a/README.rst
+++ b/README.rst
@@ -43,7 +43,7 @@ which provides access to most API functionality.
 It works with Python 2.7, 3.3 and above, and supports MediaWiki 1.16 and above.
 For functions not available in the current MediaWiki, a ``MediaWikiVersionError`` is raised.
 
-The current stable `version 0.8.5 <https://github.com/mwclient/mwclient/archive/v0.8.5.zip>`_
+The current stable `version 0.8.6 <https://github.com/mwclient/mwclient/archive/v0.8.6.zip>`_
 was released on 18 May 2017, and is `available through PyPI <https://pypi.python.org/pypi/mwclient>`_:
 
 .. code-block:: console
diff --git a/mwclient/client.py b/mwclient/client.py
index 35c36c609f0cc1f4632eac17d25db03449e81893..a954fdf2ca2e93376076317cca120b5deb4d9cb2 100644
--- a/mwclient/client.py
+++ b/mwclient/client.py
@@ -24,7 +24,7 @@ try:
 except ImportError:
     gzip = None
 
-__ver__ = '0.8.5'
+__ver__ = '0.8.6'
 
 log = logging.getLogger(__name__)
 
diff --git a/setup.cfg b/setup.cfg
index 62d9b80cf5e46950c789e92f33ced8679622e335..a5f54e507141288d089f8fb009996f33bee0b835 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,11 +1,11 @@
-[aliases]
-test=pytest
-
 [bumpversion]
-current_version = 0.8.5
+current_version = 0.8.6
 commit = True
 tag = True
 
+[aliases]
+test = pytest
+
 [bumpversion:file:setup.py]
 
 [bumpversion:file:mwclient/client.py]
@@ -18,3 +18,4 @@ universal = 1
 [tool:pytest]
 pep8ignore = E501 W602
 addopts = -v --pep8 tests mwclient --cov mwclient
+
diff --git a/setup.py b/setup.py
index 385b142c394be5f78045b7ef6358784ec150e272..eca6c495e5d253fc557329ec19826641328147d3 100644
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,7 @@ here = os.path.abspath(os.path.dirname(__file__))
 README = open(os.path.join(here, 'README.rst')).read()
 
 setup(name='mwclient',
-      version='0.8.5',  # Use bumpversion to update
+      version='0.8.6',  # Use bumpversion to update
       description='MediaWiki API client',
       long_description=README,
       classifiers=[